Using hex in Lua scripts

Started by
10 comments, last by Maega 21 years, 3 months ago
One of the best ways to understand how to interface lua and C is to look at the lua libraries (all the files in the src/lib directory). They provide good examples of how to interface efficiently and show how various lua tools are "supposed" to be used.

Don''t listen to me. I''ve had too much coffee.
Advertisement
Well lagged double post =P

Anyway.. I haven''t tried it yet, but what I did try was pulling DWORD * from lua_touserdata, and then dereferencing them to get the value ( *variable), but it still died..

so I guess I''ll HAVE to understand how to do what Sneftel said

This topic is closed to new replies.

Advertisement