On Aug 22, 2009, at 8:43 AM, James Kyle wrote:

> Morning,
>
> I'm attempting to make a c++ api wrapper to an existing library. I'm
> having some trouble getting past the basics.

[...]

>> cdef extern from "mp4v2.h":
>>     void* MP4FileHandle

What you've declared here is a variable of type void* named  
MP4FileHandle. You probably want

     ctypedef void *MP4FileHandle

>>     MP4FileHandle MP4Modify(char* fileName, int verbosity=0, int
>> flags = 0)   ^
>> ------------------------------------------------------------
>>
>> /Users/jkyle/Projects/pymp4v2.env/src/python/pymp4v2/utils.pyx:6:4:
>> 'MP4FileHandle' is not a type identifier

Let us know if this solves your issue.

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to