Ok, I corrected the PyObject object (it has only the obRefcnt and obType 
fields) but now I'm getting the following error: 
    
    
    *** Error in 'python3': free(): invalid pointer: 0x76508050 ***
    Traceback (most recent call last)
    nim_module.nim(133)    PyInit_nim_module
    nim_module.nim(106)    moduleCreate
    SIGABRT: Abnormal termination.
    

I checked that the Python3 and C compilers that are used for compiling are the 
same, which they are. I'm guessing there is either a mistake in one of the 
object declarations or I'm missing something different between Windows/Linux. I 
checked the Nim generated C files and they are very similar except for a few 
naming differences.

I have no more good ideas. If anyone finds anything, please let me know!

Matic

Reply via email to