Source

/* this is a generated file, see gen.lua */#include <lua.h>#include <libusb.h>enumlibusb_class_codeluausb_to_class_code(lua_State*L,intindex);intluausb_is_class_code(lua_State*L,intindex);enumlibusb_class_codeluausb_check_class_code(lua_State*L,intnarg);enumlibusb_class_codeluausb_opt_class_code(lua_State*L,intnarg,enumlibusb_class_coded);enumlibusb_descriptor_typeluausb_to_descriptor_type(lua_State*L,intindex);intluausb_is_descriptor_type(lua_State*L,intindex);enumlibusb_descriptor_typeluausb_check_descriptor_type(lua_State*L,intnarg);enumlibusb_descriptor_typeluausb_opt_descriptor_type(lua_State*L,intnarg,enumlibusb_descriptor_typed);enumlibusb_endpoint_directionluausb_to_endpoint_direction(lua_State*L,intindex);intluausb_is_endpoint_direction(lua_State*L,intindex);enumlibusb_endpoint_directionluausb_check_endpoint_direction(lua_State*L,intnarg);enumlibusb_endpoint_directionluausb_opt_endpoint_direction(lua_State*L,intnarg,enumlibusb_endpoint_directiond);enumlibusb_transfer_typeluausb_to_transfer_type(lua_State*L,intindex);intluausb_is_transfer_type(lua_State*L,intindex);enumlibusb_transfer_typeluausb_check_transfer_type(lua_State*L,intnarg);enumlibusb_transfer_typeluausb_opt_transfer_type(lua_State*L,intnarg,enumlibusb_transfer_typed);enumlibusb_iso_sync_typeluausb_to_iso_sync_type(lua_State*L,intindex);intluausb_is_iso_sync_type(lua_State*L,intindex);enumlibusb_iso_sync_typeluausb_check_iso_sync_type(lua_State*L,intnarg);enumlibusb_iso_sync_typeluausb_opt_iso_sync_type(lua_State*L,intnarg,enumlibusb_iso_sync_typed);enumlibusb_iso_usage_typeluausb_to_iso_usage_type(lua_State*L,intindex);intluausb_is_iso_usage_type(lua_State*L,intindex);enumlibusb_iso_usage_typeluausb_check_iso_usage_type(lua_State*L,intnarg);enumlibusb_iso_usage_typeluausb_opt_iso_usage_type(lua_State*L,intnarg,enumlibusb_iso_usage_typed);enumlibusb_standard_requestluausb_to_standard_request(lua_State*L,intindex);intluausb_is_standard_request(lua_State*L,intindex);enumlibusb_standard_requestluausb_check_standard_request(lua_State*L,intnarg);enumlibusb_standard_requestluausb_opt_standard_request(lua_State*L,intnarg,enumlibusb_standard_requestd);enumlibusb_request_typeluausb_to_request_type(lua_State*L,intindex);intluausb_is_request_type(lua_State*L,intindex);enumlibusb_request_typeluausb_check_request_type(lua_State*L,intnarg);enumlibusb_request_typeluausb_opt_request_type(lua_State*L,intnarg,enumlibusb_request_typed);enumlibusb_request_recipientluausb_to_request_recipient(lua_State*L,intindex);intluausb_is_request_recipient(lua_State*L,intindex);enumlibusb_request_recipientluausb_check_request_recipient(lua_State*L,intnarg);enumlibusb_request_recipientluausb_opt_request_recipient(lua_State*L,intnarg,enumlibusb_request_recipientd);enumlibusb_errorluausb_to_error(lua_State*L,intindex);intluausb_is_error(lua_State*L,intindex);enumlibusb_errorluausb_check_error(lua_State*L,intnarg);enumlibusb_errorluausb_opt_error(lua_State*L,intnarg,enumlibusb_errord);enumlibusb_transfer_statusluausb_to_transfer_status(lua_State*L,intindex);intluausb_is_transfer_status(lua_State*L,intindex);enumlibusb_transfer_statusluausb_check_transfer_status(lua_State*L,intnarg);enumlibusb_transfer_statusluausb_opt_transfer_status(lua_State*L,intnarg,enumlibusb_transfer_statusd);voidluausb_init_enums(lua_State*L);