Package: glib
Type glib:slist-t
Details The g:slist-t type specifier represents a C singly linked list with elements of the GSList structure. The g:slist-t type specifier performs automatic conversion from a C
list to a Lisp list. The elements of the list can be pointers, strings or
GObjects. Examples(cffi:convert-to-foreign (list "a" "b" "c") '(g:slist-t :string)) => #.(SB-SYS:INT-SAP #X03B92220) (cffi:convert-from-foreign * '(g:slist-t :string)) => ("a" "b" "c") | See also |
2024-10-12