version 1.107, 2008/01/13 22:13:08
|
version 1.108, 2008/07/03 12:29:05
|
Line 70
|
Line 70
|
#include <callback.h> |
#include <callback.h> |
#endif |
#endif |
|
|
#ifdef HAS_LIBFFI |
|
#include <ffi.h> |
|
#endif |
|
|
|
#ifndef SEEK_SET |
#ifndef SEEK_SET |
/* should be defined in stdio.h, but some systems don't have it */ |
/* should be defined in stdio.h, but some systems don't have it */ |
#define SEEK_SET 0 |
#define SEEK_SET 0 |
Line 344 Label *gforth_engine(Xt *ip0, Cell *sp0,
|
Line 340 Label *gforth_engine(Xt *ip0, Cell *sp0,
|
long long llrv; |
long long llrv; |
void * prv; |
void * prv; |
#endif |
#endif |
#ifdef HAS_LIBFFI |
|
extern void * gforth_ritem; |
|
extern void ** gforth_clist; |
|
extern void ffi_callback(ffi_cif * cif, void * resp, void ** args, Xt * ip); |
|
#endif |
|
register Address up UPREG = gforth_UP; |
register Address up UPREG = gforth_UP; |
#if !defined(GFORTH_DEBUGGING) |
#if !defined(GFORTH_DEBUGGING) |
register Cell MAYBE_UNUSED spTOS TOSREG; |
register Cell MAYBE_UNUSED spTOS TOSREG; |