lua-users home
lua-l archive

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


Yeah..

I got a million different suggestions lol :)

Um.. Im doing the general

lua_register(luaVM, "WriteByte", l_WriteByte)

and calling it in the script as

WriteByte(0x453121, 15) <---made up hex


That doesn't seem wrong.

BTW.. Ive always used the c style cast.. dunno why :). Less to type hehe :)

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*. http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_virusprotection_3mf