1 #define DWG_TYPE DWG_TYPE_ACSH_HISTORY_CLASS
2 #include "common.c"
3
4 void
5 api_process (dwg_object *obj)
6 {
7 int error, isnew;
8 BITCODE_BL major;
9 BITCODE_BL minor;
10 BITCODE_H owner;
11 BITCODE_BL h_nodeid;
12 BITCODE_B show_history;
13 BITCODE_B record_history;
14
15 Dwg_Version_Type dwg_version = obj->parent->header.version;
16 dwg_obj_acsh_history_class *_obj = dwg_object_to_ACSH_HISTORY_CLASS (obj);
17
18 CHK_ENTITY_TYPE (_obj, ACSH_HISTORY_CLASS, major, BL); // 33
19 CHK_ENTITY_TYPE (_obj, ACSH_HISTORY_CLASS, minor, BL); // 29
20 CHK_ENTITY_H (_obj, ACSH_HISTORY_CLASS, owner);
21 CHK_ENTITY_TYPE (_obj, ACSH_HISTORY_CLASS, h_nodeid, BL);
22 CHK_ENTITY_TYPE (_obj, ACSH_HISTORY_CLASS, show_history, B);
23 CHK_ENTITY_TYPE (_obj, ACSH_HISTORY_CLASS, record_history, B);
24 }