summaryrefslogtreecommitdiffhomepage
path: root/parser
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 21:05:31 +0200
committerGitHub <[email protected]>2022-08-02 21:05:31 +0200
commit273c780b6727752345163cef907435c2b8e841b1 (patch)
tree3ec597e1b09efb7788bee0db6b0fe4acd06c15a0 /parser
parent2ce0722fb8b0b175551c4a3c5fdf64761887964f (diff)
downloadraylib-273c780b6727752345163cef907435c2b8e841b1.tar.gz
raylib-273c780b6727752345163cef907435c2b8e841b1.zip
Update raylib_parser.c
Diffstat (limited to 'parser')
-rw-r--r--parser/raylib_parser.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/parser/raylib_parser.c b/parser/raylib_parser.c
index 00751747..6369126f 100644
--- a/parser/raylib_parser.c
+++ b/parser/raylib_parser.c
@@ -47,7 +47,6 @@
OTHER NOTES:
- This parser could work with other C header files if mentioned constraints are followed.
-
- This parser does not require <string.h> library, all data is parsed directly from char buffers.
LICENSE: zlib/libpng
@@ -103,11 +102,11 @@ typedef enum {
// Define info data
typedef struct DefineInfo {
- char name[64]; // Define name
- DefineType type; // Define type
- char value[256]; // Define value
- char desc[128]; // Define description
- bool isHex; // Define is hex number (for types INT, LONG)
+ char name[64]; // Define name
+ int type; // Define type
+ char value[256]; // Define value
+ char desc[128]; // Define description
+ bool isHex; // Define is hex number (for types INT, LONG)
} DefineInfo;
// Struct info data
@@ -1066,7 +1065,7 @@ static void ShowCommandLineInfo(void)
printf("// //\n");
printf("// more info and bugs-report: github.com/raysan5/raylib/parser //\n");
printf("// //\n");
- printf("// Copyright (c) 2021 Ramon Santamaria (@raysan5) //\n");
+ printf("// Copyright (c) 2021-2022 Ramon Santamaria (@raysan5) //\n");
printf("// //\n");
printf("//////////////////////////////////////////////////////////////////////////////////\n\n");