comparison lwasm/lwasm.h @ 223:211fc8038b8d

More unicorn stuff - structs and macros Settled on an output format for unicorn stuff and added structs and macros to that output. Format is: TYPE: <key>=<value>[,<key>=<value>]* Any <value> which has special characters will use urlencoding. Values with multiple values use a semicolon as a separator.
author William Astle <lost@l-w.ca>
date Sun, 15 Jul 2012 20:14:51 -0600
parents 03f7192fcd20
children 7c2c2239ec9c
comparison
equal deleted inserted replaced
222:03f7192fcd20 223:211fc8038b8d
251 { 251 {
252 char *name; // name of structure 252 char *name; // name of structure
253 int size; // number of bytes taken by struct 253 int size; // number of bytes taken by struct
254 structtab_field_t *fields; // fields in the structure 254 structtab_field_t *fields; // fields in the structure
255 structtab_t *next; // next structure 255 structtab_t *next; // next structure
256 line_t *definedat; // line where structure is defined
256 }; 257 };
257 258
258 struct asmstate_s 259 struct asmstate_s
259 { 260 {
260 int output_format; // output format 261 int output_format; // output format