Some questions.

Marco Antoniotti <[email protected]> Thu, 6 Nov 2003 12:38:00 -0500
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
Hi

I finally started to have a look at UFFI for a little project of ours 
and have a number of questions about its use.

1 - Structures.

Suppose I have something like

	struct foo;
	typedef struct foo *fooPtr;

	/* Later on. */
	struct foo {
		int fooInt;
	};

What is the best way to render this code?

2 - Pointer to functions.

I may suffer from some RTFM syndrome, but I have not quite figured out 
how to deal with them.
E.g.

	struct barFun_ {
		int (* ptrToFunRetInt)(int x, double y, fooPrt *foos);
	};

	typedef struct barFun_ barFun;

How do you do this?

Thanks

Marco



--
Marco Antoniotti
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.