GNU Info

Info Node: (g-wrap.info)Top

(g-wrap.info)Top


Next: Copying Prev: (dir) Up: (dir)
Enter node , (file) or (file)node

This is the info manual for g-wrap, covering versions 1.1.*.

                  **********************************
                  NOTE: THESE DOCS ARE NOT FINISHED.
                  **********************************

I'm including them in the hope that they're at least somewhat useful,
but they have only been partially converted to reflect the major changes
that have happened recently.  There may be very misleading or just rough
bits as you get further in, and the part still documents the old
version.  Caveat emptor.  I hope to finish revising them soon.

Copying
Introduction
Usage
Extending G-wrap
Reference
Functions for describing C code to import to the interpreter
C code needed for adding new types
Generating and using the glue code
Types available by default
Extending g-wrap and porting it to other Scheme implementations
Portable "Fancy tricks"
 --- The Detailed Node Listing ---

Introduction

Caveats
Overview
Why Create a Wrapper Generator?
Usage

A More Detailed Example.
Creating a Wrapper Module
Defining New Wrapped Types
Wrapping C Functions
Generating the Wrapper Code
Using the Wrapped Interface
Extending G-wrap

Other Internal Details
Adding New Wrapper Types
Reference

Wrapper Module Operations
Defining Wrapped Types
Defining New Wrapper Types
Wrapping Functions
Wrapper Types Available by Default
Wrapped Types Available by Default
Functions for describing C code to import to the interpreter

Defining a new function
Adding a new type
Defining a new constant
Other functions needed for describing the library glue code
Example of a library description
Defining a new function

Manually defining functions
Scanning source code for functions to export
Manually defining functions

Scanning source code for functions to export
C code needed for adding new types

Utility functions
Printing object representations
Function for deallocating an object
Function for object comparisons
Generating and using the glue code

Generating the glue code
Accessing the wrapped API from the target language
Coping With Old Guile Versions
Types available by default

Guile Types
RScheme Types
Guile Types

Pointer Tokens and Pointer Arrays
Pointer Tokens and Pointer Arrays

Pointer Tokens
Pointer Arrays
Extending g-wrap and porting it to other Scheme implementations

Defining basic Scheme/C types

automatically generated by info2www version 1.2.2.9