Mail Archives: djgpp/1998/09/09/08:12:13
Newsgroups: | comp.os.msdos.djgpp
|
From: | john2004 AT bga DOT com (John Burch)
|
Subject: | Porting code, FAR PASCAL type ???
|
Date: | Mon, 31 Aug 1998 04:59:23 GMT
|
NNTP-Posting-Host: | max2-194.aip.realtime.net
|
Message-ID: | <35ea2d5f.0@feed1.realtime.net>
|
Lines: | 15
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
I'm trying to use Panard Vision 3D renderer and it uses ddraw.h from
Microsoft. PV is delivered ready to compile under VC5 but I'm trying to use
DJGPP.
In several places it has typedefs like
typedef BOOL (FAR PASCAL * LPDDENUMCALLBACKA)(GUID FAR *, LPSTR, LPSTR,
LPVOID);
I believe the FAR can be thrown away, but what do I do with the PASCAL ? What
type would be used here?
Or is this a fruitless battle against windmills?
John
- Raw text -