Extern doesn't work?

BlitzMax Forums/BlitzMax Programming/Extern doesn't work?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Either as Robert said...
extern "C" XLINE CreateLine( float x1,float y1,float x2,float y2)

or
Function CreateLine:Int( x1#,y1#,x2#,y2# )="_Z10CreateLineffff"

10 is the length of the function name and ffff stands for 4 floats