next up previous contents
Next: 8.2.1 Defining Alien Types Up: 8 Alien Objects Previous: 8.1 Introduction to Aliens

8.2 Alien Types

Alien types have a description language based on nested list structure. For example:

struct foo {
    int a;
    struct foo *b[100];
};
has the corresponding Alien type:
(struct foo
  (a int)
  (b (array (* (struct foo)) 100)))




Raymond Toy
Mon Jul 14 09:11:27 EDT 1997