C++ class

BlitzMax Forums/BlitzMax Programming/C++ class

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.

Sorry... the .bmx bits too... just for clarity :-)

..in the extern..
	Function bmx_time_duration_hours:Int(duration:Byte Ptr)

..in the main code..
	Method hours:Int()
		Return bmx_time_duration_hours(durationPtr)
	End Method