#12 32/64 bit patch for full universal binary support

closed-fixed
nobody
AquaTerm (3)
5
2011-03-10
2011-02-02
Alexander Wittig
No

As discussed privately with Per and Mojca, this is my patch against Aquaterm 1.0.1.
It changes all instances of int/unsigned int into strongly typed int32_t/uint32_t and adds a few lines of wrapper code mostly in AQTGraphic.m/h to hide the platform dependent Apple datatypes (CGFloat is 32bit float on ia32 and 64bit double on amd64) when they are exchanged using the IPC between the library and the AquaTerm program ("server").
This ensures that all communication is always done with 32bit (floats), even if a 64bit library talks to a 32bit server or vice versa.

This patch does not include required changes to the Project file / Make files to allow for a universal binary to be built.

Discussion

  • The patch

     
    Attachments
  • Mojca Miklavec
    Mojca Miklavec
    2011-03-10

    • status: open --> closed-fixed
     
  • Mojca Miklavec
    Mojca Miklavec
    2011-03-10

    Applied to repository.