7.3 Declaration

OZ_BI_define
OZ_BI_end

  OZ_BI_define(Name,InArity,OutArity)
  { ... C/C++ code ... }
  OZ_BI_end

Every foreign function imported to Oz has to be declared using this pattern. Name is the name of the function being defined. InArity and OutArity specify the number of input and output arguments the function expects.


Michael Mehl, Tobias Müller, Christian Schulte and Ralf Scheidhauer
Version 1.4.0 (20080702)