mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-11 23:43:19 +00:00
createcell68k(typecode) returns a pointer that is aligned for the typecode argument. Changing the return type to "void *" puts the onus on the caller to cast the result to an appropriately aligned object. All current uses in the maiko source ask for 4-byte objects (TYPE_FIXP, TYPE_FLOATP).
7 lines
177 B
C
7 lines
177 B
C
#ifndef MKCELLDEFS_H
|
|
#define MKCELLDEFS_H 1
|
|
#include "lispemul.h" /* for LispPTR, DLword */
|
|
LispPTR N_OP_createcell(LispPTR tos);
|
|
void *createcell68k(unsigned int type);
|
|
#endif
|