Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/ml-nlffi-lib/Tests/README
ViewVC logotype

View of /sml/trunk/src/ml-nlffi-lib/Tests/README

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1028 - (download) (annotate)
Fri Jan 18 18:57:53 2002 UTC (17 years, 7 months ago) by blume
File size: 1159 byte(s)
turned x86-fp on
Test cases:

Currently, there are 4 test cases -- each in its own subdirectory:

           A potentially long-running C function to demonstrate how
           interrupts get suspended but properly remembered if they
           occur within C code.
           Various <math.h> routines.
           A more substantial example (a "person data base").  The
           logic and datastructures in this example are intentionally
           much more clumsy, strange, and awkward than any reasonable
           C programmer would make them.  But they serve to stress-test
           some of the features of NLFFI.
           An example demonstrating an existing (but very clumsy)
           workaround for the varargs problem.  (The problem is that
           currently there is no NLFFI type encoding variadic C

For intr/ and pdb/ you first need to build the corresponding shared
library.  See README in the respective directory.

Eventually, you can compile each example <d> (where <d> ranges over
intr, math, pdb, and printf) by saying:

    cd <d>
    sml -m <d>.cm



ViewVC Help
Powered by ViewVC 1.0.0