[Pyrex] Pyrex questions

Tom Kobialka u3356514 at anu.edu.au
Tue Jun 1 08:49:19 CEST 2004


Hi guys,

  I have a few questions regarding Pyrex that i'm hoping someone can set 
me straight on. :)

   Is there a searchable online mailing list archive available for 
Pyrex? The one on the website doesn't seem to be searchable (or perhaps 
  I just missed it)

  I am encapsulating a small C program that makes use of a very specific 
   gravitational wave frame library. I want to call the routines in the 
library from my C program. Do I have to encapsulate the library in Pyrex 
in order to call it from my encapsulated C program? Reading through the 
Pyrex documentation I get the feeling that I will. This library is  of a 
reasonable size and i'm not looking forward to encapsulating it. Could I 
get away with only encapsulating the routines that my program calls? If 
so, do I need to take into account other routines that these routines 
may call?

  I have read through the Pyrex doco and it doesn't seem to mention C 
routines and procedures such as atoi, malloc, opendir (dirent.h), 
casting or nesting i.e monkey = (char *) malloc(strlen(banana) + 
strlen(paddlepop->chocolate)) which a large proportion of my code 
involves. Does anyone have a small sized (300 + line) C program and 
corresponding pyrex code that they wouldn't mind lending me for 
educational purposes? I'm really after some examples of these calls to C 
libraries.

  Cheers

  Tom





More information about the Pyrex mailing list