lua-users home
lua-l archive

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


Could someone please confirm me the method names used by 4.0 and 5.0 beta.

Would be needed for LuaCheia / gluax work, if you care to know.

-ak


//----
// Event names differ by Lua engine version:
//
//		GluaX:		Lua 4.0:		Lua 5.0:
//
//		"add"		"add"			"__add"
//		"sub"		"sub"			"__sub"
//		"mul"		"mul"			"__mul"
//		"div"		"div"			"__div"
//		"pow"		"pow"			"__pow"
//		"unm"		"unm"			"__unm"
//		"lt"		"lt"			"__lt"
//		"le"		(none)			"__le"		(*
//		"concat"	"concat"		"__concat"
//
//		"index"		"index"			"__index"
//		"newindex"	"settable"?		"__newindex"
//		"gettable"	"gettable"		"__index"?
//		"settable"	"settable"		"__newindex"?
//
//		"call"		"function"		"__call"
//		"function"	"function"		"__call"
//		"gc"		"gc"			"__gc"
//


###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.