-
Notifications
You must be signed in to change notification settings - Fork 28
Primitive Types
davidsiaw edited this page Sep 27, 2014
·
1 revision
These are the types that you can pass back and forth freely between Lua and C++. You can assign values of these types to tables, return values of these types from functions, pass values of these types to functions, and even use them yourselves. The possibilities are endless.
Oh notice there is no null? Surprise! I Don't Like NULL.
LuaTable
LuaCoroutine
LuaFunction
LuaUserdata
float
double
bool
signed char
unsigned char
short
unsigned short
int
unsigned int
long
unsigned long
long long
unsigned long long
char*
const char*
std::string
std::wstring