Package: glib

Type g-strv

Details

This type represents and performs automatic conversion between a list of Lisp strings and an array of C strings of the g-string type.

Example

(setq str (convert-to-foreign (list "Hello" "World") 'g-strv))
=> #.(SB-SYS:INT-SAP #X01541998)
(convert-from-foreign str 'g-strv)
=> ("Hello" "World")    
 

See also

2021-12-10