Up: Object Representations   [Contents]


4.1 Data format in message

Accelerators32 bitinteger ID
Atom32 bitAtom ID
Boolean24 bitimmediate data
Color24 bitimmediate data (Red value) followed by 2 16 bit words for Green and Blue@
Colormap32 bitColormap XID
Compound Strings32 bitaddress
Cursor32bitCursor XID
Enumeration24 bitimmediate integer
Font32 bitFont XID
Font List32 bitinteger ID
Function24 bitimmediate token
Int32 bitinteger
List24 bitimmediate data (length) followed by each element recorded in order
Pixmap32 bitPixmap XID
Short24 bitimmediate integer
(1) Strings24 bitimmediate data (length of string including '\0') followed by string data padded to end on a word boundary …or
(2) Strings24 bitimmediate token (for common strings)
Translations32 bitinteger ID
Widgets32 bitinteger ID
Window32 bitWindow XID

For objects such as translations, widgets, accelerators, font lists, and compound strings, the 32 bit ID is just the address of the object in the C server process. They are represented in Lisp by structures which encapsulate their ID’s and provide them with Lisp data types (other than simply INTEGER).