-
-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JSON serialization for auto_override/toggle components
Summary: This diff fixes an issue where components with the `auto_override` and/or `toggle` flags weren't correctly serialized to JSON. Differential Revision: D64616203
- Loading branch information
1 parent
ba608b2
commit 072be46
Showing
8 changed files
with
306 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
/* | ||
) | ||
(.) | ||
.|. | ||
| | | ||
_.--| |--._ | ||
.-'; ;`-'& ; `&. | ||
\ & ; & &_/ | ||
|"""---...---"""| | ||
\ | | | | | | | / | ||
`---.|.|.|.---' | ||
* This file is generated by bake.lang.c for your convenience. Headers of | ||
* dependencies will automatically show up in this file. Include bake_config.h | ||
* in your main project file. Do not edit! */ | ||
|
||
#ifndef FLECS_BAKE_CONFIG_H | ||
#define FLECS_BAKE_CONFIG_H | ||
|
||
/* Headers of public dependencies */ | ||
/* No dependencies */ | ||
|
||
/* Convenience macro for exporting symbols */ | ||
#ifndef flecs_STATIC | ||
#if defined(flecs_EXPORTS) && (defined(_MSC_VER) || defined(__MINGW32__)) | ||
#define FLECS_API __declspec(dllexport) | ||
#elif defined(flecs_EXPORTS) | ||
#define FLECS_API __attribute__((__visibility__("default"))) | ||
#elif defined(_MSC_VER) | ||
#define FLECS_API __declspec(dllimport) | ||
#else | ||
#define FLECS_API | ||
#endif | ||
#else | ||
#define FLECS_API | ||
#endif | ||
|
||
#endif | ||
|
||
/* | ||
) | ||
(.) | ||
.|. | ||
| | | ||
_.--| |--._ | ||
.-'; ;`-'& ; `&. | ||
\ & ; & &_/ | ||
|"""---...---"""| | ||
\ | | | | | | | / | ||
`---.|.|.|.---' | ||
* This file is generated by bake.lang.c for your convenience. Headers of | ||
* dependencies will automatically show up in this file. Include bake_config.h | ||
* in your main project file. Do not edit! */ | ||
|
||
#ifndef FLECS_BAKE_CONFIG_H | ||
#define FLECS_BAKE_CONFIG_H | ||
|
||
/* Headers of public dependencies */ | ||
/* No dependencies */ | ||
|
||
/* Convenience macro for exporting symbols */ | ||
#ifndef flecs_STATIC | ||
#if defined(flecs_EXPORTS) && (defined(_MSC_VER) || defined(__MINGW32__)) | ||
#define FLECS_API __declspec(dllexport) | ||
#elif defined(flecs_EXPORTS) | ||
#define FLECS_API __attribute__((__visibility__("default"))) | ||
#elif defined(_MSC_VER) | ||
#define FLECS_API __declspec(dllimport) | ||
#else | ||
#define FLECS_API | ||
#endif | ||
#else | ||
#define FLECS_API | ||
#endif | ||
|
||
#endif | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
/* | ||
) | ||
(.) | ||
.|. | ||
| | | ||
_.--| |--._ | ||
.-'; ;`-'& ; `&. | ||
\ & ; & &_/ | ||
|"""---...---"""| | ||
\ | | | | | | | / | ||
`---.|.|.|.---' | ||
* This file is generated by bake.lang.c for your convenience. Headers of | ||
* dependencies will automatically show up in this file. Include bake_config.h | ||
* in your main project file. Do not edit! */ | ||
|
||
#ifndef META_BAKE_CONFIG_H | ||
#define META_BAKE_CONFIG_H | ||
|
||
/* Headers of public dependencies */ | ||
#include <flecs.h> | ||
#include <bake_test.h> | ||
|
||
#endif | ||
|
||
/* | ||
) | ||
(.) | ||
.|. | ||
| | | ||
_.--| |--._ | ||
.-'; ;`-'& ; `&. | ||
\ & ; & &_/ | ||
|"""---...---"""| | ||
\ | | | | | | | / | ||
`---.|.|.|.---' | ||
* This file is generated by bake.lang.c for your convenience. Headers of | ||
* dependencies will automatically show up in this file. Include bake_config.h | ||
* in your main project file. Do not edit! */ | ||
|
||
#ifndef META_BAKE_CONFIG_H | ||
#define META_BAKE_CONFIG_H | ||
|
||
/* Headers of public dependencies */ | ||
#include <flecs.h> | ||
#include <bake_test.h> | ||
|
||
#endif | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.