test/test_lualib_arraylist.c
// this function converts an int pointer
// to a lua numeric value
this function converts an int pointer
to a lua numeric value
this function converts an int pointer to a lua numeric value
void intptr_to_lua_number(lua_State *L, int index, void *data)
{
	int* x = (int*)data;
	lua_pushinteger(L, *x);
}
void intptr_to_lua_number ( lua_State * L , int index , void * data ) { int * x = ( int * ) data ; lua_pushinteger ( L , * x ) ; }
this function converts an int pointer
to a lua numeric value
this function converts an int pointer to a lua numeric value
//printf("setting value %d at %d\n", *x, index+1);