lua-users home
lua-l archive

Re: how to make a string outlive the invocation of a C function?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Asko Kauppi wrote:
How about storing the ident string on the Lua side as an upvalue, and feeding it separately to C side functions that could be in need of it? I could throw in some sample code, but would need to see more of your syslog API. May I?
-asko
Sure,
http://luaforge.net/projects/lsyslog/
--
Mit freundlichen Grüßen
Jesus Ruiz de Infante
(Entwicklung)
HALE electronic GmbH
Eugen-Müller-Straße 18, 5020 Salzburg, Austria
Tel: +43 (662) 439011 0
Fax: +43 (662) 439011 9
jesus.ruizdeinfante@hale.at
Firmenbuchnummer: FN 66801m HG Salzburg
--
Scanned by MailScanner.

AltStyle によって変換されたページ (->オリジナル) /