What is this? "C" NoDebug

BlitzMax Forums/BlitzMax Programming/What is this? "C" NoDebug

Orca(Posted 2007) [#1]
Just saw a method signature like this in maxmod.

Method FillBuffer(SoundData:Int,Length:Int)"C" NoDebug
'snip!
end method


Whats that decoration for at the end?


Perturbatio(Posted 2007) [#2]
it prevents the debugger from doing anything inside that function


Dreamora(Posted 2007) [#3]
And the C means that it is a CDecl Method ...

Don't ask me why this one is there, that would somehow only make sense on functions that you export from a DLL somehow ...