Skip to content

Commit 1b09838

Browse files
committed
fix: Remove duplicate ObjType typedef causing CI build errors
- Removed forward declaration 'typedef enum ObjType ObjType;' from common.h - This was causing typedef redefinition errors in C11 strict mode - The enum is properly defined in object.h - Fixes build failures on Ubuntu, Windows, and macOS CI platforms
1 parent 7014811 commit 1b09838

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

include/common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ typedef struct Obj Obj;
5252
typedef struct ObjString ObjString;
5353
typedef struct ObjFunction ObjFunction;
5454
typedef struct ObjNative ObjNative;
55-
typedef enum ObjType ObjType;
5655
typedef struct Table Table;
5756
typedef struct Entry Entry;
5857
typedef struct ValueArray ValueArray;

0 commit comments

Comments
 (0)