header_macro_clashes.c 478 B

1234567891011121314151617181920212223242526
  1. /*
  2. We want to limit the amount of macros defined by including hl headers.
  3. */
  4. #define HLC_BOOT /* Enables some undefs in hlc.h */
  5. #include <hl.h>
  6. #include <hlc.h>
  7. #include "check.h"
  8. /* check before and after including hlc_main.c */
  9. #include <hlc_main.c>
  10. #include "check.h"
  11. /* Required by hlc.h */
  12. void* hlc_static_call(void *fun, hl_type *t, void **args, vdynamic *out) {
  13. return NULL;
  14. }
  15. void* hlc_get_wrapper( hl_type* type ) {
  16. return NULL;
  17. }
  18. void hl_entry_point() {}