]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/tal.h
tal: allow notifiers on NULL.
[ccan] / ccan / tal / tal.h
index 54318e1fa116864ae5d00268b9d6c3144ba86eb3..865a696713c88d9243f64515200b49c7c164e554 100644 (file)
@@ -227,7 +227,7 @@ enum tal_notify_type {
 
 /**
  * tal_add_notifier - add a callback function when this context changes.
- * @ptr: The tal allocated object.
+ * @ptr: The tal allocated object, or NULL.
  * @types: Bitwise OR of the types the callback is interested in.
  * @callback: the function to call.
  *