From: Chris T. <chr...@uc...> - 2008-07-21 18:09:54
|
i have the following files that serve as a HashTable data structure: (1) hashtbl.c (2) hashtbl.h also: (3) hashmain.c makes use of the HashTable. I only need python to pass 1 char[] to hashmain.c i'm having trouble creating the hashmain.i interface file. do i need to do anything fancy and bring files (1) and (2) into the picture? my hashmain.i is as follows: -------------------------- %module hashmain %{ #include "hashtbl.h" extern int main( void ); %} %include "hashmain.c" what am i doing wrong? i'd appreciate ANY help!!! thanks! -- Chris TANNER UCLA Graduate School '08 - C.S. Florida Tech Alum '06 - C.S., Math www.chriswtanner.com photography 404-376-5817 |