Embarcadero / octoid

Octoid is a tool for translating Objective-C headers into Delphi code. It is intended as a replacement for SDKTransform which ships with Delphi.
BSD 2-Clause "Simplified" License
31 stars 8 forks source link

Matching types that differ only by case do not need declarations #21

Closed DelphiWorlds closed 9 months ago

DelphiWorlds commented 9 months ago

When importing the Security framework for macOS, this is emitted:

  sint64 = Int64;
  uint64 = UInt64;
  sint32 = Int32;
  Psint32 = ^sint32;
  sint16 = Int16;
  sint8 = Int8;
  uint32 = UInt32;
  Puint32 = ^uint32;
  uint16 = UInt16;
  uint8 = UInt8;

Obviously uint64, uint32, uint16 and uint8 do not need declarations.

DelphiWorlds commented 9 months ago

Fixed