{"action":"created","issue":{"url":"https://api.github.com/repos/macoslib/macoslib/issues/194","repository_url":"https://api.github.com/repos/macoslib/macoslib","labels_url":"https://api.github.com/repos/macoslib/macoslib/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/macoslib/macoslib/issues/194/comments","events_url":"https://api.github.com/repos/macoslib/macoslib/issues/194/events","html_url":"https://github.com/macoslib/macoslib/issues/194","id":112846465,"number":194,"title":"Build for x86 64-bit Xojo 2015r3","user":{"login":"spaceprograms","id":1788179,"avatar_url":"https://avatars.githubusercontent.com/u/1788179?v=3","gravatar_id":"","url":"https://api.github.com/users/spaceprograms","html_url":"https://github.com/spaceprograms","followers_url":"https://api.github.com/users/spaceprograms/followers","following_url":"https://api.github.com/users/spaceprograms/following{/other_user}","gists_url":"https://api.github.com/users/spaceprograms/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceprograms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceprograms/subscriptions","organizations_url":"https://api.github.com/users/spaceprograms/orgs","repos_url":"https://api.github.com/users/spaceprograms/repos","events_url":"https://api.github.com/users/spaceprograms/events{/privacy}","received_events_url":"https://api.github.com/users/spaceprograms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-10-22T16:56:29Z","updated_at":"2016-08-05T16:28:50Z","closed_at":null,"body":"If you open Macoslib in Xojo 2015r3, switch the Architecture to x86 64-bit, then try to build the app. The compiler throws up loads of errors relating to Ptr, Integer and Type mismatch.\r\n\r\nThis is an FYI as I unfortunately don't have the time to help fix these at the moment."},"comment":{"url":"https://api.github.com/repos/macoslib/macoslib/issues/comments/237897236","html_url":"https://github.com/macoslib/macoslib/issues/194#issuecomment-237897236","issue_url":"https://api.github.com/repos/macoslib/macoslib/issues/194","id":237897236,"user":{"login":"tempelmann","id":461920,"avatar_url":"https://avatars.githubusercontent.com/u/461920?v=3","gravatar_id":"","url":"https://api.github.com/users/tempelmann","html_url":"https://github.com/tempelmann","followers_url":"https://api.github.com/users/tempelmann/followers","following_url":"https://api.github.com/users/tempelmann/following{/other_user}","gists_url":"https://api.github.com/users/tempelmann/gists{/gist_id}","starred_url":"https://api.github.com/users/tempelmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tempelmann/subscriptions","organizations_url":"https://api.github.com/users/tempelmann/orgs","repos_url":"https://api.github.com/users/tempelmann/repos","events_url":"https://api.github.com/users/tempelmann/events{/privacy}","received_events_url":"https://api.github.com/users/tempelmann/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T16:28:50Z","updated_at":"2016-08-05T16:28:50Z","body":"For instructions, it's simple:\r\n\r\nFor every declare, find the original documentation (using Apple developer website or the header .h files), see which parameters are used, and make sure the same type is used on the declare. E.g, if the type is UIn32, then you need to match that even on 64 bit. If it's UInteger, match that, too.\r\nSame goes for structures.\r\nAnd for ascess into memoryblocks, see the code where SizeOfInteger is used as an example, and make sure it's used everywhere that way.\r\nOh, and if you want to restrict macoslib to compile only with very recent Xojo versions, use the newly introduced CGFloat type for where now a single type is used, matching what the Apple docs use. CGFloat has to be a Double on 64 bit and a Single on 32 bit. Before Xojo added this type, you could not do that in Xojo code. Understand what I mean?\r\n"}}
{"actor":{"display_login":"tempelmann"}}