Patch for #377: Fix compilation of user defined functions
Status: Beta
Brought to you by:
m_schellens
Bug report #377 now contains a fix. Since it was not automatically converted into a "patch", this is the corresponding "patch" ticket.
Since this bug was reported, the function GDLSub seems to have changed significantly, however there is still a crash with user defined functions:
$ cat gdl.py import GDL a = GDL.function("funktion", 1) print a $ cat funktion.pro function FUNKTION, arg return, 1.5 end $ python gdl.py % Compiled module: FUNKTION. Magick: abort due to signal 11 (SIGSEGV) "Segmentation Fault"...
This is due using the wrong list when getting the function pointer. The attached patch fixes this.
patched today.