diff --git a/www/chez-policy.sch b/www/chez-policy.sch index e602abf..1a521ad 100644 --- a/www/chez-policy.sch +++ b/www/chez-policy.sch @@ -12,16 +12,16 @@ ; At the outset, everything in the .ffi file is marked as referenced. ; The mechanisms for excluding stuff are based on an item's name. -; exclude-file takes a file name or list of file names and excludes every +; exclude-file takes a file name or list of file names and excludes every ; item defined in that file and files included by it. (exclude-file '()) ; exclude-structure takes a structure name (i.e. either "struct FOO" ; or "union FOO" or "FOO") or list of names and inhibits generation of -; constructors, destructors, accessors, and mutators for it and all -; typedefs derived from it. If the name is a typedef name and the -; structure named has a compiler-generated tag, then the structure +; constructors, destructors, accessors, and mutators for it and all +; typedefs derived from it. If the name is a typedef name and the +; structure named has a compiler-generated tag, then the structure ; named by this typedef is also excluded. (exclude-structure "FILE") @@ -41,11 +41,11 @@ ; Override-prototype gives the named function a new prototype. -(override-prototype "fgets" +(override-prototype "fgets" `(function (,(primitive-type 'string) - ,(primitive-type 'int) - ,(pointer-type (struct-type "FILE"))) - ,(pointer-type (primitive-type 'char)))) + ,(primitive-type 'int) + ,(pointer-type (struct-type "FILE"))) + ,(pointer-type (primitive-type 'char)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -73,7 +73,7 @@ ; values. Values are: warning, alloc-new, and pass-placeholder. If alloc-new ; is the value, then a proxy function will be generated which receives ; the return value, allocates an object on the heap for it, copies the value -; into the allocated memory, and returns a pointer to the memory. +; into the allocated memory, and returns a pointer to the memory. ; If pass-placeholder is the value, then a FF and proxy will be generated ; that take an extra argument (the first); that argument must be a pointer ; to a structure in which to place the value. diff --git a/www/index.html b/www/index.html index 87b9095..c45fccc 100644 --- a/www/index.html +++ b/www/index.html @@ -14,10 +14,10 @@ FFIGEN (Foreign Function Interface GENerator) is a program suite that facilitates the writing of translators from C header files to foreign function interfaces for particular language implementations. -

+

* -FFIGEN Manifesto and Overview +FFIGEN Manifesto and Overview (HTML) (ps.gz, 26 KB)
* @@ -26,7 +26,7 @@ FFIGEN User's Manual
* FFIGEN Back-end for Chez Scheme Version 5 -(ps.gz, 52 KB) +(ps.gz, 52 KB)

There are three motivating observations behind FFIGEN. The first is @@ -56,7 +56,7 @@ FFIGEN is a system that implements the split-translation philosophy.