Branch: Tag:

2000-06-10

2000-06-10 11:52:46 by Martin Stjernholm <mast@lysator.liu.se>

Renamed the gc mark callback to make the incompatibility in it clear.

Rev: src/encode.c:1.59
Rev: src/modules/Java/jvm.c:1.19
Rev: src/object.c:1.123
Rev: src/program.c:1.241
Rev: src/program.h:1.91
Rev: src/threads.c:1.129

25:   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.58 2000/04/08 02:01:08 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.59 2000/06/10 11:52:43 mast Exp $");      /* #define ENCODE_DEBUG */   
573:    {    INT32 e;    struct program *p=val->u.program; -  if(p->init || p->exit || p->gc_marked || p->gc_check_func || +  if(p->init || p->exit || p->gc_recurse_func || p->gc_check_func ||    (p->flags & PROGRAM_HAS_C_METHODS))    error("Cannot encode C programs.\n");    code_entry(type_to_tag(val->type), 1,data);