cvs commit: hugs98/src ffi.c static.c connect.h

ross@glass.cse.ogi.edu ross@glass.cse.ogi.edu
Fri, 3 Jan 2003 08:12:50 -0800


ross        2003/01/03 08:12:50 PST

  Modified files:
    src                  ffi.c static.c connect.h 
  Log:
  Enable FFI modules to be used as statically linked plugins.
  
  If the generated C code for a module is compiled with -DSTATIC_LINKAGE,
  the initModule() function is renamed to something based on the module
  name, e.g. initFMAlloc() for Foreign.Marshal.Alloc (abbreviated for
  limited linkers).
  
  Revision  Changes    Path
  1.22      +22 -3     hugs98/src/ffi.c
  1.131     +4 -3      hugs98/src/static.c
  1.59      +3 -3      hugs98/src/connect.h