lib/czmq-ffi-gen/czmq/ffi/zactor.rb in czmq-ffi-gen-0.14.1 vs lib/czmq-ffi-gen/czmq/ffi/zactor.rb in czmq-ffi-gen-0.15.0

- old
+ new

@@ -93,11 +93,11 @@ # Create a new callback of the following type: # Function to be called on zactor_destroy. Default behavior is to send zmsg_t with string "$TERM" in a first frame. # # An example - to send $KTHXBAI string # - # if (zstr_send (self->pipe, "$KTHXBAI") == 0) - # zsock_wait (self->pipe); + # if (zstr_send (self, "$KTHXBAI") == 0) + # zsock_wait (self); # typedef void (zactor_destructor_fn) ( # zactor_t *self); # # @note WARNING: If your Ruby code doesn't retain a reference to the # FFI::Function object after passing it to a C function call,