2023-09-08 05:21:37 +00:00
|
|
|
Index: mgp.h
|
|
|
|
--- mgp.h.orig
|
|
|
|
+++ mgp.h
|
|
|
|
@@ -310,6 +310,7 @@ struct ctrl {
|
2023-08-16 22:26:55 +00:00
|
|
|
u_char ct_flag;
|
|
|
|
u_int ct_page;
|
|
|
|
struct ctrl *ct_next;
|
|
|
|
+ int ct_type;
|
|
|
|
union {
|
|
|
|
struct ctrl_double ctrl_double;
|
|
|
|
struct ctrl_int ctrl_int;
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -327,6 +328,12 @@ struct ctrl {
|
2023-08-16 22:26:55 +00:00
|
|
|
struct ctrl_pcache ctrl_pcache;
|
|
|
|
} ct_val;
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+#define CTL_INT 0
|
|
|
|
+#define CTL_CHAR 1
|
|
|
|
+#define CTL_CHAR2 2
|
|
|
|
+#define CTL_DOUBLE 3
|
|
|
|
+#define CTL_LONG 4
|
|
|
|
|
|
|
|
#define ctf_value ct_val.ctrl_double.ct_value
|
|
|
|
#define cti_value ct_val.ctrl_int.ct_value
|