Skip to content

Commit

Permalink
#341 regenerate core
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Aug 3, 2018
1 parent 942c6c4 commit cfad225
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
10 changes: 1 addition & 9 deletions include/lang/_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,7 @@ typedef struct corto_tag_s {
int8_t __dummy;
} *corto_tag;

#ifndef corto_taglist_DEFINED
#define corto_taglist_DEFINED
typedef corto_ll corto_taglist;
#endif

/* class corto/lang/member */
typedef struct corto_member_s {
Expand All @@ -197,10 +194,7 @@ typedef struct corto_alias_s {
/* any */
typedef struct corto_any {corto_type type; void *value; uint8_t owner;} corto_any;

#ifndef corto_stringlist_DEFINED
#define corto_stringlist_DEFINED
typedef corto_ll corto_stringlist;
#endif

/* class corto/lang/package */
typedef struct corto_package_s {
Expand Down Expand Up @@ -466,10 +460,7 @@ typedef struct corto_method_s {
uint32_t index;
} *corto_method;

#ifndef corto_objectlist_DEFINED
#define corto_objectlist_DEFINED
typedef corto_ll corto_objectlist;
#endif

/* binary corto/lang/octet */
typedef uint8_t corto_octet;
Expand Down Expand Up @@ -566,3 +557,4 @@ typedef struct corto_wordseq {uint32_t length; uintptr_t *buffer;} corto_wordseq
}
#endif
#endif

15 changes: 15 additions & 0 deletions include/vstore/_binding.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,41 @@ typedef corto_subscriber _type_corto_subscriber;
typedef corto_ownership _type_corto_ownership;
typedef corto_mountCallbackMask _type_corto_mountCallbackMask;
typedef corto_mount_subscription _type_corto_mount_subscription;
#ifndef _type_corto_mount_subscriptionList_DEFINED
#define _type_corto_mount_subscriptionList_DEFINED
typedef corto_mount_subscriptionList _type_corto_mount_subscriptionList;
#endif
typedef corto_time _type_corto_time;
typedef corto_mount _type_corto_mount;
typedef corto_invoke_event _type_corto_invoke_event;
typedef corto_loader _type_corto_loader;
#ifndef _type_corto_objectIter_DEFINED
#define _type_corto_objectIter_DEFINED
typedef corto_objectIter _type_corto_objectIter;
#endif
typedef corto_observer_event _type_corto_observer_event;
typedef corto_operatorKind _type_corto_operatorKind;
typedef corto_recordMask _type_corto_recordMask;
typedef corto_sample _type_corto_sample;
#ifndef _type_corto_sampleIter_DEFINED
#define _type_corto_sampleIter_DEFINED
typedef corto_sampleIter _type_corto_sampleIter;
#endif
typedef corto_record _type_corto_record;
#ifndef _type_corto_recordIter_DEFINED
#define _type_corto_recordIter_DEFINED
typedef corto_recordIter _type_corto_recordIter;
#endif
typedef corto_recordlist _type_corto_recordlist;
typedef corto_remote _type_corto_remote;
typedef corto_route _type_corto_route;
typedef corto_router _type_corto_router;
typedef corto_routerimpl _type_corto_routerimpl;
typedef corto_subscriber_event _type_corto_subscriber_event;
#ifndef _type_corto_subscriber_eventIter_DEFINED
#define _type_corto_subscriber_eventIter_DEFINED
typedef corto_subscriber_eventIter _type_corto_subscriber_eventIter;
#endif

/* -- Argument type casting -- */
#ifndef CORTO_IMPL
Expand Down
3 changes: 0 additions & 3 deletions include/vstore/_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ typedef struct corto_record {
typedef corto_iter corto_recordIter;
#endif

#ifndef corto_recordlist_DEFINED
#define corto_recordlist_DEFINED
typedef corto_ll corto_recordlist;
#endif

/* procedure corto/vstore/remote */
typedef struct corto_remote_s {
Expand Down
2 changes: 1 addition & 1 deletion test/value/src/rw.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ void test_rw_tc_primitive_float(
test_assert(ptr == obj);

corto_rw_set_float(&init, 10.5);
test_assertint(*obj, 10.5);
test_assertflt(*obj, 10.5);
test_assert(corto_define(obj) == 0);
}

Expand Down

0 comments on commit cfad225

Please sign in to comment.