src/t_enc_crc.c
struct t_enc_crc
*t_enc_crc_check_ud( lua_State *L, int pos, int check )
{
	void *ud = luaL_testudata( L, pos, T_ENC_CRC_TYPE );
	if (NULL == ud && check) t_typeerror( L , pos, T_ENC_CRC_TYPE );
	return (NULL==ud) ? NULL : (struct t_enc_crc *) ud;
}
/**--------------------------------------------------------------------------
 * Check a value on the stack for being a struct t_enc_crc
 * \param   L        The Lua state.
 * \param   int      position on the stack
 * \return  struct t_enc_crc*
 * --------------------------------------------------------------------------*/
Check a value on the stack for being a struct t_enc_crc
\param   L        The Lua state.
\param   int      position on the stack
\return  struct t_enc_crc
Check a value on the stack for being a struct t_enc_crc \ param L The Lua state . \ param int position on the stack \ return struct t_enc_crc
struct t_enc_crc
*t_enc_crc_check_ud( lua_State *L, int pos, int check )
{
	void *ud = luaL_testudata( L, pos, T_ENC_CRC_TYPE );
	if (NULL == ud && check) t_typeerror( L , pos, T_ENC_CRC_TYPE );
	return (NULL==ud) ? NULL : (struct t_enc_crc *) ud;
}
struct t_enc_crc * t_enc_crc_check_ud ( lua_State * L , int pos , int check ) { void * ud = luaL_testudata ( L , pos , T_ENC_CRC_TYPE ) ; if ( NULL == ud && check ) t_typeerror ( L , pos , T_ENC_CRC_TYPE ) ; return ( NULL == ud ) ? NULL : ( struct t_enc_crc * ) ud ; }
Check a value on the stack for being a struct t_enc_crc
 \param   L        The Lua state.
Check a value on the stack for being a struct t_enc_crc \ param L The Lua state .