Commit e5f5b80 1 parent ae1b89f commit e5f5b80 Copy full SHA for e5f5b80
File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26007,7 +26007,7 @@ int json_typeinfo_ser_type_ops(
26007
26007
return -1;
26008
26008
}
26009
26009
26010
- int ecs_type_info_to_buf (
26010
+ int ecs_type_info_to_json_buf (
26011
26011
const ecs_world_t *world,
26012
26012
ecs_entity_t type,
26013
26013
ecs_strbuf_t *buf)
@@ -26041,7 +26041,7 @@ char* ecs_type_info_to_json(
26041
26041
{
26042
26042
ecs_strbuf_t str = ECS_STRBUF_INIT;
26043
26043
26044
- if (ecs_type_info_to_buf (world, type, &str) != 0) {
26044
+ if (ecs_type_info_to_json_buf (world, type, &str) != 0) {
26045
26045
ecs_strbuf_reset(&str);
26046
26046
return NULL;
26047
26047
}
Original file line number Diff line number Diff line change @@ -7874,7 +7874,7 @@ char* ecs_type_info_to_json(
7874
7874
* @return Zero if success, non-zero if failed.
7875
7875
*/
7876
7876
FLECS_API
7877
- char* ecs_type_info_to_json_buf(
7877
+ int ecs_type_info_to_json_buf(
7878
7878
const ecs_world_t *world,
7879
7879
ecs_entity_t type,
7880
7880
ecs_strbuf_t *buf_out);
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ char* ecs_type_info_to_json(
137
137
* @return Zero if success, non-zero if failed.
138
138
*/
139
139
FLECS_API
140
- char * ecs_type_info_to_json_buf (
140
+ int ecs_type_info_to_json_buf (
141
141
const ecs_world_t * world ,
142
142
ecs_entity_t type ,
143
143
ecs_strbuf_t * buf_out );
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ int json_typeinfo_ser_type_ops(
162
162
return -1 ;
163
163
}
164
164
165
- int ecs_type_info_to_buf (
165
+ int ecs_type_info_to_json_buf (
166
166
const ecs_world_t * world ,
167
167
ecs_entity_t type ,
168
168
ecs_strbuf_t * buf )
@@ -196,7 +196,7 @@ char* ecs_type_info_to_json(
196
196
{
197
197
ecs_strbuf_t str = ECS_STRBUF_INIT ;
198
198
199
- if (ecs_type_info_to_buf (world , type , & str ) != 0 ) {
199
+ if (ecs_type_info_to_json_buf (world , type , & str ) != 0 ) {
200
200
ecs_strbuf_reset (& str );
201
201
return NULL ;
202
202
}
You can’t perform that action at this time.
0 commit comments