tromey / emacs-ffi

FFI for Emacs
99 stars 17 forks source link

cif gc issue #4

Open tromey opened 8 years ago

tromey commented 8 years ago

A CIF has to keep alive the types used to make it.

One way would be to just deep-copy at the CIF creation time. Another way would be some kind of internal hash table and reference counting.