summaryrefslogtreecommitdiff
path: root/include/opcode/pj.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/pj.h')
-rw-r--r--include/opcode/pj.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/opcode/pj.h b/include/opcode/pj.h
index b768f11bdb9..5779507be80 100644
--- a/include/opcode/pj.h
+++ b/include/opcode/pj.h
@@ -36,11 +36,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define UNS(x) (!!((x) & (1<<3)))
-typedef struct
+typedef struct pj_opc_info_t
{
short opcode;
short opcode_next;
char len;
unsigned char arg[2];
- const char *name;
+ union {
+ const char *name;
+ void (*func) PARAMS ((struct pj_opc_info_t *, char *));
+ } u;
} pj_opc_info_t;