Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.6 KiB

  1. #define gh_append2(a, b) scm_append(scm_listify(a, b, SCM_UNDEFINED))
  2. #define gh_apply(a, b) scm_apply(a, b, SCM_EOL)
  3. #define gh_bool2scm SCM_BOOL
  4. #define gh_boolean_p SCM_BOOLP
  5. #define gh_car SCM_CAR
  6. #define gh_cdr SCM_CDR
  7. #define gh_cons scm_cons
  8. #define gh_double2scm scm_make_real
  9. #define gh_int2scm scm_long2num
  10. #define gh_length(lst) scm_num2ulong(scm_length(lst), SCM_ARG1, FUNC_NAME)
  11. #define gh_list scm_listify
  12. #define gh_list_to_vector scm_vector
  13. #define gh_make_vector scm_make_vector
  14. #define gh_null_p SCM_NULLP
  15. #define gh_number_p SCM_NUMBERP
  16. #define gh_pair_p SCM_CONSP
  17. #define gh_scm2bool SCM_NFALSEP
  18. #define gh_scm2char SCM_CHAR
  19. #define gh_scm2double(a) scm_num2dbl(a, FUNC_NAME)
  20. #define gh_scm2int(a) scm_num2int(a, SCM_ARG1, FUNC_NAME)
  21. #define gh_scm2long(a) scm_num2long(a, SCM_ARG1, FUNC_NAME)
  22. #define gh_scm2short(a) scm_num2short(a, SCM_ARG1, FUNC_NAME)
  23. #define gh_scm2newstr SWIG_Guile_scm2newstr
  24. #define gh_scm2ulong(a) scm_num2ulong(a, SCM_ARG1, FUNC_NAME)
  25. #define gh_scm2ushort(a) scm_num2ushort(a, SCM_ARG1, FUNC_NAME)
  26. #define gh_scm2uint(a) scm_num2uint(a, SCM_ARG1, FUNC_NAME)
  27. #define gh_ulong2scm scm_ulong2num
  28. #define gh_long2scm scm_long2num
  29. #define gh_str02scm scm_makfrom0str
  30. #define gh_long_long2scm scm_long_long2num
  31. #define gh_scm2long_long(a) scm_num2long_long(a, SCM_ARG1, FUNC_NAME)
  32. #define gh_ulong_long2scm scm_ulong_long2num
  33. #define gh_scm2ulong_long(a) scm_num2ulong_long(a, SCM_ARG1, FUNC_NAME)
  34. #define gh_string_p SCM_STRINGP
  35. #define gh_vector_length SCM_VECTOR_LENGTH
  36. #define gh_vector_p SCM_VECTORP
  37. #define gh_vector_ref scm_vector_ref
  38. #define gh_vector_set_x scm_vector_set_x
  39. #define gh_char2scm SCM_MAKE_CHAR