![]() 复制enum { INT8 = 0,浅谈 INT16, INT32, INT64, DOUBLE, STRING, BINARY, }; typedef struct basetype { int8_t type;//the real type void *data; }*basetype_t; struct db_type_string { struct basetype base; int32_t size; }; struct db_type_binary { struct basetype base; int32_t size; }; 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28. |