Forward reference to enum type

This commit is contained in:
Andrew Johnson 2024-06-23 15:52:04 +03:00
parent 6d628d60e3
commit acc7758335

View file

@ -209,7 +209,7 @@ typedef enum {
JS_GC_PHASE_REMOVE_CYCLES,
} JSGCPhaseEnum;
typedef enum OPCodeEnum OPCodeEnum;
__extension__ typedef enum OPCodeEnum OPCodeEnum;
struct JSRuntime {
JSMallocFunctions mf;