test/json.c

changeset 53
82adacc27b5b
parent 46
96e139ab57f2
equal deleted inserted replaced
52:8503be5eea49 53:82adacc27b5b
108 dbuClassAddObj(test4_class, "test3", offsetof(Test4, test3), test3_class); 108 dbuClassAddObj(test4_class, "test3", offsetof(Test4, test3), test3_class);
109 109
110 test5_class = dbuRegisterClassWithoutPK(ctx, "test5", sizeof(Test5)); 110 test5_class = dbuRegisterClassWithoutPK(ctx, "test5", sizeof(Test5));
111 dbuClassAdd(test5_class, Test5, test); 111 dbuClassAdd(test5_class, Test5, test);
112 dbuClassAddCxLinkedList(test5_class, "test2List", offsetof(Test5, test2List), test2_class); 112 dbuClassAddCxLinkedList(test5_class, "test2List", offsetof(Test5, test2List), test2_class);
113
114 return 0;
113 } 115 }
114 116
115 void cleanup_json_tests(void) { 117 void cleanup_json_tests(void) {
116 dbuContextFree(ctx); 118 dbuContextFree(ctx);
117 } 119 }

mercurial