Mercurial > hg > xemacs-beta
diff src/bytecode.c @ 420:41dbb7a9d5f2 r21-2-18
Import from CVS: tag r21-2-18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:24:09 +0200 |
parents | da8ed4261e83 |
children | 11054d720c21 |
line wrap: on
line diff
--- a/src/bytecode.c Mon Aug 13 11:23:14 2007 +0200 +++ b/src/bytecode.c Mon Aug 13 11:24:09 2007 +0200 @@ -56,7 +56,6 @@ #include "opaque.h" #include "syntax.h" -#include <stddef.h> #include <limits.h> EXFUN (Ffetch_bytecode, 1); @@ -2024,11 +2023,20 @@ internal_hash (f->constants, depth + 1)); } +static const struct lrecord_description compiled_function_description[] = { + { XD_LISP_OBJECT, offsetof(struct Lisp_Compiled_Function, instructions), 4 }, +#ifdef COMPILED_FUNCTION_ANNOTATION_HACK + { XD_LISP_OBJECT, offsetof(struct Lisp_Compiled_Function, annotated), 1 }, +#endif + { XD_END } +}; + DEFINE_BASIC_LRECORD_IMPLEMENTATION ("compiled-function", compiled_function, mark_compiled_function, print_compiled_function, 0, compiled_function_equal, compiled_function_hash, + compiled_function_description, Lisp_Compiled_Function); DEFUN ("compiled-function-p", Fcompiled_function_p, 1, 1, 0, /*