Closed GWRon closed 8 years ago
Are you still having issues with this? The first parameter in the c output is a 'hidden' object instance and the 2nd parameter is actually the first parameter in your 'Max code, ie the Null expression.
This may well have been fixed by now?
Brucey fixed maxmod a while ago.
I tried (again) to compile maxmod2.mod and it fails this way:
That missing portion is based on this code
all Cue()-methods in maxmod are defined with varying return types but the same params:
The special thing is, that "IMaxModMusic" is defined externally...
And
mus.music
(the erroneous line) is of typeIMaxModMusic
so "cue()" will be the extern function. Somehow NG thinks, there is a second parameter.The corresponding .h-file (generated by NG when compiling the module) contains this line
Maybe NG somehow mixes things up?
Albeit this sounds as if "interfaces" should be used, the error means that something is not compatible to vanilla.
How to get it to compile successfully?