src/t_enc_crc.c
struct t_enc_crc
*t_enc_crc_create_ud( lua_State *L )
{
	struct t_enc_crc *crc;

	crc = (struct t_enc_crc *) lua_newuserdata( L, sizeof( struct t_enc_crc ) );
	luaL_getmetatable( L, T_ENC_CRC_TYPE );
	lua_setmetatable( L, -2 );
	return crc;
}
/**--------------------------------------------------------------------------
 * Create a crc encode userdata and push to LuaStack.
 * \param   L  The Lua state.
 * \return  struct t_enc_crc*  pointer
 * --------------------------------------------------------------------------*/
Create a crc encode userdata and push to LuaStack.
\param   L  The Lua state.
\return  struct t_enc_crc*  pointer
Create a crc encode userdata and push to LuaStack . \ param L The Lua state . \ return struct t_enc_crc * pointer
struct t_enc_crc
*t_enc_crc_create_ud( lua_State *L )
{
	struct t_enc_crc *crc;
	crc = (struct t_enc_crc *) lua_newuserdata( L, sizeof( struct t_enc_crc ) );
	luaL_getmetatable( L, T_ENC_CRC_TYPE );
	lua_setmetatable( L, -2 );
	return crc;
}
struct t_enc_crc * t_enc_crc_create_ud ( lua_State * L ) { struct t_enc_crc * crc ; crc = ( struct t_enc_crc * ) lua_newuserdata ( L , sizeof ( struct t_enc_crc ) ) ; luaL_getmetatable ( L , T_ENC_CRC_TYPE ) ; lua_setmetatable ( L , -2 ) ; return crc ; }
Create a crc encode userdata and push to LuaStack.
Create a crc encode userdata and push to LuaStack .