Lisp HUG Maillist Archive

FLI question

Hello,

is it possible to specify somehow the initial contents for a FLI structure as 
in the example :

(fli:define-c-struct POS
  (x :int)
  (y :int)
  (z :int))

(setq my-pos (fli:allocate-foreign-object :type 'POS :inital-contents ?????))

Thanks and with best regards


Updated at: 2020-12-10 09:00 UTC