#include #include module Bindings.CoreServices.CarbonCore.OSUtils where #strict_import import Bindings.CoreServices.CarbonCore.MacTypes #num sortsBefore #num sortsEqual #num sortsAfter #num dummyType #num vType #num ioQType #num drvQType #num evType #num fsQType #num sIQType #num dtQType #num nmType #synonym_t QTypes, #starttype struct QElem # field qLink, Ptr # field qType, CShort # array_field qData, CShort #stoptype #synonym_t QElemPtr, Ptr #starttype struct QHdr # field qFlags, CShort # field qHead , # field qTail , #stoptype #synonym_t QHdrPtr, Ptr #starttype struct MachineLocation # field latitude , # field longitude, # if TARGET_RT_BIG_ENDIAN # union_field u.dlsDelta, # endif # union_field u.gmtDelta, CLong # if TARGET_RT_LITTLE_ENDIAN # array_field u.dls.pad, # endif # field u.dls.Delta, #stoptype #ccall IsMetric, IO #ccall Delay , CULong -> Ptr CULong -> IO () #ccall Enqueue , -> -> IO () #ccall Dequeue , -> -> IO #if !__LP64__ # ccall MakeDataExecutable, Ptr () -> CULong -> IO () #endif #ccall ReadLocation , Ptr -> IO () #ccall TickCount , IO #ccall CSCopyUserName , -> IO #ccall CSCopyMachineName, IO #num useFree #num useATalk #num useAsync #num useExtClk #num useMIDI #num false32b #num true32b #synonym_t SysPPtr, Ptr () #if !__LP64__ # ccall GetSysPPtr, IO #endif #callback DeferredTaskProcPtr, CLong -> IO () #synonym_t DeferredTaskUPP, #starttype struct DeferredTask # field qLink , # field qType , CShort # field dtFlags , CShort # field dtAddr , # field dtParam , CLong # field dtReserved, CLong #stoptype #synonym_t DeferredTaskPtr, Ptr #if !__LP64__ # ccall DTInstall , -> IO # ccall DTUninstall , -> IO # ccall SetCurrentA5 , IO CLong # ccall SetA5 , CLong -> IO CLong # ccall InitUtil , IO # ccall WriteParam , IO # ccall WriteLocation, Ptr -> IO () #endif