Closed shwina closed 3 years ago
Making this change would affect the semantics of the EZMQ_EXTRACT_OBJ
macro which expects an error to be raised by ezmq_extract_obj
if the val
argument is nil
or not a valid ZMQ object type.
I've gone ahead and fixed the issue in 38dc6c4119aee57666caf8f97c8a3d7f678823e0. Thanks for the pull request.
Thanks!
ezmq_extract_obj
fails when the object can benil
.For example, when
ezmq_proxy
is invoked without a third argument, or equivalently, withnil
as its third argument, as in(zmq-proxy frontend backend nil)
, we get:This PR makes it so that
ezmq_extract_obj
returnsNULL
when the Lisp object isnil
.