You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we want to pass in a C-allocated array, we have to use :pointer as the type in sbcl-librarian:define-api and then manually reinterpret that pointer as a lisp list.
It would be convenient if we supported a type such as e.g. (:list :int) which would automatically do the unpacking before handing the list to the associated Lisp function.
The text was updated successfully, but these errors were encountered:
When we want to pass in a C-allocated array, we have to use
:pointer
as the type insbcl-librarian:define-api
and then manually reinterpret that pointer as a lisp list.It would be convenient if we supported a type such as e.g.
(:list :int)
which would automatically do the unpacking before handing the list to the associated Lisp function.The text was updated successfully, but these errors were encountered: