Link to home
Start Free TrialLog in
Avatar of rwcochran
rwcochran

asked on

Converting C typedef statement to Delphi

I have a simple question....is this C typedef to Delphi conversion correct?

Original C typedef statements:

typedef uint32 BioAPI_GUI_MESSAGE, *BioAPI_GUI_MESSAGE_PTR;
typedef uint8 BioAPI_GUI_PROGRESS, *BioAPI_GUI_PROGESS_PTR;
typedef sint32 BioAPI_BIR_HANDLE, *BioAPI_BIR_HANDLE_PTR;

Delphi equalviant statements:
type
  BioAPI_GUI_MESSAGE = Cardinal;
  BioAPI_GUI_MESSAGE_PTR = Pointer;

type
  BioAPI_GUI_PROGRESS = Byte;
  BioAPI_GUI_PROGESS_PTR = Pointer;

type
  BioAPI_BIR_HANDLE = Integer;
  BioAPI_BIR_HANDLE_PTR = Pointer;
ASKER CERTIFIED SOLUTION
Avatar of sftweng
sftweng

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rwcochran
rwcochran

ASKER

Thanks!