29#ifdef BUILDING_T5_NATIVE_DLL
31#define T5_EXPORT __attribute__((dllexport))
33#define T5_EXPORT __declspec(dllexport)
39#define T5_EXPORT __attribute__((visibility("default")))
54#define T5_SUCCESS (0x0000)
57#define T5_TIMEOUT (0x0001)
63#define T5_ERROR_NO_CONTEXT (0x1000)
66#define T5_ERROR_NO_LIBRARY (0x1001)
69#define T5_ERROR_INTERNAL (0x1002)
72#define T5_ERROR_NO_SERVICE (0x1003)
75#define T5_ERROR_IO_FAILURE (0x1004)
78#define T5_ERROR_REQUEST_ID_UNKNOWN (0x1005)
81#define T5_ERROR_INVALID_ARGS (0x1006)
84#define T5_ERROR_DEVICE_LOST (0x1007)
87#define T5_ERROR_TARGET_NOT_FOUND (0x1008)
90#define T5_ERROR_INVALID_STATE (0x1009)
93#define T5_ERROR_SETTING_UNKNOWN (0x100A)
96#define T5_ERROR_SETTING_WRONG_TYPE (0x100B)
99#define T5_ERROR_MISC_REMOTE (0x100C)
102#define T5_ERROR_OVERFLOW (0x100D)
105#define T5_ERROR_GRAPHICS_API_UNAVAILABLE (0x100E)
108#define T5_ERROR_UNSUPPORTED (0x100F)
111#define T5_ERROR_DECODE_ERROR (0x1010)
114#define T5_ERROR_INVALID_GFX_CONTEXT (0x1011)
117#define T5_ERROR_GFX_CONTEXT_INIT_FAIL (0x1012)
120#define T5_ERROR_TRY_AGAIN (0x1015)
123#define T5_ERROR_UNAVAILABLE (0x1016)
126#define T5_ERROR_ALREADY_CONNECTED (0x1017)
129#define T5_ERROR_NOT_CONNECTED (0x1018)
132#define T5_ERROR_STRING_OVERFLOW (0x1019)
135#define T5_ERROR_SERVICE_INCOMPATIBLE (0x101A)
138#define T5_PERMISSION_DENIED (0x101B)
141#define T5_ERROR_INVALID_BUFFER_SIZE (0x101C)
144#define T5_ERROR_INVALID_GEOMETRY (0x101D)
147#define T5_MAX_ERROR (0x8000)
uint32_t T5_Result
Represents an error code that may be returned by the Tilt Fiveā¢ API.
T5_EXPORT const char * t5GetResultMessage(T5_Result result)