lua-users home
lua-l archive

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


--- Hisham Muhammad <hisham.hm@gmail.com> wrote:
> Yes, but connecting these two we conclude that,
> since the io library
> exposes its FILE pointers, then C modules should be
> built with the
> same C runtime library as the Lua io library -- ie,
> the answer to
> Scuri's question (whether we could be restricted to
> an environment
> where the constrains he listed would hold) is "no".
> 
Only if one wants to share these things between
modules. But not not many modules need to.

I am testing this with my xyssl binding with static
link C library, using the windows socket handle passed
by luasocket(s:getfd(), which at the moment is using
VCRT.DLL) and it works. This is because I am only
passing around the raw window handle(not the C runtime
wrapped one).


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com