luat_types.h 369 B

12345678910111213141516171819202122232425
  1. #ifndef LUAT_TYPES_H
  2. #define LUAT_TYPES_H
  3. #ifndef LUAT_RET
  4. #define LUAT_RET int
  5. #endif
  6. #ifndef LUAT_RT_RET_TYPE
  7. #define LUAT_RT_RET_TYPE void
  8. #endif
  9. #ifndef LUAT_RT_CB_PARAM
  10. #define LUAT_RT_CB_PARAM void *param
  11. #endif
  12. enum {
  13. LUAT_ERR_OK = (0) ,
  14. LUAT_ERR_FAIL = (-1),
  15. LUAT_TRUE = (1) ,
  16. LUAT_FALSE = (0) ,
  17. LUAT_NULL = (0)
  18. };
  19. #endif