ExternalLibraryFunction.st
changeset 9981 d36bdd9dbab6
parent 9603 eec1a8d56cc5
child 10025 053904a63549
equal deleted inserted replaced
9980:f67801bc5fc8 9981:d36bdd9dbab6
    21 	category:'System-Support'
    21 	category:'System-Support'
    22 !
    22 !
    23 
    23 
    24 !ExternalLibraryFunction primitiveDefinitions!
    24 !ExternalLibraryFunction primitiveDefinitions!
    25 %{
    25 %{
    26 
       
    27 /*
       
    28  * does this architecture support FFI ?
       
    29  * NOTICE: this is now defined in the architecture-specific configuration file.
       
    30  */
       
    31 #if defined(WIN32) || defined(LINUX)
       
    32 # ifndef HAVE_FFI
       
    33 #  define HAVE_FFI
       
    34 # endif
       
    35 #endif
       
    36 
       
    37 
    26 
    38 #ifdef HAVE_FFI
    27 #ifdef HAVE_FFI
    39 # include <ffi.h>
    28 # include <ffi.h>
    40 # define MAX_ARGS    128
    29 # define MAX_ARGS    128
    41 
    30 
  1162 ! !
  1151 ! !
  1163 
  1152 
  1164 !ExternalLibraryFunction class methodsFor:'documentation'!
  1153 !ExternalLibraryFunction class methodsFor:'documentation'!
  1165 
  1154 
  1166 version
  1155 version
  1167     ^ '$Header: /cvs/stx/stx/libbasic/ExternalLibraryFunction.st,v 1.43 2006-08-21 10:21:04 cg Exp $'
  1156     ^ '$Header: /cvs/stx/stx/libbasic/ExternalLibraryFunction.st,v 1.44 2006-09-20 10:10:43 stefan Exp $'
  1168 ! !
  1157 ! !
  1169 
  1158 
  1170 ExternalLibraryFunction initialize!
  1159 ExternalLibraryFunction initialize!