Package: gio
Type gio:file-as-namestring
Details      The g:file-as-namestring type specifier represents and performs    automatic conversion between a Lisp namestring and a g:file object
    for files on a virtual file system.    A Lisp namestring or pathname is converted to the corresponding g:file  object using the g:file-parse-name function. The conversion from a  g:file object back to a Lisp namestring is done with the  g:file-get-parse-name function. The nil value is converted to a foreign (cffi:null-pointer) value and vice versa. Examples(setf path "/home/lisp/github/glib/gio/gio.file.lisp") => "/home/lisp/github/glib/gio/gio.file.lisp" (cffi:convert-to-foreign path 'g:file-as-namestring) => #.(SB-SYS:INT-SAP #X60BCAD6BD5B0) (cffi:convert-from-foreign * 'g:file-as-namestring) => "/home/lisp/github/glib/gio/gio.file.lisp" (cffi:convert-to-foreign nil 'g:file-as-namestring) => #.(SB-SYS:INT-SAP #X00000000) (cffi:convert-from-foreign * 'g:file-as-namestring) => NIL  | See also | 
2025-09-22