Update raylib_parser.c
This commit is contained in:
parent
2ce0722fb8
commit
273c780b67
1 changed files with 6 additions and 7 deletions
|
@ -47,7 +47,6 @@
|
||||||
OTHER NOTES:
|
OTHER NOTES:
|
||||||
|
|
||||||
- This parser could work with other C header files if mentioned constraints are followed.
|
- 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.
|
- This parser does not require <string.h> library, all data is parsed directly from char buffers.
|
||||||
|
|
||||||
LICENSE: zlib/libpng
|
LICENSE: zlib/libpng
|
||||||
|
@ -103,11 +102,11 @@ typedef enum {
|
||||||
|
|
||||||
// Define info data
|
// Define info data
|
||||||
typedef struct DefineInfo {
|
typedef struct DefineInfo {
|
||||||
char name[64]; // Define name
|
char name[64]; // Define name
|
||||||
DefineType type; // Define type
|
int type; // Define type
|
||||||
char value[256]; // Define value
|
char value[256]; // Define value
|
||||||
char desc[128]; // Define description
|
char desc[128]; // Define description
|
||||||
bool isHex; // Define is hex number (for types INT, LONG)
|
bool isHex; // Define is hex number (for types INT, LONG)
|
||||||
} DefineInfo;
|
} DefineInfo;
|
||||||
|
|
||||||
// Struct info data
|
// Struct info data
|
||||||
|
@ -1066,7 +1065,7 @@ static void ShowCommandLineInfo(void)
|
||||||
printf("// //\n");
|
printf("// //\n");
|
||||||
printf("// more info and bugs-report: github.com/raysan5/raylib/parser //\n");
|
printf("// more info and bugs-report: github.com/raysan5/raylib/parser //\n");
|
||||||
printf("// //\n");
|
printf("// //\n");
|
||||||
printf("// Copyright (c) 2021 Ramon Santamaria (@raysan5) //\n");
|
printf("// Copyright (c) 2021-2022 Ramon Santamaria (@raysan5) //\n");
|
||||||
printf("// //\n");
|
printf("// //\n");
|
||||||
printf("//////////////////////////////////////////////////////////////////////////////////\n\n");
|
printf("//////////////////////////////////////////////////////////////////////////////////\n\n");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue