Ole Streicher - 2015-12-22

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.