Browse code

global descs.

Török Edvin authored on 2009/09/30 17:56:46
Showing 1 changed files
... ...
@@ -50,11 +50,20 @@ struct cli_apicall {
50 50
     uint8_t kind;
51 51
 };
52 52
 
53
+struct cli_apiglobal {
54
+    const char *name;
55
+    enum bc_global globalid;
56
+    uint16_t type;
57
+};
58
+
53 59
 extern const struct cli_bc_type cli_apicall_types[];
54 60
 extern const unsigned cli_apicall_maxtypes;
55 61
 
62
+extern const struct cli_apiglobal cli_globals[];
63
+
56 64
 extern const struct cli_apicall cli_apicalls[];
57 65
 extern const cli_apicall_int2 cli_apicalls0[];
58 66
 extern const cli_apicall_pointer cli_apicalls1[];
59 67
 extern const unsigned cli_apicall_maxapi;
68
+extern const unsigned cli_apicall_maxglobal;
60 69
 #endif