From: Jocelyn <li...@dj...> - 2008-04-16 12:07:12
|
You might be interested in the article on Eiffelroom: http://www.eiffelroom.com/article/protecting_objects And my guess is also that you should use eif_access. -- Jocelyn On 4/16/2008 14:00 PM, Eric Bezault wrote: > Berend de Boer wrote: > >> =========================foo_c.c========================= >> #include "foo_c.h" >> >> EIF_REFERENCE signal_object; >> void (*signal_callback)(EIF_REFERENCE, EIF_INTEGER_32); >> >> void foo_c() >> { >> (signal_callback) (eif_adopt(signal_object), 1); >> } >> > > My guess is that you should use `eif_access' (and not > `eif_adopt'). Manu, can you confirm? > > |