2 docCopyright("Steve Dekorte", 2002)
3 docLicense("BSD revised")
9 #include "Common_inline.h"
10 #ifdef IO_DECLARE_INLINES
15 #define IOMESSAGEDATA(self) ((IoMessageData *)IoObject_dataPointer(self))
17 IOINLINE IoSymbol *IoMessage_name(IoMessage *self)
19 return IOMESSAGEDATA(self)->name;
22 IOINLINE void IoMessage_addArg_(IoMessage *self, IoMessage *m)
24 List_append_(IOMESSAGEDATA(self)->args, IOREF(m));
27 IOINLINE IoMessage *IoMessage_rawArgAt_(IoMessage *self, int n)
29 return List_at_(IOMESSAGEDATA(self)->args, n);
32 IOINLINE IoSymbol *IoMessage_rawLabel(IoMessage *self)
34 return IOMESSAGEDATA(self)->label;
37 IOINLINE List *IoMessage_rawArgs(IoMessage *self)
39 return IOMESSAGEDATA(self)->args;
42 IOINLINE IoObject *IoMessage_name(self)
44 return (((IoMessageData *)IoObject_dataPointer(self))->name);