Unnamed: 0
int64 0
0
| repo_id
stringlengths 5
186
| file_path
stringlengths 15
223
| content
stringlengths 1
32.8M
⌀ |
---|---|---|---|
0 | repos/simulations/libs/system-sdk/macos12/usr | repos/simulations/libs/system-sdk/macos12/usr/lib/libobjc.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
uuids:
- target: x86_64-macos
value: 545FCC38-D142-3233-9F29-4537E036E7AB
- target: x86_64-maccatalyst
value: 545FCC38-D142-3233-9F29-4537E036E7AB
- target: x86_64h-macos
value: B77DA6D6-B28E-3021-A1AD-D90468442876
- target: x86_64h-maccatalyst
value: B77DA6D6-B28E-3021-A1AD-D90468442876
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64-maccatalyst
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 8FCA2160-F786-398A-AEAC-2B3D5BD72BB8
- target: arm64e-maccatalyst
value: 8FCA2160-F786-398A-AEAC-2B3D5BD72BB8
install-name: '/usr/lib/libobjc.A.dylib'
current-version: 228
exports:
- targets: [ x86_64-macos, x86_64h-macos ]
symbols: [ '$ld$hide$os10.5$_OBJC_CLASS_$_NSObject', '$ld$hide$os10.5$_OBJC_IVAR_$_NSObject.isa',
'$ld$hide$os10.5$_OBJC_METACLASS_$_NSObject', '$ld$hide$os10.6$_OBJC_CLASS_$_NSObject',
'$ld$hide$os10.6$_OBJC_IVAR_$_NSObject.isa', '$ld$hide$os10.6$_OBJC_METACLASS_$_NSObject',
'$ld$hide$os10.7$_OBJC_CLASS_$_NSObject', '$ld$hide$os10.7$_OBJC_IVAR_$_NSObject.isa',
'$ld$hide$os10.7$_OBJC_METACLASS_$_NSObject', _objc_msgSendSuper2_fixup,
_objc_msgSendSuper2_stret_fixup, _objc_msgSend_fixup, _objc_msgSend_fp2ret_fixup,
_objc_msgSend_fpret_fixup, _objc_msgSend_stret_fixup ]
- targets: [ x86_64-macos, x86_64h-macos, x86_64-maccatalyst, x86_64h-maccatalyst ]
symbols: [ _objc_msgLookup_fp2ret, _objc_msgLookup_fpret, _objc_msgSend_fp2ret,
_objc_msgSend_fp2ret_debug, _objc_msgSend_fpret, _objc_msgSend_fpret_debug ]
- targets: [ x86_64-macos, arm64e-macos, x86_64h-macos, x86_64-maccatalyst,
x86_64h-maccatalyst, arm64e-maccatalyst, arm64-macos, arm64-maccatalyst ]
symbols: [ _NXCompareHashTables, _NXCompareMapTables, _NXCopyHashTable,
_NXCountHashTable, _NXCountMapTable, _NXCreateHashTable, _NXCreateHashTableFromZone,
_NXCreateMapTable, _NXCreateMapTableFromZone, _NXEmptyHashTable,
_NXFreeHashTable, _NXFreeMapTable, _NXHashGet, _NXHashInsert,
_NXHashInsertIfAbsent, _NXHashMember, _NXHashRemove, _NXInitHashState,
_NXInitMapState, _NXMapGet, _NXMapInsert, _NXMapMember, _NXMapRemove,
_NXNextHashState, _NXNextMapState, _NXNoEffectFree, _NXPtrHash,
_NXPtrIsEqual, _NXPtrPrototype, _NXPtrStructKeyPrototype,
_NXPtrValueMapPrototype, _NXReallyFree, _NXResetHashTable,
_NXResetMapTable, _NXStrHash, _NXStrIsEqual, _NXStrPrototype,
_NXStrStructKeyPrototype, _NXStrValueMapPrototype, _OBJC_EHTYPE_id,
___objc_personality_v0, __class_getIvarMemoryManagement, __class_isFutureClass,
__class_isSwift, __method_setImplementationRawUnsafe, __objcInit,
__objc_addWillInitializeClassFunc, __objc_atfork_child, __objc_atfork_parent,
__objc_atfork_prepare, __objc_autoreleasePoolPop, __objc_autoreleasePoolPrint,
__objc_autoreleasePoolPush, __objc_deallocOnMainThreadHelper,
__objc_empty_cache, __objc_empty_vtable, __objc_flush_caches,
__objc_getClassForTag, __objc_getFreedObjectClass, __objc_has_weak_formation_callout,
__objc_init, __objc_msgForward, __objc_msgForward_stret, __objc_realizeClassFromSwift,
__objc_registerTaggedPointerClass, __objc_rootAlloc, __objc_rootAllocWithZone,
__objc_rootAutorelease, __objc_rootDealloc, __objc_rootFinalize,
__objc_rootHash, __objc_rootInit, __objc_rootIsDeallocating,
__objc_rootRelease, __objc_rootReleaseWasZero, __objc_rootRetain,
__objc_rootRetainCount, __objc_rootTryRetain, __objc_rootZone,
__objc_setBadAllocHandler, __objc_setClassCopyFixupHandler,
__protocol_getMethodTypeEncoding, _class_addIvar, _class_addMethod,
_class_addMethodsBulk, _class_addProperty, _class_addProtocol,
_class_conformsToProtocol, _class_copyImpCache, _class_copyIvarList,
_class_copyMethodList, _class_copyPropertyList, _class_copyProtocolList,
_class_createInstance, _class_createInstanceFromZone, _class_createInstances,
_class_getClassMethod, _class_getClassVariable, _class_getImageName,
_class_getInstanceMethod, _class_getInstanceSize, _class_getInstanceVariable,
_class_getIvarLayout, _class_getMethodImplementation, _class_getMethodImplementation_stret,
_class_getName, _class_getProperty, _class_getSuperclass,
_class_getVersion, _class_getWeakIvarLayout, _class_isMetaClass,
_class_lookupMethod, _class_replaceMethod, _class_replaceMethodsBulk,
_class_replaceProperty, _class_respondsToMethod, _class_respondsToSelector,
_class_setIvarLayout, _class_setSuperclass, _class_setVersion,
_class_setWeakIvarLayout, _gdb_class_getClass, _gdb_objc_realized_classes,
_gdb_object_getClass, _imp_getBlock, _imp_implementationWithBlock,
_imp_removeBlock, _instrumentObjcMessageSends, _ivar_getName,
_ivar_getOffset, _ivar_getTypeEncoding, _method_copyArgumentType,
_method_copyReturnType, _method_exchangeImplementations, _method_getArgumentType,
_method_getDescription, _method_getImplementation, _method_getName,
_method_getNumberOfArguments, _method_getReturnType, _method_getTypeEncoding,
_method_invoke, _method_invoke_stret, _method_setImplementation,
_objc_absolute_packed_isa_class_mask, _objc_addExceptionHandler,
_objc_addLoadImageFunc, _objc_alloc, _objc_allocWithZone,
_objc_alloc_init, _objc_allocateClassPair, _objc_allocateProtocol,
_objc_appRequiresGC, _objc_autorelease, _objc_autoreleasePoolPop,
_objc_autoreleasePoolPush, _objc_autoreleaseReturnValue, _objc_begin_catch,
_objc_cache_buckets, _objc_cache_bytesForCapacity, _objc_cache_capacity,
_objc_cache_occupied, _objc_class_abi_version, _objc_clear_deallocating,
_objc_collect_init, _objc_constructInstance, _objc_copyClassList,
_objc_copyClassNamesForImage, _objc_copyClassNamesForImageHeader,
_objc_copyClassesForImage, _objc_copyCppObjectAtomic, _objc_copyImageNames,
_objc_copyProtocolList, _objc_copyRealizedClassList, _objc_copyStruct,
_objc_copyWeak, _objc_debug_autoreleasepoolpage_child_offset,
_objc_debug_autoreleasepoolpage_depth_offset, _objc_debug_autoreleasepoolpage_hiwat_offset,
_objc_debug_autoreleasepoolpage_magic_offset, _objc_debug_autoreleasepoolpage_next_offset,
_objc_debug_autoreleasepoolpage_parent_offset, _objc_debug_autoreleasepoolpage_ptr_mask,
_objc_debug_autoreleasepoolpage_thread_offset, _objc_debug_class_getNameRaw,
_objc_debug_class_rw_data_mask, _objc_debug_constant_cfstring_tag_bits,
_objc_debug_indexed_isa_index_mask, _objc_debug_indexed_isa_index_shift,
_objc_debug_indexed_isa_magic_mask, _objc_debug_indexed_isa_magic_value,
_objc_debug_isa_class_mask, _objc_debug_isa_magic_mask, _objc_debug_isa_magic_value,
_objc_debug_realized_class_generation_count, _objc_debug_side_tables_map,
_objc_debug_swift_stable_abi_bit, _objc_debug_taggedpointer_classes,
_objc_debug_taggedpointer_ext_classes, _objc_debug_taggedpointer_ext_mask,
_objc_debug_taggedpointer_ext_payload_lshift, _objc_debug_taggedpointer_ext_payload_rshift,
_objc_debug_taggedpointer_ext_slot_mask, _objc_debug_taggedpointer_ext_slot_shift,
_objc_debug_taggedpointer_mask, _objc_debug_taggedpointer_obfuscator,
_objc_debug_taggedpointer_payload_lshift, _objc_debug_taggedpointer_payload_rshift,
_objc_debug_taggedpointer_slot_mask, _objc_debug_taggedpointer_slot_shift,
_objc_destroyWeak, _objc_destructInstance, _objc_disposeClassPair,
_objc_dumpHeap, _objc_duplicateClass, _objc_ehtype_vtable,
_objc_end_catch, _objc_enumerationMutation, _objc_exception_rethrow,
_objc_exception_throw, _objc_getAssociatedObject, _objc_getClass,
_objc_getClassList, _objc_getFutureClass, _objc_getMetaClass,
_objc_getProperty, _objc_getProtocol, _objc_getRequiredClass,
_objc_indexed_classes, _objc_indexed_classes_count, _objc_initWeak,
_objc_initWeakOrNil, _objc_initializeClassPair, _objc_isAuto,
_objc_loadClassref, _objc_loadWeak, _objc_loadWeakRetained,
_objc_lookUpClass, _objc_moveWeak, _objc_msgLookup, _objc_msgLookupSuper2,
_objc_msgLookupSuper2_stret, _objc_msgLookup_stret, _objc_msgSend,
_objc_msgSendSuper, _objc_msgSendSuper2, _objc_msgSendSuper2_debug,
_objc_msgSendSuper2_stret, _objc_msgSendSuper2_stret_debug,
_objc_msgSendSuper_stret, _objc_msgSend_debug, _objc_msgSend_noarg,
_objc_msgSend_stret, _objc_msgSend_stret_debug, _objc_opt_class,
_objc_opt_isKindOfClass, _objc_opt_new, _objc_opt_respondsToSelector,
_objc_opt_self, _objc_readClassPair, _objc_registerClassPair,
_objc_registerProtocol, _objc_release, _objc_removeAssociatedObjects,
_objc_removeExceptionHandler, _objc_retain, _objc_retainAutorelease,
_objc_retainAutoreleaseReturnValue, _objc_retainAutoreleasedReturnValue,
_objc_retainBlock, _objc_retain_autorelease, _objc_retainedObject,
_objc_setAssociatedObject, _objc_setEnumerationMutationHandler,
_objc_setExceptionMatcher, _objc_setExceptionPreprocessor,
_objc_setForwardHandler, _objc_setHook_getClass, _objc_setHook_getImageName,
_objc_setHook_lazyClassNamer, _objc_setProperty, _objc_setProperty_atomic,
_objc_setProperty_atomic_copy, _objc_setProperty_nonatomic,
_objc_setProperty_nonatomic_copy, _objc_setUncaughtExceptionHandler,
_objc_should_deallocate, _objc_storeStrong, _objc_storeWeak,
_objc_storeWeakOrNil, _objc_sync_enter, _objc_sync_exit, _objc_sync_try_enter,
_objc_terminate, _objc_unretainedObject, _objc_unretainedPointer,
_objc_unsafeClaimAutoreleasedReturnValue, _object_copy, _object_copyFromZone,
_object_dispose, _object_getClass, _object_getClassName, _object_getIndexedIvars,
_object_getInstanceVariable, _object_getIvar, _object_getMethodImplementation,
_object_getMethodImplementation_stret, _object_isClass, _object_setClass,
_object_setInstanceVariable, _object_setInstanceVariableWithStrongDefault,
_object_setIvar, _object_setIvarWithStrongDefault, _property_copyAttributeList,
_property_copyAttributeValue, _property_getAttributes, _property_getName,
_protocol_addMethodDescription, _protocol_addProperty, _protocol_addProtocol,
_protocol_conformsToProtocol, _protocol_copyMethodDescriptionList,
_protocol_copyPropertyList, _protocol_copyPropertyList2, _protocol_copyProtocolList,
_protocol_getMethodDescription, _protocol_getName, _protocol_getProperty,
_protocol_isEqual, _sel_getName, _sel_getUid, _sel_hash, _sel_isEqual,
_sel_isMapped, _sel_lookUpByName, _sel_registerName ]
objc-classes: [ NSObject, Object, Protocol ]
objc-ivars: [ NSObject.isa, Object.isa ]
- targets: [ x86_64-macos, arm64e-macos, x86_64h-macos, arm64-macos ]
symbols: [ _objc_allocate_object, _objc_assertRegisteredThreadWithCollector,
_objc_assign_global, _objc_assign_ivar, _objc_assign_strongCast,
_objc_assign_threadlocal, _objc_assign_weak, _objc_atomicCompareAndSwapGlobal,
_objc_atomicCompareAndSwapGlobalBarrier, _objc_atomicCompareAndSwapInstanceVariable,
_objc_atomicCompareAndSwapInstanceVariableBarrier, _objc_atomicCompareAndSwapPtr,
_objc_atomicCompareAndSwapPtrBarrier, _objc_clear_stack, _objc_collect,
_objc_collectableZone, _objc_collectingEnabled, _objc_collecting_enabled,
_objc_finalizeOnMainThread, _objc_is_finalized, _objc_memmove_collectable,
_objc_read_weak, _objc_registerThreadWithCollector, _objc_setCollectionRatio,
_objc_setCollectionThreshold, _objc_set_collection_ratio,
_objc_set_collection_threshold, _objc_startCollectorThread,
_objc_start_collector_thread, _objc_unregisterThreadWithCollector ]
- targets: [ arm64e-macos, arm64e-maccatalyst, arm64-macos, arm64-maccatalyst ]
symbols: [ _objc_debug_tag60_permutations ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/usr | repos/simulations/libs/system-sdk/macos12/usr/lib/libobjc.A.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst,
arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ]
uuids:
- target: x86_64-macos
value: 545FCC38-D142-3233-9F29-4537E036E7AB
- target: x86_64-maccatalyst
value: 545FCC38-D142-3233-9F29-4537E036E7AB
- target: x86_64h-macos
value: B77DA6D6-B28E-3021-A1AD-D90468442876
- target: x86_64h-maccatalyst
value: B77DA6D6-B28E-3021-A1AD-D90468442876
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64-maccatalyst
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 8FCA2160-F786-398A-AEAC-2B3D5BD72BB8
- target: arm64e-maccatalyst
value: 8FCA2160-F786-398A-AEAC-2B3D5BD72BB8
install-name: '/usr/lib/libobjc.A.dylib'
current-version: 228
exports:
- targets: [ x86_64-macos, x86_64h-macos ]
symbols: [ '$ld$hide$os10.5$_OBJC_CLASS_$_NSObject', '$ld$hide$os10.5$_OBJC_IVAR_$_NSObject.isa',
'$ld$hide$os10.5$_OBJC_METACLASS_$_NSObject', '$ld$hide$os10.6$_OBJC_CLASS_$_NSObject',
'$ld$hide$os10.6$_OBJC_IVAR_$_NSObject.isa', '$ld$hide$os10.6$_OBJC_METACLASS_$_NSObject',
'$ld$hide$os10.7$_OBJC_CLASS_$_NSObject', '$ld$hide$os10.7$_OBJC_IVAR_$_NSObject.isa',
'$ld$hide$os10.7$_OBJC_METACLASS_$_NSObject', _objc_msgSendSuper2_fixup,
_objc_msgSendSuper2_stret_fixup, _objc_msgSend_fixup, _objc_msgSend_fp2ret_fixup,
_objc_msgSend_fpret_fixup, _objc_msgSend_stret_fixup ]
- targets: [ x86_64-macos, x86_64h-macos, x86_64-maccatalyst, x86_64h-maccatalyst ]
symbols: [ _objc_msgLookup_fp2ret, _objc_msgLookup_fpret, _objc_msgSend_fp2ret,
_objc_msgSend_fp2ret_debug, _objc_msgSend_fpret, _objc_msgSend_fpret_debug ]
- targets: [ x86_64-macos, arm64e-macos, x86_64h-macos, x86_64-maccatalyst,
x86_64h-maccatalyst, arm64e-maccatalyst, arm64-macos, arm64-maccatalyst ]
symbols: [ _NXCompareHashTables, _NXCompareMapTables, _NXCopyHashTable,
_NXCountHashTable, _NXCountMapTable, _NXCreateHashTable, _NXCreateHashTableFromZone,
_NXCreateMapTable, _NXCreateMapTableFromZone, _NXEmptyHashTable,
_NXFreeHashTable, _NXFreeMapTable, _NXHashGet, _NXHashInsert,
_NXHashInsertIfAbsent, _NXHashMember, _NXHashRemove, _NXInitHashState,
_NXInitMapState, _NXMapGet, _NXMapInsert, _NXMapMember, _NXMapRemove,
_NXNextHashState, _NXNextMapState, _NXNoEffectFree, _NXPtrHash,
_NXPtrIsEqual, _NXPtrPrototype, _NXPtrStructKeyPrototype,
_NXPtrValueMapPrototype, _NXReallyFree, _NXResetHashTable,
_NXResetMapTable, _NXStrHash, _NXStrIsEqual, _NXStrPrototype,
_NXStrStructKeyPrototype, _NXStrValueMapPrototype, _OBJC_EHTYPE_id,
___objc_personality_v0, __class_getIvarMemoryManagement, __class_isFutureClass,
__class_isSwift, __method_setImplementationRawUnsafe, __objcInit,
__objc_addWillInitializeClassFunc, __objc_atfork_child, __objc_atfork_parent,
__objc_atfork_prepare, __objc_autoreleasePoolPop, __objc_autoreleasePoolPrint,
__objc_autoreleasePoolPush, __objc_deallocOnMainThreadHelper,
__objc_empty_cache, __objc_empty_vtable, __objc_flush_caches,
__objc_getClassForTag, __objc_getFreedObjectClass, __objc_has_weak_formation_callout,
__objc_init, __objc_msgForward, __objc_msgForward_stret, __objc_realizeClassFromSwift,
__objc_registerTaggedPointerClass, __objc_rootAlloc, __objc_rootAllocWithZone,
__objc_rootAutorelease, __objc_rootDealloc, __objc_rootFinalize,
__objc_rootHash, __objc_rootInit, __objc_rootIsDeallocating,
__objc_rootRelease, __objc_rootReleaseWasZero, __objc_rootRetain,
__objc_rootRetainCount, __objc_rootTryRetain, __objc_rootZone,
__objc_setBadAllocHandler, __objc_setClassCopyFixupHandler,
__protocol_getMethodTypeEncoding, _class_addIvar, _class_addMethod,
_class_addMethodsBulk, _class_addProperty, _class_addProtocol,
_class_conformsToProtocol, _class_copyImpCache, _class_copyIvarList,
_class_copyMethodList, _class_copyPropertyList, _class_copyProtocolList,
_class_createInstance, _class_createInstanceFromZone, _class_createInstances,
_class_getClassMethod, _class_getClassVariable, _class_getImageName,
_class_getInstanceMethod, _class_getInstanceSize, _class_getInstanceVariable,
_class_getIvarLayout, _class_getMethodImplementation, _class_getMethodImplementation_stret,
_class_getName, _class_getProperty, _class_getSuperclass,
_class_getVersion, _class_getWeakIvarLayout, _class_isMetaClass,
_class_lookupMethod, _class_replaceMethod, _class_replaceMethodsBulk,
_class_replaceProperty, _class_respondsToMethod, _class_respondsToSelector,
_class_setIvarLayout, _class_setSuperclass, _class_setVersion,
_class_setWeakIvarLayout, _gdb_class_getClass, _gdb_objc_realized_classes,
_gdb_object_getClass, _imp_getBlock, _imp_implementationWithBlock,
_imp_removeBlock, _instrumentObjcMessageSends, _ivar_getName,
_ivar_getOffset, _ivar_getTypeEncoding, _method_copyArgumentType,
_method_copyReturnType, _method_exchangeImplementations, _method_getArgumentType,
_method_getDescription, _method_getImplementation, _method_getName,
_method_getNumberOfArguments, _method_getReturnType, _method_getTypeEncoding,
_method_invoke, _method_invoke_stret, _method_setImplementation,
_objc_absolute_packed_isa_class_mask, _objc_addExceptionHandler,
_objc_addLoadImageFunc, _objc_alloc, _objc_allocWithZone,
_objc_alloc_init, _objc_allocateClassPair, _objc_allocateProtocol,
_objc_appRequiresGC, _objc_autorelease, _objc_autoreleasePoolPop,
_objc_autoreleasePoolPush, _objc_autoreleaseReturnValue, _objc_begin_catch,
_objc_cache_buckets, _objc_cache_bytesForCapacity, _objc_cache_capacity,
_objc_cache_occupied, _objc_class_abi_version, _objc_clear_deallocating,
_objc_collect_init, _objc_constructInstance, _objc_copyClassList,
_objc_copyClassNamesForImage, _objc_copyClassNamesForImageHeader,
_objc_copyClassesForImage, _objc_copyCppObjectAtomic, _objc_copyImageNames,
_objc_copyProtocolList, _objc_copyRealizedClassList, _objc_copyStruct,
_objc_copyWeak, _objc_debug_autoreleasepoolpage_child_offset,
_objc_debug_autoreleasepoolpage_depth_offset, _objc_debug_autoreleasepoolpage_hiwat_offset,
_objc_debug_autoreleasepoolpage_magic_offset, _objc_debug_autoreleasepoolpage_next_offset,
_objc_debug_autoreleasepoolpage_parent_offset, _objc_debug_autoreleasepoolpage_ptr_mask,
_objc_debug_autoreleasepoolpage_thread_offset, _objc_debug_class_getNameRaw,
_objc_debug_class_rw_data_mask, _objc_debug_constant_cfstring_tag_bits,
_objc_debug_indexed_isa_index_mask, _objc_debug_indexed_isa_index_shift,
_objc_debug_indexed_isa_magic_mask, _objc_debug_indexed_isa_magic_value,
_objc_debug_isa_class_mask, _objc_debug_isa_magic_mask, _objc_debug_isa_magic_value,
_objc_debug_realized_class_generation_count, _objc_debug_side_tables_map,
_objc_debug_swift_stable_abi_bit, _objc_debug_taggedpointer_classes,
_objc_debug_taggedpointer_ext_classes, _objc_debug_taggedpointer_ext_mask,
_objc_debug_taggedpointer_ext_payload_lshift, _objc_debug_taggedpointer_ext_payload_rshift,
_objc_debug_taggedpointer_ext_slot_mask, _objc_debug_taggedpointer_ext_slot_shift,
_objc_debug_taggedpointer_mask, _objc_debug_taggedpointer_obfuscator,
_objc_debug_taggedpointer_payload_lshift, _objc_debug_taggedpointer_payload_rshift,
_objc_debug_taggedpointer_slot_mask, _objc_debug_taggedpointer_slot_shift,
_objc_destroyWeak, _objc_destructInstance, _objc_disposeClassPair,
_objc_dumpHeap, _objc_duplicateClass, _objc_ehtype_vtable,
_objc_end_catch, _objc_enumerationMutation, _objc_exception_rethrow,
_objc_exception_throw, _objc_getAssociatedObject, _objc_getClass,
_objc_getClassList, _objc_getFutureClass, _objc_getMetaClass,
_objc_getProperty, _objc_getProtocol, _objc_getRequiredClass,
_objc_indexed_classes, _objc_indexed_classes_count, _objc_initWeak,
_objc_initWeakOrNil, _objc_initializeClassPair, _objc_isAuto,
_objc_loadClassref, _objc_loadWeak, _objc_loadWeakRetained,
_objc_lookUpClass, _objc_moveWeak, _objc_msgLookup, _objc_msgLookupSuper2,
_objc_msgLookupSuper2_stret, _objc_msgLookup_stret, _objc_msgSend,
_objc_msgSendSuper, _objc_msgSendSuper2, _objc_msgSendSuper2_debug,
_objc_msgSendSuper2_stret, _objc_msgSendSuper2_stret_debug,
_objc_msgSendSuper_stret, _objc_msgSend_debug, _objc_msgSend_noarg,
_objc_msgSend_stret, _objc_msgSend_stret_debug, _objc_opt_class,
_objc_opt_isKindOfClass, _objc_opt_new, _objc_opt_respondsToSelector,
_objc_opt_self, _objc_readClassPair, _objc_registerClassPair,
_objc_registerProtocol, _objc_release, _objc_removeAssociatedObjects,
_objc_removeExceptionHandler, _objc_retain, _objc_retainAutorelease,
_objc_retainAutoreleaseReturnValue, _objc_retainAutoreleasedReturnValue,
_objc_retainBlock, _objc_retain_autorelease, _objc_retainedObject,
_objc_setAssociatedObject, _objc_setEnumerationMutationHandler,
_objc_setExceptionMatcher, _objc_setExceptionPreprocessor,
_objc_setForwardHandler, _objc_setHook_getClass, _objc_setHook_getImageName,
_objc_setHook_lazyClassNamer, _objc_setProperty, _objc_setProperty_atomic,
_objc_setProperty_atomic_copy, _objc_setProperty_nonatomic,
_objc_setProperty_nonatomic_copy, _objc_setUncaughtExceptionHandler,
_objc_should_deallocate, _objc_storeStrong, _objc_storeWeak,
_objc_storeWeakOrNil, _objc_sync_enter, _objc_sync_exit, _objc_sync_try_enter,
_objc_terminate, _objc_unretainedObject, _objc_unretainedPointer,
_objc_unsafeClaimAutoreleasedReturnValue, _object_copy, _object_copyFromZone,
_object_dispose, _object_getClass, _object_getClassName, _object_getIndexedIvars,
_object_getInstanceVariable, _object_getIvar, _object_getMethodImplementation,
_object_getMethodImplementation_stret, _object_isClass, _object_setClass,
_object_setInstanceVariable, _object_setInstanceVariableWithStrongDefault,
_object_setIvar, _object_setIvarWithStrongDefault, _property_copyAttributeList,
_property_copyAttributeValue, _property_getAttributes, _property_getName,
_protocol_addMethodDescription, _protocol_addProperty, _protocol_addProtocol,
_protocol_conformsToProtocol, _protocol_copyMethodDescriptionList,
_protocol_copyPropertyList, _protocol_copyPropertyList2, _protocol_copyProtocolList,
_protocol_getMethodDescription, _protocol_getName, _protocol_getProperty,
_protocol_isEqual, _sel_getName, _sel_getUid, _sel_hash, _sel_isEqual,
_sel_isMapped, _sel_lookUpByName, _sel_registerName ]
objc-classes: [ NSObject, Object, Protocol ]
objc-ivars: [ NSObject.isa, Object.isa ]
- targets: [ x86_64-macos, arm64e-macos, x86_64h-macos, arm64-macos ]
symbols: [ _objc_allocate_object, _objc_assertRegisteredThreadWithCollector,
_objc_assign_global, _objc_assign_ivar, _objc_assign_strongCast,
_objc_assign_threadlocal, _objc_assign_weak, _objc_atomicCompareAndSwapGlobal,
_objc_atomicCompareAndSwapGlobalBarrier, _objc_atomicCompareAndSwapInstanceVariable,
_objc_atomicCompareAndSwapInstanceVariableBarrier, _objc_atomicCompareAndSwapPtr,
_objc_atomicCompareAndSwapPtrBarrier, _objc_clear_stack, _objc_collect,
_objc_collectableZone, _objc_collectingEnabled, _objc_collecting_enabled,
_objc_finalizeOnMainThread, _objc_is_finalized, _objc_memmove_collectable,
_objc_read_weak, _objc_registerThreadWithCollector, _objc_setCollectionRatio,
_objc_setCollectionThreshold, _objc_set_collection_ratio,
_objc_set_collection_threshold, _objc_startCollectorThread,
_objc_start_collector_thread, _objc_unregisterThreadWithCollector ]
- targets: [ arm64e-macos, arm64e-maccatalyst, arm64-macos, arm64-maccatalyst ]
symbols: [ _objc_debug_tag60_permutations ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/OpenGL.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: BFA5931B-C1D4-35F8-A661-70034B0846C9
- target: x86_64-maccatalyst
value: BFA5931B-C1D4-35F8-A661-70034B0846C9
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 678D925C-5905-3305-9A0D-076055019F02
- target: arm64e-maccatalyst
value: 678D925C-5905-3305-9A0D-076055019F02
install-name: '/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL'
exports:
- targets: [ x86_64-macos, arm64e-macos, x86_64-maccatalyst, arm64-macos ]
symbols: [ _CGLAreContextsShared, _CGLBackDispatch, _CGLChoosePixelFormat,
_CGLClearDrawable, _CGLCopyContext, _CGLCreateContext, _CGLCreatePBuffer,
_CGLDescribePBuffer, _CGLDescribePixelFormat, _CGLDescribeRenderer,
_CGLDestroyContext, _CGLDestroyPBuffer, _CGLDestroyPixelFormat,
_CGLDestroyRendererInfo, _CGLDisable, _CGLEnable, _CGLErrorString,
_CGLFlushDrawable, _CGLFrontDispatch, _CGLGetContextRetainCount,
_CGLGetDeviceFromGLRenderer, _CGLGetGlobalOption, _CGLGetNextContext,
_CGLGetOffScreen, _CGLGetOption, _CGLGetPBuffer, _CGLGetPBufferRetainCount,
_CGLGetParameter, _CGLGetPixelFormat, _CGLGetPixelFormatRetainCount,
_CGLGetShareGroup, _CGLGetSurface, _CGLGetVersion, _CGLGetVirtualScreen,
_CGLIsEnabled, _CGLLockContext, _CGLOpenCLMuxLockDown, _CGLQueryRendererInfo,
_CGLRegisterDestroyPBufferCallback, _CGLReleaseContext, _CGLReleasePBuffer,
_CGLReleasePixelFormat, _CGLRestoreDispatch, _CGLRestoreDispatchFunction,
_CGLRetainContext, _CGLRetainPBuffer, _CGLRetainPixelFormat,
_CGLSelectDispatch, _CGLSelectDispatchBounded, _CGLSelectDispatchFunction,
_CGLSetFullScreen, _CGLSetFullScreenOnDisplay, _CGLSetGlobalOption,
_CGLSetOffScreen, _CGLSetOption, _CGLSetPBuffer, _CGLSetPBufferVolatileState,
_CGLSetParameter, _CGLSetSurface, _CGLSetVirtualScreen, _CGLTexImageIOSurface2D,
_CGLTexImagePBuffer, _CGLUnlockContext, _CGLUnregisterDestroyPBufferCallback,
_CGLUpdateContext, _GLCDescribePixelFormat, _GLCGetPBuffer,
_GLCGetParameter, _GLCGetProfilerStorage, _GLCGetSurface,
_GLCGetVirtualScreen, _GLCSetProfilerStorage, _cglBadApplicationNotMuxAwareLockDown,
_glcDebugListener, _glcGetIOAccelService, _glcNoop, _glcPluginConnect,
_glcPluginCount, _glcPluginDisconnect, _glcRecordError ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: E14C37B5-013C-375E-A84D-2C7A87DC4942
- target: x86_64-maccatalyst
value: E14C37B5-013C-375E-A84D-2C7A87DC4942
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 8B8CB88B-034A-3199-9843-97D397F04110
- target: arm64e-maccatalyst
value: 8B8CB88B-034A-3199-9843-97D397F04110
install-name: '/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
exports:
- targets: [ x86_64-macos, arm64e-macos, x86_64-maccatalyst, arm64-macos ]
symbols: [ _CGLGetCurrentContext, _CGLSetCurrentContext, _glAccum, _glActiveShaderProgram,
_glActiveStencilFaceEXT, _glActiveTexture, _glActiveTextureARB,
_glAlphaFunc, _glAreTexturesResident, _glArrayElement, _glAttachObjectARB,
_glAttachShader, _glBegin, _glBeginConditionalRender, _glBeginConditionalRenderNV,
_glBeginQuery, _glBeginQueryARB, _glBeginQueryIndexed, _glBeginTransformFeedback,
_glBeginTransformFeedbackEXT, _glBindAttribLocation, _glBindAttribLocationARB,
_glBindBuffer, _glBindBufferARB, _glBindBufferBase, _glBindBufferBaseEXT,
_glBindBufferOffsetEXT, _glBindBufferRange, _glBindBufferRangeEXT,
_glBindFragDataLocation, _glBindFragDataLocationEXT, _glBindFragDataLocationIndexed,
_glBindFramebuffer, _glBindFramebufferEXT, _glBindProgramARB,
_glBindProgramPipeline, _glBindRenderbuffer, _glBindRenderbufferEXT,
_glBindSampler, _glBindTexture, _glBindTransformFeedback,
_glBindVertexArray, _glBindVertexArrayAPPLE, _glBitmap, _glBlendColor,
_glBlendColorEXT, _glBlendEquation, _glBlendEquationEXT, _glBlendEquationSeparate,
_glBlendEquationSeparateATI, _glBlendEquationSeparateEXT,
_glBlendEquationSeparatei, _glBlendEquationSeparateiARB, _glBlendEquationi,
_glBlendEquationiARB, _glBlendFunc, _glBlendFuncSeparate,
_glBlendFuncSeparateEXT, _glBlendFuncSeparatei, _glBlendFuncSeparateiARB,
_glBlendFunci, _glBlendFunciARB, _glBlitFramebuffer, _glBlitFramebufferEXT,
_glBufferData, _glBufferDataARB, _glBufferParameteriAPPLE,
_glBufferSubData, _glBufferSubDataARB, _glCallList, _glCallLists,
_glCheckFramebufferStatus, _glCheckFramebufferStatusEXT, _glClampColor,
_glClampColorARB, _glClear, _glClearAccum, _glClearBufferfi,
_glClearBufferfv, _glClearBufferiv, _glClearBufferuiv, _glClearColor,
_glClearColorIiEXT, _glClearColorIuiEXT, _glClearDepth, _glClearDepthf,
_glClearIndex, _glClearStencil, _glClientActiveTexture, _glClientActiveTextureARB,
_glClientWaitSync, _glClipPlane, _glColor3b, _glColor3bv,
_glColor3d, _glColor3dv, _glColor3f, _glColor3fv, _glColor3i,
_glColor3iv, _glColor3s, _glColor3sv, _glColor3ub, _glColor3ubv,
_glColor3ui, _glColor3uiv, _glColor3us, _glColor3usv, _glColor4b,
_glColor4bv, _glColor4d, _glColor4dv, _glColor4f, _glColor4fv,
_glColor4i, _glColor4iv, _glColor4s, _glColor4sv, _glColor4ub,
_glColor4ubv, _glColor4ui, _glColor4uiv, _glColor4us, _glColor4usv,
_glColorMask, _glColorMaskIndexedEXT, _glColorMaski, _glColorMaterial,
_glColorPointer, _glColorSubTable, _glColorSubTableEXT, _glColorTable,
_glColorTableEXT, _glColorTableParameterfv, _glColorTableParameteriv,
_glCombinerInputNV, _glCombinerOutputNV, _glCombinerParameterfNV,
_glCombinerParameterfvNV, _glCombinerParameteriNV, _glCombinerParameterivNV,
_glCombinerStageParameterfvNV, _glCompileShader, _glCompileShaderARB,
_glCompileShaderIncludeARB, _glCompressedTexImage1D, _glCompressedTexImage1DARB,
_glCompressedTexImage2D, _glCompressedTexImage2DARB, _glCompressedTexImage3D,
_glCompressedTexImage3DARB, _glCompressedTexSubImage1D, _glCompressedTexSubImage1DARB,
_glCompressedTexSubImage2D, _glCompressedTexSubImage2DARB,
_glCompressedTexSubImage3D, _glCompressedTexSubImage3DARB,
_glConvolutionFilter1D, _glConvolutionFilter2D, _glConvolutionParameterf,
_glConvolutionParameterfv, _glConvolutionParameteri, _glConvolutionParameteriv,
_glCopyBufferSubData, _glCopyColorSubTable, _glCopyColorTable,
_glCopyConvolutionFilter1D, _glCopyConvolutionFilter2D, _glCopyPixels,
_glCopyTexImage1D, _glCopyTexImage2D, _glCopyTexSubImage1D,
_glCopyTexSubImage2D, _glCopyTexSubImage3D, _glCreateProgram,
_glCreateProgramObjectARB, _glCreateShader, _glCreateShaderObjectARB,
_glCreateShaderProgramv, _glCullFace, _glDeleteBuffers, _glDeleteBuffersARB,
_glDeleteFencesAPPLE, _glDeleteFramebuffers, _glDeleteFramebuffersEXT,
_glDeleteLists, _glDeleteNamedStringARB, _glDeleteObjectARB,
_glDeleteProgram, _glDeleteProgramPipelines, _glDeleteProgramsARB,
_glDeleteQueries, _glDeleteQueriesARB, _glDeleteRenderbuffers,
_glDeleteRenderbuffersEXT, _glDeleteSamplers, _glDeleteShader,
_glDeleteSync, _glDeleteTextures, _glDeleteTransformFeedbacks,
_glDeleteVertexArrays, _glDeleteVertexArraysAPPLE, _glDepthBoundsEXT,
_glDepthFunc, _glDepthMask, _glDepthRange, _glDepthRangeArrayv,
_glDepthRangeIndexed, _glDepthRangef, _glDetachObjectARB,
_glDetachShader, _glDisable, _glDisableClientState, _glDisableIndexedEXT,
_glDisableVertexAttribAPPLE, _glDisableVertexAttribArray,
_glDisableVertexAttribArrayARB, _glDisablei, _glDrawArrays,
_glDrawArraysIndirect, _glDrawArraysInstanced, _glDrawArraysInstancedARB,
_glDrawBuffer, _glDrawBuffers, _glDrawBuffersARB, _glDrawElementArrayAPPLE,
_glDrawElements, _glDrawElementsBaseVertex, _glDrawElementsIndirect,
_glDrawElementsInstanced, _glDrawElementsInstancedARB, _glDrawElementsInstancedBaseVertex,
_glDrawPixels, _glDrawRangeElementArrayAPPLE, _glDrawRangeElements,
_glDrawRangeElementsBaseVertex, _glDrawRangeElementsEXT, _glDrawTransformFeedback,
_glDrawTransformFeedbackStream, _glEdgeFlag, _glEdgeFlagPointer,
_glEdgeFlagv, _glElementPointerAPPLE, _glEnable, _glEnableClientState,
_glEnableIndexedEXT, _glEnableVertexAttribAPPLE, _glEnableVertexAttribArray,
_glEnableVertexAttribArrayARB, _glEnablei, _glEnd, _glEndConditionalRender,
_glEndConditionalRenderNV, _glEndList, _glEndQuery, _glEndQueryARB,
_glEndQueryIndexed, _glEndTransformFeedback, _glEndTransformFeedbackEXT,
_glEvalCoord1d, _glEvalCoord1dv, _glEvalCoord1f, _glEvalCoord1fv,
_glEvalCoord2d, _glEvalCoord2dv, _glEvalCoord2f, _glEvalCoord2fv,
_glEvalMesh1, _glEvalMesh2, _glEvalPoint1, _glEvalPoint2,
_glFeedbackBuffer, _glFenceSync, _glFinalCombinerInputNV,
_glFinish, _glFinishFenceAPPLE, _glFinishObjectAPPLE, _glFinishRenderAPPLE,
_glFlush, _glFlushMappedBufferRange, _glFlushMappedBufferRangeAPPLE,
_glFlushRenderAPPLE, _glFlushVertexArrayRangeAPPLE, _glFogCoordPointer,
_glFogCoordPointerEXT, _glFogCoordd, _glFogCoorddEXT, _glFogCoorddv,
_glFogCoorddvEXT, _glFogCoordf, _glFogCoordfEXT, _glFogCoordfv,
_glFogCoordfvEXT, _glFogf, _glFogfv, _glFogi, _glFogiv, _glFramebufferRenderbuffer,
_glFramebufferRenderbufferEXT, _glFramebufferTexture, _glFramebufferTexture1D,
_glFramebufferTexture1DEXT, _glFramebufferTexture2D, _glFramebufferTexture2DEXT,
_glFramebufferTexture3D, _glFramebufferTexture3DEXT, _glFramebufferTextureEXT,
_glFramebufferTextureFaceEXT, _glFramebufferTextureLayer,
_glFramebufferTextureLayerEXT, _glFrontFace, _glFrustum, _glGenBuffers,
_glGenBuffersARB, _glGenFencesAPPLE, _glGenFramebuffers, _glGenFramebuffersEXT,
_glGenLists, _glGenProgramPipelines, _glGenProgramsARB, _glGenQueries,
_glGenQueriesARB, _glGenRenderbuffers, _glGenRenderbuffersEXT,
_glGenSamplers, _glGenTextures, _glGenTransformFeedbacks,
_glGenVertexArrays, _glGenVertexArraysAPPLE, _glGenerateMipmap,
_glGenerateMipmapEXT, _glGetActiveAttrib, _glGetActiveAttribARB,
_glGetActiveSubroutineName, _glGetActiveSubroutineUniformName,
_glGetActiveSubroutineUniformiv, _glGetActiveUniform, _glGetActiveUniformARB,
_glGetActiveUniformBlockName, _glGetActiveUniformBlockiv,
_glGetActiveUniformName, _glGetActiveUniformsiv, _glGetAttachedObjectsARB,
_glGetAttachedShaders, _glGetAttribLocation, _glGetAttribLocationARB,
_glGetBooleanIndexedvEXT, _glGetBooleani_v, _glGetBooleanv,
_glGetBufferParameteri64v, _glGetBufferParameteriv, _glGetBufferParameterivARB,
_glGetBufferPointerv, _glGetBufferPointervARB, _glGetBufferSubData,
_glGetBufferSubDataARB, _glGetClipPlane, _glGetColorTable,
_glGetColorTableEXT, _glGetColorTableParameterfv, _glGetColorTableParameterfvEXT,
_glGetColorTableParameteriv, _glGetColorTableParameterivEXT,
_glGetCombinerInputParameterfvNV, _glGetCombinerInputParameterivNV,
_glGetCombinerOutputParameterfvNV, _glGetCombinerOutputParameterivNV,
_glGetCombinerStageParameterfvNV, _glGetCompressedTexImage,
_glGetCompressedTexImageARB, _glGetConvolutionFilter, _glGetConvolutionParameterfv,
_glGetConvolutionParameteriv, _glGetDoublei_v, _glGetDoublev,
_glGetError, _glGetFinalCombinerInputParameterfvNV, _glGetFinalCombinerInputParameterivNV,
_glGetFloati_v, _glGetFloatv, _glGetFragDataIndex, _glGetFragDataLocation,
_glGetFragDataLocationEXT, _glGetFramebufferAttachmentParameteriv,
_glGetFramebufferAttachmentParameterivEXT, _glGetHandleARB,
_glGetHistogram, _glGetHistogramParameterfv, _glGetHistogramParameteriv,
_glGetInfoLogARB, _glGetInteger64i_v, _glGetInteger64v, _glGetIntegerIndexedvEXT,
_glGetIntegeri_v, _glGetIntegerv, _glGetInternalformativ,
_glGetLightfv, _glGetLightiv, _glGetMapdv, _glGetMapfv, _glGetMapiv,
_glGetMaterialfv, _glGetMaterialiv, _glGetMinmax, _glGetMinmaxParameterfv,
_glGetMinmaxParameteriv, _glGetMultisamplefv, _glGetNamedStringARB,
_glGetNamedStringivARB, _glGetObjectLabelEXT, _glGetObjectParameterfvARB,
_glGetObjectParameterivAPPLE, _glGetObjectParameterivARB,
_glGetPixelMapfv, _glGetPixelMapuiv, _glGetPixelMapusv, _glGetPointerv,
_glGetPolygonStipple, _glGetProgramBinary, _glGetProgramEnvParameterdvARB,
_glGetProgramEnvParameterfvARB, _glGetProgramInfoLog, _glGetProgramLocalParameterdvARB,
_glGetProgramLocalParameterfvARB, _glGetProgramPipelineInfoLog,
_glGetProgramPipelineiv, _glGetProgramStageiv, _glGetProgramStringARB,
_glGetProgramiv, _glGetProgramivARB, _glGetQueryIndexediv,
_glGetQueryObjecti64v, _glGetQueryObjecti64vEXT, _glGetQueryObjectiv,
_glGetQueryObjectivARB, _glGetQueryObjectui64v, _glGetQueryObjectui64vEXT,
_glGetQueryObjectuiv, _glGetQueryObjectuivARB, _glGetQueryiv,
_glGetQueryivARB, _glGetRenderbufferParameteriv, _glGetRenderbufferParameterivEXT,
_glGetSamplerParameterIiv, _glGetSamplerParameterIuiv, _glGetSamplerParameterfv,
_glGetSamplerParameteriv, _glGetSeparableFilter, _glGetShaderInfoLog,
_glGetShaderPrecisionFormat, _glGetShaderSource, _glGetShaderSourceARB,
_glGetShaderiv, _glGetString, _glGetStringi, _glGetSubroutineIndex,
_glGetSubroutineUniformLocation, _glGetSynciv, _glGetTexEnvfv,
_glGetTexEnviv, _glGetTexGendv, _glGetTexGenfv, _glGetTexGeniv,
_glGetTexImage, _glGetTexLevelParameterfv, _glGetTexLevelParameteriv,
_glGetTexParameterIiv, _glGetTexParameterIivEXT, _glGetTexParameterIuiv,
_glGetTexParameterIuivEXT, _glGetTexParameterPointervAPPLE,
_glGetTexParameterfv, _glGetTexParameteriv, _glGetTransformFeedbackVarying,
_glGetTransformFeedbackVaryingEXT, _glGetUniformBlockIndex,
_glGetUniformBufferSizeEXT, _glGetUniformIndices, _glGetUniformLocation,
_glGetUniformLocationARB, _glGetUniformOffsetEXT, _glGetUniformSubroutineuiv,
_glGetUniformdv, _glGetUniformfv, _glGetUniformfvARB, _glGetUniformiv,
_glGetUniformivARB, _glGetUniformuiv, _glGetUniformuivEXT,
_glGetVertexAttribIiv, _glGetVertexAttribIivEXT, _glGetVertexAttribIuiv,
_glGetVertexAttribIuivEXT, _glGetVertexAttribLdv, _glGetVertexAttribPointerv,
_glGetVertexAttribPointervARB, _glGetVertexAttribdv, _glGetVertexAttribdvARB,
_glGetVertexAttribfv, _glGetVertexAttribfvARB, _glGetVertexAttribiv,
_glGetVertexAttribivARB, _glHint, _glHistogram, _glIndexMask,
_glIndexPointer, _glIndexd, _glIndexdv, _glIndexf, _glIndexfv,
_glIndexi, _glIndexiv, _glIndexs, _glIndexsv, _glIndexub,
_glIndexubv, _glInitNames, _glInsertEventMarkerEXT, _glInterleavedArrays,
_glIsBuffer, _glIsBufferARB, _glIsEnabled, _glIsEnabledIndexedEXT,
_glIsEnabledi, _glIsFenceAPPLE, _glIsFramebuffer, _glIsFramebufferEXT,
_glIsList, _glIsNamedStringARB, _glIsProgram, _glIsProgramARB,
_glIsProgramPipeline, _glIsQuery, _glIsQueryARB, _glIsRenderbuffer,
_glIsRenderbufferEXT, _glIsSampler, _glIsShader, _glIsSync,
_glIsTexture, _glIsTransformFeedback, _glIsVertexArray, _glIsVertexArrayAPPLE,
_glIsVertexAttribEnabledAPPLE, _glLabelObjectEXT, _glLabelObjectWithResponsibleProcessAPPLE,
_glLightModelf, _glLightModelfv, _glLightModeli, _glLightModeliv,
_glLightf, _glLightfv, _glLighti, _glLightiv, _glLineStipple,
_glLineWidth, _glLinkProgram, _glLinkProgramARB, _glListBase,
_glLoadIdentity, _glLoadMatrixd, _glLoadMatrixf, _glLoadName,
_glLoadTransposeMatrixd, _glLoadTransposeMatrixdARB, _glLoadTransposeMatrixf,
_glLoadTransposeMatrixfARB, _glLockArraysEXT, _glLogicOp,
_glMap1d, _glMap1f, _glMap2d, _glMap2f, _glMapBuffer, _glMapBufferARB,
_glMapBufferRange, _glMapGrid1d, _glMapGrid1f, _glMapGrid2d,
_glMapGrid2f, _glMapVertexAttrib1dAPPLE, _glMapVertexAttrib1fAPPLE,
_glMapVertexAttrib2dAPPLE, _glMapVertexAttrib2fAPPLE, _glMaterialf,
_glMaterialfv, _glMateriali, _glMaterialiv, _glMatrixMode,
_glMinSampleShading, _glMinSampleShadingARB, _glMinmax, _glMultMatrixd,
_glMultMatrixf, _glMultTransposeMatrixd, _glMultTransposeMatrixdARB,
_glMultTransposeMatrixf, _glMultTransposeMatrixfARB, _glMultiDrawArrays,
_glMultiDrawArraysEXT, _glMultiDrawElementArrayAPPLE, _glMultiDrawElements,
_glMultiDrawElementsBaseVertex, _glMultiDrawElementsEXT, _glMultiDrawElementsIndirectAPPLE,
_glMultiDrawElementsIndirectBaseInstanceAPPLE, _glMultiDrawRangeElementArrayAPPLE,
_glMultiTexCoord1d, _glMultiTexCoord1dARB, _glMultiTexCoord1dv,
_glMultiTexCoord1dvARB, _glMultiTexCoord1f, _glMultiTexCoord1fARB,
_glMultiTexCoord1fv, _glMultiTexCoord1fvARB, _glMultiTexCoord1i,
_glMultiTexCoord1iARB, _glMultiTexCoord1iv, _glMultiTexCoord1ivARB,
_glMultiTexCoord1s, _glMultiTexCoord1sARB, _glMultiTexCoord1sv,
_glMultiTexCoord1svARB, _glMultiTexCoord2d, _glMultiTexCoord2dARB,
_glMultiTexCoord2dv, _glMultiTexCoord2dvARB, _glMultiTexCoord2f,
_glMultiTexCoord2fARB, _glMultiTexCoord2fv, _glMultiTexCoord2fvARB,
_glMultiTexCoord2i, _glMultiTexCoord2iARB, _glMultiTexCoord2iv,
_glMultiTexCoord2ivARB, _glMultiTexCoord2s, _glMultiTexCoord2sARB,
_glMultiTexCoord2sv, _glMultiTexCoord2svARB, _glMultiTexCoord3d,
_glMultiTexCoord3dARB, _glMultiTexCoord3dv, _glMultiTexCoord3dvARB,
_glMultiTexCoord3f, _glMultiTexCoord3fARB, _glMultiTexCoord3fv,
_glMultiTexCoord3fvARB, _glMultiTexCoord3i, _glMultiTexCoord3iARB,
_glMultiTexCoord3iv, _glMultiTexCoord3ivARB, _glMultiTexCoord3s,
_glMultiTexCoord3sARB, _glMultiTexCoord3sv, _glMultiTexCoord3svARB,
_glMultiTexCoord4d, _glMultiTexCoord4dARB, _glMultiTexCoord4dv,
_glMultiTexCoord4dvARB, _glMultiTexCoord4f, _glMultiTexCoord4fARB,
_glMultiTexCoord4fv, _glMultiTexCoord4fvARB, _glMultiTexCoord4i,
_glMultiTexCoord4iARB, _glMultiTexCoord4iv, _glMultiTexCoord4ivARB,
_glMultiTexCoord4s, _glMultiTexCoord4sARB, _glMultiTexCoord4sv,
_glMultiTexCoord4svARB, _glNamedStringARB, _glNewList, _glNormal3b,
_glNormal3bv, _glNormal3d, _glNormal3dv, _glNormal3f, _glNormal3fv,
_glNormal3i, _glNormal3iv, _glNormal3s, _glNormal3sv, _glNormalPointer,
_glObjectPurgeableAPPLE, _glObjectUnpurgeableAPPLE, _glOrtho,
_glPNTrianglesfATI, _glPNTrianglesfATIX, _glPNTrianglesiATI,
_glPNTrianglesiATIX, _glPassThrough, _glPatchParameterfv,
_glPatchParameteri, _glPauseTransformFeedback, _glPixelMapfv,
_glPixelMapuiv, _glPixelMapusv, _glPixelStoref, _glPixelStorei,
_glPixelTransferf, _glPixelTransferi, _glPixelZoom, _glPointParameterf,
_glPointParameterfARB, _glPointParameterfv, _glPointParameterfvARB,
_glPointParameteri, _glPointParameteriNV, _glPointParameteriv,
_glPointParameterivNV, _glPointSize, _glPointSizePointerAPPLE,
_glPolygonMode, _glPolygonOffset, _glPolygonStipple, _glPopAttrib,
_glPopClientAttrib, _glPopGroupMarkerEXT, _glPopMatrix, _glPopName,
_glPrimitiveRestartIndex, _glPrioritizeTextures, _glProgramBinary,
_glProgramEnvParameter4dARB, _glProgramEnvParameter4dvARB,
_glProgramEnvParameter4fARB, _glProgramEnvParameter4fvARB,
_glProgramEnvParameters4fvEXT, _glProgramLocalParameter4dARB,
_glProgramLocalParameter4dvARB, _glProgramLocalParameter4fARB,
_glProgramLocalParameter4fvARB, _glProgramLocalParameters4fvEXT,
_glProgramParameteri, _glProgramParameteriEXT, _glProgramStringARB,
_glProgramUniform1d, _glProgramUniform1dv, _glProgramUniform1f,
_glProgramUniform1fv, _glProgramUniform1i, _glProgramUniform1iv,
_glProgramUniform1ui, _glProgramUniform1uiv, _glProgramUniform2d,
_glProgramUniform2dv, _glProgramUniform2f, _glProgramUniform2fv,
_glProgramUniform2i, _glProgramUniform2iv, _glProgramUniform2ui,
_glProgramUniform2uiv, _glProgramUniform3d, _glProgramUniform3dv,
_glProgramUniform3f, _glProgramUniform3fv, _glProgramUniform3i,
_glProgramUniform3iv, _glProgramUniform3ui, _glProgramUniform3uiv,
_glProgramUniform4d, _glProgramUniform4dv, _glProgramUniform4f,
_glProgramUniform4fv, _glProgramUniform4i, _glProgramUniform4iv,
_glProgramUniform4ui, _glProgramUniform4uiv, _glProgramUniformMatrix2dv,
_glProgramUniformMatrix2fv, _glProgramUniformMatrix2x3dv,
_glProgramUniformMatrix2x3fv, _glProgramUniformMatrix2x4dv,
_glProgramUniformMatrix2x4fv, _glProgramUniformMatrix3dv,
_glProgramUniformMatrix3fv, _glProgramUniformMatrix3x2dv,
_glProgramUniformMatrix3x2fv, _glProgramUniformMatrix3x4dv,
_glProgramUniformMatrix3x4fv, _glProgramUniformMatrix4dv,
_glProgramUniformMatrix4fv, _glProgramUniformMatrix4x2dv,
_glProgramUniformMatrix4x2fv, _glProgramUniformMatrix4x3dv,
_glProgramUniformMatrix4x3fv, _glProvokingVertex, _glProvokingVertexEXT,
_glPushAttrib, _glPushClientAttrib, _glPushGroupMarkerEXT,
_glPushMatrix, _glPushName, _glQueryCounter, _glRasterPos2d,
_glRasterPos2dv, _glRasterPos2f, _glRasterPos2fv, _glRasterPos2i,
_glRasterPos2iv, _glRasterPos2s, _glRasterPos2sv, _glRasterPos3d,
_glRasterPos3dv, _glRasterPos3f, _glRasterPos3fv, _glRasterPos3i,
_glRasterPos3iv, _glRasterPos3s, _glRasterPos3sv, _glRasterPos4d,
_glRasterPos4dv, _glRasterPos4f, _glRasterPos4fv, _glRasterPos4i,
_glRasterPos4iv, _glRasterPos4s, _glRasterPos4sv, _glReadBuffer,
_glReadPixels, _glRectd, _glRectdv, _glRectf, _glRectfv, _glRecti,
_glRectiv, _glRects, _glRectsv, _glReleaseShaderCompiler,
_glRenderMode, _glRenderbufferStorage, _glRenderbufferStorageEXT,
_glRenderbufferStorageMultisample, _glRenderbufferStorageMultisampleEXT,
_glResetHistogram, _glResetMinmax, _glResumeTransformFeedback,
_glRotated, _glRotatef, _glSampleCoverage, _glSampleCoverageARB,
_glSampleMaski, _glSamplePass, _glSamplePassARB, _glSamplerParameterIiv,
_glSamplerParameterIuiv, _glSamplerParameterf, _glSamplerParameterfv,
_glSamplerParameteri, _glSamplerParameteriv, _glScaled, _glScalef,
_glScissor, _glScissorArrayv, _glScissorIndexed, _glScissorIndexedv,
_glSecondaryColor3b, _glSecondaryColor3bEXT, _glSecondaryColor3bv,
_glSecondaryColor3bvEXT, _glSecondaryColor3d, _glSecondaryColor3dEXT,
_glSecondaryColor3dv, _glSecondaryColor3dvEXT, _glSecondaryColor3f,
_glSecondaryColor3fEXT, _glSecondaryColor3fv, _glSecondaryColor3fvEXT,
_glSecondaryColor3i, _glSecondaryColor3iEXT, _glSecondaryColor3iv,
_glSecondaryColor3ivEXT, _glSecondaryColor3s, _glSecondaryColor3sEXT,
_glSecondaryColor3sv, _glSecondaryColor3svEXT, _glSecondaryColor3ub,
_glSecondaryColor3ubEXT, _glSecondaryColor3ubv, _glSecondaryColor3ubvEXT,
_glSecondaryColor3ui, _glSecondaryColor3uiEXT, _glSecondaryColor3uiv,
_glSecondaryColor3uivEXT, _glSecondaryColor3us, _glSecondaryColor3usEXT,
_glSecondaryColor3usv, _glSecondaryColor3usvEXT, _glSecondaryColorPointer,
_glSecondaryColorPointerEXT, _glSelectBuffer, _glSeparableFilter2D,
_glSetFenceAPPLE, _glShadeModel, _glShaderBinary, _glShaderSource,
_glShaderSourceARB, _glStencilFunc, _glStencilFuncSeparate,
_glStencilFuncSeparateATI, _glStencilMask, _glStencilMaskSeparate,
_glStencilOp, _glStencilOpSeparate, _glStencilOpSeparateATI,
_glSwapAPPLE, _glTestFenceAPPLE, _glTestObjectAPPLE, _glTexBuffer,
_glTexCoord1d, _glTexCoord1dv, _glTexCoord1f, _glTexCoord1fv,
_glTexCoord1i, _glTexCoord1iv, _glTexCoord1s, _glTexCoord1sv,
_glTexCoord2d, _glTexCoord2dv, _glTexCoord2f, _glTexCoord2fv,
_glTexCoord2i, _glTexCoord2iv, _glTexCoord2s, _glTexCoord2sv,
_glTexCoord3d, _glTexCoord3dv, _glTexCoord3f, _glTexCoord3fv,
_glTexCoord3i, _glTexCoord3iv, _glTexCoord3s, _glTexCoord3sv,
_glTexCoord4d, _glTexCoord4dv, _glTexCoord4f, _glTexCoord4fv,
_glTexCoord4i, _glTexCoord4iv, _glTexCoord4s, _glTexCoord4sv,
_glTexCoordPointer, _glTexEnvf, _glTexEnvfv, _glTexEnvi, _glTexEnviv,
_glTexGend, _glTexGendv, _glTexGenf, _glTexGenfv, _glTexGeni,
_glTexGeniv, _glTexImage1D, _glTexImage2D, _glTexImage2DMultisample,
_glTexImage3D, _glTexImage3DMultisample, _glTexParameterIiv,
_glTexParameterIivEXT, _glTexParameterIuiv, _glTexParameterIuivEXT,
_glTexParameterf, _glTexParameterfv, _glTexParameteri, _glTexParameteriv,
_glTexStorage1D, _glTexStorage2D, _glTexStorage3D, _glTexSubImage1D,
_glTexSubImage2D, _glTexSubImage3D, _glTextureBarrierNV, _glTextureRangeAPPLE,
_glTransformFeedbackVaryings, _glTransformFeedbackVaryingsEXT,
_glTranslated, _glTranslatef, _glUniform1d, _glUniform1dv,
_glUniform1f, _glUniform1fARB, _glUniform1fv, _glUniform1fvARB,
_glUniform1i, _glUniform1iARB, _glUniform1iv, _glUniform1ivARB,
_glUniform1ui, _glUniform1uiEXT, _glUniform1uiv, _glUniform1uivEXT,
_glUniform2d, _glUniform2dv, _glUniform2f, _glUniform2fARB,
_glUniform2fv, _glUniform2fvARB, _glUniform2i, _glUniform2iARB,
_glUniform2iv, _glUniform2ivARB, _glUniform2ui, _glUniform2uiEXT,
_glUniform2uiv, _glUniform2uivEXT, _glUniform3d, _glUniform3dv,
_glUniform3f, _glUniform3fARB, _glUniform3fv, _glUniform3fvARB,
_glUniform3i, _glUniform3iARB, _glUniform3iv, _glUniform3ivARB,
_glUniform3ui, _glUniform3uiEXT, _glUniform3uiv, _glUniform3uivEXT,
_glUniform4d, _glUniform4dv, _glUniform4f, _glUniform4fARB,
_glUniform4fv, _glUniform4fvARB, _glUniform4i, _glUniform4iARB,
_glUniform4iv, _glUniform4ivARB, _glUniform4ui, _glUniform4uiEXT,
_glUniform4uiv, _glUniform4uivEXT, _glUniformBlockBinding,
_glUniformBufferEXT, _glUniformMatrix2dv, _glUniformMatrix2fv,
_glUniformMatrix2fvARB, _glUniformMatrix2x3dv, _glUniformMatrix2x3fv,
_glUniformMatrix2x4dv, _glUniformMatrix2x4fv, _glUniformMatrix3dv,
_glUniformMatrix3fv, _glUniformMatrix3fvARB, _glUniformMatrix3x2dv,
_glUniformMatrix3x2fv, _glUniformMatrix3x4dv, _glUniformMatrix3x4fv,
_glUniformMatrix4dv, _glUniformMatrix4fv, _glUniformMatrix4fvARB,
_glUniformMatrix4x2dv, _glUniformMatrix4x2fv, _glUniformMatrix4x3dv,
_glUniformMatrix4x3fv, _glUniformSubroutinesuiv, _glUnlockArraysEXT,
_glUnmapBuffer, _glUnmapBufferARB, _glUseProgram, _glUseProgramObjectARB,
_glUseProgramStages, _glValidateProgram, _glValidateProgramARB,
_glValidateProgramPipeline, _glVertex2d, _glVertex2dv, _glVertex2f,
_glVertex2fv, _glVertex2i, _glVertex2iv, _glVertex2s, _glVertex2sv,
_glVertex3d, _glVertex3dv, _glVertex3f, _glVertex3fv, _glVertex3i,
_glVertex3iv, _glVertex3s, _glVertex3sv, _glVertex4d, _glVertex4dv,
_glVertex4f, _glVertex4fv, _glVertex4i, _glVertex4iv, _glVertex4s,
_glVertex4sv, _glVertexArrayParameteriAPPLE, _glVertexArrayRangeAPPLE,
_glVertexAttrib1d, _glVertexAttrib1dARB, _glVertexAttrib1dv,
_glVertexAttrib1dvARB, _glVertexAttrib1f, _glVertexAttrib1fARB,
_glVertexAttrib1fv, _glVertexAttrib1fvARB, _glVertexAttrib1s,
_glVertexAttrib1sARB, _glVertexAttrib1sv, _glVertexAttrib1svARB,
_glVertexAttrib2d, _glVertexAttrib2dARB, _glVertexAttrib2dv,
_glVertexAttrib2dvARB, _glVertexAttrib2f, _glVertexAttrib2fARB,
_glVertexAttrib2fv, _glVertexAttrib2fvARB, _glVertexAttrib2s,
_glVertexAttrib2sARB, _glVertexAttrib2sv, _glVertexAttrib2svARB,
_glVertexAttrib3d, _glVertexAttrib3dARB, _glVertexAttrib3dv,
_glVertexAttrib3dvARB, _glVertexAttrib3f, _glVertexAttrib3fARB,
_glVertexAttrib3fv, _glVertexAttrib3fvARB, _glVertexAttrib3s,
_glVertexAttrib3sARB, _glVertexAttrib3sv, _glVertexAttrib3svARB,
_glVertexAttrib4Nbv, _glVertexAttrib4NbvARB, _glVertexAttrib4Niv,
_glVertexAttrib4NivARB, _glVertexAttrib4Nsv, _glVertexAttrib4NsvARB,
_glVertexAttrib4Nub, _glVertexAttrib4NubARB, _glVertexAttrib4Nubv,
_glVertexAttrib4NubvARB, _glVertexAttrib4Nuiv, _glVertexAttrib4NuivARB,
_glVertexAttrib4Nusv, _glVertexAttrib4NusvARB, _glVertexAttrib4bv,
_glVertexAttrib4bvARB, _glVertexAttrib4d, _glVertexAttrib4dARB,
_glVertexAttrib4dv, _glVertexAttrib4dvARB, _glVertexAttrib4f,
_glVertexAttrib4fARB, _glVertexAttrib4fv, _glVertexAttrib4fvARB,
_glVertexAttrib4iv, _glVertexAttrib4ivARB, _glVertexAttrib4s,
_glVertexAttrib4sARB, _glVertexAttrib4sv, _glVertexAttrib4svARB,
_glVertexAttrib4ubv, _glVertexAttrib4ubvARB, _glVertexAttrib4uiv,
_glVertexAttrib4uivARB, _glVertexAttrib4usv, _glVertexAttrib4usvARB,
_glVertexAttribDivisor, _glVertexAttribDivisorARB, _glVertexAttribI1i,
_glVertexAttribI1iEXT, _glVertexAttribI1iv, _glVertexAttribI1ivEXT,
_glVertexAttribI1ui, _glVertexAttribI1uiEXT, _glVertexAttribI1uiv,
_glVertexAttribI1uivEXT, _glVertexAttribI2i, _glVertexAttribI2iEXT,
_glVertexAttribI2iv, _glVertexAttribI2ivEXT, _glVertexAttribI2ui,
_glVertexAttribI2uiEXT, _glVertexAttribI2uiv, _glVertexAttribI2uivEXT,
_glVertexAttribI3i, _glVertexAttribI3iEXT, _glVertexAttribI3iv,
_glVertexAttribI3ivEXT, _glVertexAttribI3ui, _glVertexAttribI3uiEXT,
_glVertexAttribI3uiv, _glVertexAttribI3uivEXT, _glVertexAttribI4bv,
_glVertexAttribI4bvEXT, _glVertexAttribI4i, _glVertexAttribI4iEXT,
_glVertexAttribI4iv, _glVertexAttribI4ivEXT, _glVertexAttribI4sv,
_glVertexAttribI4svEXT, _glVertexAttribI4ubv, _glVertexAttribI4ubvEXT,
_glVertexAttribI4ui, _glVertexAttribI4uiEXT, _glVertexAttribI4uiv,
_glVertexAttribI4uivEXT, _glVertexAttribI4usv, _glVertexAttribI4usvEXT,
_glVertexAttribIPointer, _glVertexAttribIPointerEXT, _glVertexAttribL1d,
_glVertexAttribL1dv, _glVertexAttribL2d, _glVertexAttribL2dv,
_glVertexAttribL3d, _glVertexAttribL3dv, _glVertexAttribL4d,
_glVertexAttribL4dv, _glVertexAttribLPointer, _glVertexAttribP1ui,
_glVertexAttribP1uiv, _glVertexAttribP2ui, _glVertexAttribP2uiv,
_glVertexAttribP3ui, _glVertexAttribP3uiv, _glVertexAttribP4ui,
_glVertexAttribP4uiv, _glVertexAttribPointer, _glVertexAttribPointerARB,
_glVertexBlendARB, _glVertexPointSizefAPPLE, _glVertexPointer,
_glViewport, _glViewportArrayv, _glViewportIndexedf, _glViewportIndexedfv,
_glWaitSync, _glWeightPointerARB, _glWeightbvARB, _glWeightdvARB,
_glWeightfvARB, _glWeightivARB, _glWeightsvARB, _glWeightubvARB,
_glWeightuivARB, _glWeightusvARB, _glWindowPos2d, _glWindowPos2dARB,
_glWindowPos2dv, _glWindowPos2dvARB, _glWindowPos2f, _glWindowPos2fARB,
_glWindowPos2fv, _glWindowPos2fvARB, _glWindowPos2i, _glWindowPos2iARB,
_glWindowPos2iv, _glWindowPos2ivARB, _glWindowPos2s, _glWindowPos2sARB,
_glWindowPos2sv, _glWindowPos2svARB, _glWindowPos3d, _glWindowPos3dARB,
_glWindowPos3dv, _glWindowPos3dvARB, _glWindowPos3f, _glWindowPos3fARB,
_glWindowPos3fv, _glWindowPos3fvARB, _glWindowPos3i, _glWindowPos3iARB,
_glWindowPos3iv, _glWindowPos3ivARB, _glWindowPos3s, _glWindowPos3sARB,
_glWindowPos3sv, _glWindowPos3svARB, _gll_noop ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: 9D459571-FA55-3A0F-B042-DF31DA94A44B
- target: x86_64-maccatalyst
value: 9D459571-FA55-3A0F-B042-DF31DA94A44B
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: FD8057CD-0E90-369D-95EF-30C219A7DE06
- target: arm64e-maccatalyst
value: FD8057CD-0E90-369D-95EF-30C219A7DE06
install-name: '/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib'
exports:
- targets: [ x86_64-macos, arm64e-macos, x86_64-maccatalyst, arm64-macos ]
symbols: [ _gluBeginCurve, _gluBeginPolygon, _gluBeginSurface, _gluBeginTrim,
_gluBuild1DMipmapLevels, _gluBuild1DMipmapLevelsCTX, _gluBuild1DMipmaps,
_gluBuild1DMipmapsCTX, _gluBuild2DMipmapLevels, _gluBuild2DMipmapLevelsCTX,
_gluBuild2DMipmaps, _gluBuild2DMipmapsCTX, _gluBuild3DMipmapLevels,
_gluBuild3DMipmapLevelsCTX, _gluBuild3DMipmaps, _gluBuild3DMipmapsCTX,
_gluCheckExtension, _gluCylinder, _gluCylinderCTX, _gluDeleteNurbsRenderer,
_gluDeleteQuadric, _gluDeleteTess, _gluDisk, _gluDiskCTX,
_gluEndCurve, _gluEndPolygon, _gluEndSurface, _gluEndTrim,
_gluErrorString, _gluGetNurbsProperty, _gluGetString, _gluGetTessProperty,
_gluLoadSamplingMatrices, _gluLookAt, _gluLookAtCTX, _gluNewNurbsRenderer,
_gluNewNurbsRendererCTX, _gluNewQuadric, _gluNewQuadricCTX,
_gluNewTess, _gluNewTessCTX, _gluNextContour, _gluNurbsCallback,
_gluNurbsCallbackCFM, _gluNurbsCallbackData, _gluNurbsCallbackDataEXT,
_gluNurbsCurve, _gluNurbsProperty, _gluNurbsSurface, _gluOrtho2D,
_gluOrtho2DCTX, _gluPartialDisk, _gluPartialDiskCTX, _gluPerspective,
_gluPerspectiveCTX, _gluPickMatrix, _gluPickMatrixCTX, _gluProject,
_gluPwlCurve, _gluQuadricCallback, _gluQuadricCallbackCFM,
_gluQuadricDrawStyle, _gluQuadricNormals, _gluQuadricOrientation,
_gluQuadricTexture, _gluScaleImage, _gluScaleImageCTX, _gluSphere,
_gluSphereCTX, _gluTessBeginContour, _gluTessBeginPolygon,
_gluTessCallback, _gluTessCallbackCFM, _gluTessEndContour,
_gluTessEndPolygon, _gluTessNormal, _gluTessProperty, _gluTessVertex,
_gluUnProject, _gluUnProject4 ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/CGLIOSurface.h | /*
Copyright: (c) 2008-2012 Apple Inc. All rights reserved.
*/
#ifndef _CGLIOSURFACE_H
#define _CGLIOSURFACE_H
#include <AvailabilityMacros.h>
#include <OpenGL/CGLTypes.h>
#include <OpenGL/gltypes.h>
#ifdef __cplusplus
extern "C" {
#endif
OPENGL_ASSUME_NONNULL_BEGIN
typedef struct OPENGL_BRIDGED_TYPE(id) __IOSurface *IOSurfaceRef OPENGL_SWIFT_NAME(IOSurfaceRef);
/*!
@function CGLTexImageIOSurface2D
CGLTexImageIOSurface2D() allows you to bind a single image plane from an IOSurfaceRef to
an OpenGL texture object. It is the rough equivalent to glTexImage2D(), except that
the underlying source data comes from an IOSurface rather than from an explicit pointer.
Note that unlike glTexImage2D(), the binding is "live", in that if the contents of
the IOSurface change, the contents become visible to OpenGL without making another
call to CGLTexImageIOSurface2D(). That being said, there are a few synchronization
things to worry about if you are using IOSurface to pass data between contexts and/or
different processes, or between the CPU and OpenGL.
In general IOSurface follows Apple's cross-context synchronization rules for OpenGL. Put
simply, in order for changes done to an IOSurface on context A to become visible to context
B, you must flush context A's command stream (via an explicit call to glFlush, glFlushRenderAPPLE,
etc.), and then perform a 'bind' (in this case, glBindTexture()) on context B. Note that
in the case of an IOSurface backed texture used as a color buffer attachment for an FBO,
you are only required to call glBindFramebuffer() again. You do not have to call
glFramebufferTexture2D().
Likewise, if you make changes to an IOSurface with the CPU, you *must* wrap those changes
with calls to IOSurfaceLock() and IOSurfaceUnlock(), and call glBindTexture() again for
OpenGL to pick up the changes.
Going in the other direction, if you want changes made with OpenGL to an IOSurface to become
visible to the CPU, you must also perform an explicit flush of the OpenGL context before
calling IOSurfaceLock(), or you may not get the most recent data.
IOSurface and OpenGL make no guarantees about correctness if these rules are not followed.
Because of the way IOSurface is currently implemented, it does not allow for any kind of
automatic format conversion to take place between the data in the IOSurface and the data seen
by the GPU. This means that OpenGL is going to interpret the data in the IOSurface exactly
as how it is specified by the format and type parameters passed to CGLTexImageIOSurface2D().
The upshot if this is that the only supported format/type combinations are those that have
exact matching hardware formats. The table at the bottom of this file lists the format/type/
internalFormat combinations that are supported in Mac OS X 10.6.
In cases where a given format/type combination has both an Internal Format and Sized Internal
Format, either one may be used.
Note that CGLTexImageIOSurface2D for the most part doesn't care what the pixel format or bytes
per element of the IOSurface is. Instead it only enforces the rule that there must be enough
data in the plane being bound to cover what is required by the width/height/format/type
parameters. However, if you are using the IOSurface texture as a color buffer attachment to
an FBO, then you must ensure that the bytes per element value of the IOSurface must match the
effective bytes per pixel value for the format and type combination you are passing to OpenGL.
@param ctx The CGLContextObj for the OpenGL context you are using
@param target Must currently be GL_TEXTURE_RECTANGLE_ARB as of Mac OS X 10.6.0.
@param internal_format One of the supported values from the table below that matches
the format/type combination.
@param width The width of the texture in pixels.
@param height The height of the texture in pixels.
@param format The OpenGL texture format enum
@param type The OpenGL texture type enum
@param ioSurface The IOSurfaceRef this texture is being bound to
@param plane Which plane of the IOSurface this texture is being bound to
*/
extern CGLError CGLTexImageIOSurface2D(CGLContextObj ctx, GLenum target, GLenum internal_format,
GLsizei width, GLsizei height, GLenum format, GLenum type, IOSurfaceRef ioSurface, GLuint plane) OPENGL_AVAILABLE(10_6);
/*!
Supported IOSurface texture format/type/internal format combinations in Mac OS X 10.6
Format Type Internal Format Sized Internal Format
GL_ALPHA GL_UNSIGNED_BYTE GL_ALPHA GL_ALPHA8
GL_LUMINANCE GL_UNSIGNED_BYTE GL_LUMINANCE GL_LUMINANCE8
GL_LUMINANCE GL_UNSIGNED_BYTE GL_INTENSITY GL_INTENSITY8
GL_LUMINANCE_ALPHA GL_UNSIGNED_BYTE GL_LUMINANCE_ALPHA GL_LUMINANCE8_ALPHA8
GL_ALPHA GL_UNSIGNED_SHORT GL_ALPHA GL_ALPHA16
GL_LUMINANCE GL_UNSIGNED_SHORT GL_LUMINANCE GL_LUMINANCE16
GL_LUMINANCE GL_UNSIGNED_SHORT GL_INTENSITY GL_INTENSITY16
GL_BGRA GL_UNSIGNED_SHORT_1_5_5_5_REV GL_RGBA GL_RGB5_A1
GL_BGRA GL_UNSIGNED_SHORT_4_4_4_4_REV GL_RGBA GL_RGBA4
GL_BGRA GL_UNSIGNED_INT_8_8_8_8_REV GL_RGB GL_RGB8
GL_BGRA GL_UNSIGNED_INT_8_8_8_8_REV GL_RGBA GL_RGBA8
GL_BGRA GL_UNSIGNED_INT_2_10_10_10_REV GL_RGBA GL_RGB10_A2
// "Video" formats
GL_RGB_422_APPLE GL_UNSIGNED_SHORT_8_8_APPLE GL_RGB GL_RGB8
GL_RGB_422_APPLE GL_UNSIGNED_SHORT_8_8_REV_APPLE GL_RGB GL_RGB8
GL_YCBCR_422_APPLE GL_UNSIGNED_SHORT_8_8_APPLE GL_RGB GL_RGB8
GL_YCBCR_422_APPLE GL_UNSIGNED_SHORT_8_8_REV_APPLE GL_RGB GL_RGB8
// sRGB formats
GL_BGRA GL_UNSIGNED_INT_8_8_8_8_REV GL_SRGB GL_SRGB8
GL_BGRA GL_UNSIGNED_INT_8_8_8_8_REV GL_SRGB_ALPHA GL_SRGB8_ALPHA8
// Float formats for drivers that support APPLE_float_pixels:
GL_RGBA GL_HALF_APPLE GL_RGB GL_RGB_FLOAT16_APPLE
GL_RGBA GL_HALF_APPLE GL_RGBA GL_RGBA_FLOAT16_APPLE
GL_RGBA GL_FLOAT GL_RGB GL_RGB_FLOAT32_APPLE
GL_RGBA GL_FLOAT GL_RGBA GL_RGBA_FLOAT32_APPLE
// 16-bit unorm textures
GL_RGBA GL_UNSIGNED_SHORT GL_RGBA GL_RGBA16
// Integer formats for drivers that support EXT_texture_integer:
GL_ALPHA_INTEGER_EXT GL_UNSIGNED_BYTE GL_ALPHA8UI
GL_ALPHA_INTEGER_EXT GL_BYTE GL_ALPHA8I
GL_ALPHA_INTEGER_EXT GL_UNSIGNED_SHORT GL_ALPHA16UI
GL_ALPHA_INTEGER_EXT GL_SHORT GL_ALPHA16I
GL_ALPHA_INTEGER_EXT GL_UNSIGNED_INT GL_ALPHA32UI
GL_ALPHA_INTEGER_EXT GL_INT GL_ALPHA32I
GL_LUMINANCE_INTEGER_EXT GL_UNSIGNED_BYTE GL_LUMINANCE8UI
GL_LUMINANCE_INTEGER_EXT GL_BYTE GL_LUMINANCE8I
GL_LUMINANCE_INTEGER_EXT GL_UNSIGNED_SHORT GL_LUMINANCE16UI
GL_LUMINANCE_INTEGER_EXT GL_SHORT GL_LUMINANCE16I
GL_LUMINANCE_INTEGER_EXT GL_UNSIGNED_INT GL_LUMINANCE32UI
GL_LUMINANCE_INTEGER_EXT GL_INT GL_LUMINANCE32I
GL_LUMINANCE_INTEGER_EXT GL_UNSIGNED_BYTE GL_INTENSITY8UI
GL_LUMINANCE_INTEGER_EXT GL_BYTE GL_INTENSITY8I
GL_LUMINANCE_INTEGER_EXT GL_UNSIGNED_SHORT GL_INTENSITY16UI
GL_LUMINANCE_INTEGER_EXT GL_SHORT GL_INTENSITY16I
GL_LUMINANCE_INTEGER_EXT GL_UNSIGNED_INT GL_INTENSITY32UI
GL_LUMINANCE_INTEGER_EXT GL_INT GL_INTENSITY32I
GL_LUMINANCE_ALPHA_INTEGER_EXT GL_UNSIGNED_BYTE GL_LUMINANCE_ALPHA8UI
GL_LUMINANCE_ALPHA_INTEGER_EXT GL_BYTE GL_LUMINANCE_ALPHA8I
GL_LUMINANCE_ALPHA_INTEGER_EXT GL_UNSIGNED_SHORT GL_LUMINANCE_ALPHA16UI
GL_LUMINANCE_ALPHA_INTEGER_EXT GL_SHORT GL_LUMINANCE_ALPHA16I
GL_LUMINANCE_ALPHA_INTEGER_EXT GL_UNSIGNED_INT GL_LUMINANCE_ALPHA32UI
GL_LUMINANCE_ALPHA_INTEGER_EXT GL_INT GL_LUMINANCE_ALPHA32I
GL_RGBA_INTEGER_EXT GL_UNSIGNED_BYTE GL_RGB8UI
GL_RGBA_INTEGER_EXT GL_BYTE GL_RGB8I
GL_RGBA_INTEGER_EXT GL_UNSIGNED_SHORT GL_RGB16UI
GL_RGBA_INTEGER_EXT GL_SHORT GL_RGB16I
GL_RGBA_INTEGER_EXT GL_UNSIGNED_INT GL_RGB32UI
GL_RGBA_INTEGER_EXT GL_INT GL_RGB32I
GL_RGBA_INTEGER_EXT GL_UNSIGNED_BYTE GL_RGBA8UI
GL_RGBA_INTEGER_EXT GL_BYTE GL_RGBA8I
GL_RGBA_INTEGER_EXT GL_UNSIGNED_SHORT GL_RGBA16UI
GL_RGBA_INTEGER_EXT GL_SHORT GL_RGBA16I
GL_RGBA_INTEGER_EXT GL_UNSIGNED_INT GL_RGBA32UI
GL_RGBA_INTEGER_EXT GL_INT GL_RGBA32I
// Additional supported formats for drivers that support ARB_texture_rg:
GL_RED GL_UNSIGNED_BYTE GL_RED GL_R8
GL_RED GL_UNSIGNED_SHORT GL_RED GL_R16
GL_RED GL_HALF_APPLE GL_RED GL_R16F
GL_RED GL_FLOAT GL_RED GL_R32F
GL_RG GL_UNSIGNED_BYTE GL_RG GL_RG8
GL_RG GL_UNSIGNED_SHORT GL_RG GL_RG16
GL_RG GL_HALF_APPLE GL_RG GL_R16F
GL_RG GL_FLOAT GL_RG GL_R32F
GL_RED_INTEGER GL_UNSIGNED_BYTE GL_R8UI
GL_RED_INTEGER GL_BYTE GL_R8I
GL_RED_INTEGER GL_UNSIGNED_SHORT GL_R16UI
GL_RED_INTEGER GL_SHORT GL_R16I
GL_RED_INTEGER GL_UNSIGNED_INT GL_R32UI
GL_RED_INTEGER GL_INT GL_R32I
GL_RG_INTEGER GL_UNSIGNED_BYTE GL_RG8UI
GL_RG_INTEGER GL_BYTE GL_RG8I
GL_RG_INTEGER GL_UNSIGNED_SHORT GL_RG16UI
GL_RG_INTEGER GL_SHORT GL_RG16I
GL_RG_INTEGER GL_UNSIGNED_INT GL_RG32UI
GL_RG_INTEGER GL_INT GL_RG32I
*/
OPENGL_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif /* _CGLSURFACE_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gl3ext.h | /*
Copyright: (c) 2010-2013 Apple Inc. All rights reserved.
*/
#ifndef __gl3ext_h_
#define __gl3ext_h_
#include <OpenGL/gltypes.h>
#include <OpenGL/OpenGLAvailability.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
#endif
#if defined(__APPLE__)
#define GL3_PROTOTYPES
#endif
#ifndef APIENTRY
#define APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
#endif
#ifndef GLAPI
#define GLAPI extern
#endif
/****** Enums ************************************************/
#ifndef GL_ARB_instanced_arrays
#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
#endif
#ifndef GL_ARB_internalformat_query
#define GL_NUM_SAMPLE_COUNTS 0x9380
#endif
#ifndef GL_ARB_sample_shading
#define GL_SAMPLE_SHADING_ARB 0x8C36
#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
#endif
#ifndef GL_ARB_shading_language_include
#define GL_SHADER_INCLUDE_ARB 0x8DAE
#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
#define GL_NAMED_STRING_TYPE_ARB 0x8DEA
#endif
#ifndef GL_ARB_texture_cube_map_array
#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
#endif
#ifndef GL_ARB_texture_gather
#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
#endif
#ifndef GL_ARB_texture_storage
#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
#endif
#ifndef GL_EXT_debug_label
/* reuse GL_TEXTURE */
/* reuse GL_FRAMEBUFFER */
/* reuse GL_RENDERBUFFER */
/* reuse GL_TRANSFORM_FEEDBACK */
#define GL_BUFFER_OBJECT_EXT 0x9151
#define GL_SHADER_OBJECT_EXT 0x8B48
#define GL_PROGRAM_OBJECT_EXT 0x8B40
#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
#define GL_QUERY_OBJECT_EXT 0x9153
#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
#define GL_SYNC_OBJECT_APPLE 0x8A53
#define GL_SAMPLER 0x82E6
#endif
#ifndef GL_EXT_depth_bounds_test
#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
#define GL_DEPTH_BOUNDS_EXT 0x8891
#endif
#ifndef GL_EXT_framebuffer_multisample_blit_scaled
#define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
#define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
#endif
#ifndef GL_EXT_texture_compression_s3tc
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
#endif
#ifndef GL_EXT_texture_filter_anisotropic
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
#endif
#ifndef GL_EXT_texture_mirror_clamp
#define GL_MIRROR_CLAMP_EXT 0x8742
#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
#endif
#ifndef GL_EXT_texture_sRGB_decode
#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
#define GL_DECODE_EXT 0x8A49
#define GL_SKIP_DECODE_EXT 0x8A4A
#endif
#ifndef GL_APPLE_client_storage
#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
#endif
#ifndef GL_APPLE_object_purgeable
#define GL_RELEASED_APPLE 0x8A19
#define GL_VOLATILE_APPLE 0x8A1A
#define GL_RETAINED_APPLE 0x8A1B
#define GL_UNDEFINED_APPLE 0x8A1C
#define GL_PURGEABLE_APPLE 0x8A1D
#endif
#ifndef GL_APPLE_rgb_422
#define GL_RGB_422_APPLE 0x8A1F
#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
#define GL_RGB_RAW_422_APPLE 0x8A51
#endif
#ifndef GL_APPLE_row_bytes
#define GL_PACK_ROW_BYTES_APPLE 0x8A15
#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
#define GL_PACK_IMAGE_BYTES_APPLE 0x8A17
#define GL_UNPACK_IMAGE_BYTES_APPLE 0x8A18
#endif
#ifndef GL_APPLE_texture_range
#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
#define GL_TEXTURE_MINIMIZE_STORAGE_APPLE 0x85B6
#define GL_STORAGE_PRIVATE_APPLE 0x85BD
#define GL_STORAGE_CACHED_APPLE 0x85BE
#define GL_STORAGE_SHARED_APPLE 0x85BF
#endif
#ifndef GL_ATI_texture_mirror_once
#define GL_MIRROR_CLAMP_ATI 0x8742
#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
#endif
/****** Functions Prototypes *********************************/
#ifndef GL_ARB_draw_buffers_blend
#define GL_ARB_draw_buffers_blend 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
#endif
#ifndef GL_ARB_instanced_arrays
#define GL_ARB_instanced_arrays 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
#endif
#ifndef GL_ARB_internalformat_query
#define GL_ARB_internalformat_query 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
#endif
#ifndef GL_ARB_sample_shading
#define GL_ARB_sample_shading 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glMinSampleShadingARB (GLclampf value) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLclampf value);
#endif
#ifndef GL_ARB_shading_language_include
#define GL_ARB_shading_language_include 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar* const *path, const GLint *length) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar* const *path, const GLint *length);
typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
#endif
#ifndef GL_ARB_texture_cube_map_array
#define GL_ARB_texture_cube_map_array 1
#endif
#ifndef GL_ARB_texture_gather
#define GL_ARB_texture_gather 1
#endif
#ifndef GL_ARB_texture_storage
#define GL_ARB_texture_storage 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
#endif
#ifndef GL_EXT_debug_label
#define GL_EXT_debug_label 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
#endif
#ifndef GL_EXT_debug_marker
#define GL_EXT_debug_marker 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const char *marker) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const char *marker) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glPopGroupMarkerEXT (void) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const char *marker);
typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const char *marker);
typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
#endif
#ifndef GL_EXT_depth_bounds_test
#define GL_EXT_depth_bounds_test 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
#endif
#ifndef GL_EXT_framebuffer_multisample_blit_scaled
#define GL_EXT_framebuffer_multisample_blit_scaled 1
#endif
#ifndef GL_EXT_texture_compression_s3tc
#define GL_EXT_texture_compression_s3tc 1
#endif
#ifndef GL_EXT_texture_filter_anisotropic
#define GL_EXT_texture_filter_anisotropic 1
#endif
#ifndef GL_EXT_texture_mirror_clamp
#define GL_EXT_texture_mirror_clamp 1
#endif
#ifndef GL_EXT_texture_sRGB_decode
#define GL_EXT_texture_sRGB_decode 1
#endif
#ifndef GL_APPLE_client_storage
#define GL_APPLE_client_storage 1
#endif
#ifndef GL_APPLE_container_object_shareable
#define GL_APPLE_container_object_shareable 1
#endif
#ifndef GL_APPLE_flush_render
#define GL_APPLE_flush_render 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glFlushRenderAPPLE (void) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glFinishRenderAPPLE (void) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glSwapAPPLE (void) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLFLUSHRENDERAPPLEPROC) (void);
typedef void (APIENTRYP PFNGLFINISHRENDERAPPLEPROC) (void);
typedef void (APIENTRYP PFNGLSWAPAPPLEPROC) (void);
#endif
#ifndef GL_APPLE_object_purgeable
#define GL_APPLE_object_purgeable 1
#ifdef GL3_PROTOTYPES
GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
#endif
#ifndef GL_APPLE_rgb_422
#define GL_APPLE_rgb_422 1
#endif
#ifndef GL_APPLE_row_bytes
#define GL_APPLE_row_bytes 1
#endif
#ifndef GL_APPLE_texture_range
#define GL_APPLE_texture_range 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const GLvoid *pointer) OPENGL_DEPRECATED(10.6, 10.14);
GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid **params) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid **params);
#endif
#ifndef GL_ATI_texture_mirror_once
#define GL_ATI_texture_mirror_once 1
#endif
#ifndef GL_NV_texture_barrier
#define GL_NV_texture_barrier 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glTextureBarrierNV (void) OPENGL_DEPRECATED(10.6, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
#endif
#ifdef __cplusplus
}
#endif
#endif
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gluContext.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef _GLUCONTEXT_H
#define _GLUCONTEXT_H
#include <OpenGL/glu.h>
#include <OpenGL/CGLTypes.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
** GLU Context routines
*/
extern GLint gluBuild1DMipmapsCTX( struct _CGLContextObject *ctx,
GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED(10.0, 10.9);
extern GLint gluBuild2DMipmapsCTX( struct _CGLContextObject *ctx,
GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED(10.0, 10.9);
extern GLint gluBuild3DMipmapsCTX( struct _CGLContextObject *ctx,
GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED(10.2, 10.9);
extern GLint gluBuild1DMipmapLevelsCTX ( struct _CGLContextObject *ctx,
GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) OPENGL_DEPRECATED(10.2, 10.9);
extern GLint gluBuild2DMipmapLevelsCTX ( struct _CGLContextObject *ctx,
GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) OPENGL_DEPRECATED(10.2, 10.9);
extern GLint gluBuild3DMipmapLevelsCTX ( struct _CGLContextObject *ctx,
GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) OPENGL_DEPRECATED(10.2, 10.9);
extern void gluLookAtCTX( struct _CGLContextObject *ctx, GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ,
GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ) OPENGL_DEPRECATED(10.0, 10.9);
extern GLUnurbs* gluNewNurbsRendererCTX(struct _CGLContextObject *ctx) OPENGL_DEPRECATED(10.0, 10.9);
extern GLUquadric* gluNewQuadricCTX( struct _CGLContextObject *ctx) OPENGL_DEPRECATED(10.0, 10.9);
extern GLUtesselator* gluNewTessCTX( struct _CGLContextObject *ctx) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluOrtho2DCTX( struct _CGLContextObject *ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluPerspectiveCTX( struct _CGLContextObject *ctx, GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluPickMatrixCTX( struct _CGLContextObject *ctx, GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport) OPENGL_DEPRECATED(10.0, 10.9);
extern GLint gluScaleImageCTX( struct _CGLContextObject *ctx, GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn,
GLsizei wOut, GLsizei hOut, GLenum typeOut, void* dataOut) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluCylinderCTX( struct _CGLContextObject *ctx, GLUquadric *qobj, GLdouble baseRadiusd, GLdouble topRadiusd, GLdouble heightd, GLint slices, GLint stacks) OPENGL_DEPRECATED(10.9, 10.9);
extern void gluDiskCTX( struct _CGLContextObject *ctx, GLUquadric *qobj, GLdouble innerRadiusd, GLdouble outerRadiusd, GLint slices, GLint loops) OPENGL_DEPRECATED(10.9, 10.9);
extern void gluPartialDiskCTX( struct _CGLContextObject *ctx, GLUquadric *qobj, GLdouble innerRadiusd, GLdouble outerRadiusd, GLint slices, GLint loops, GLdouble startAngled, GLdouble sweepAngled) OPENGL_DEPRECATED(10.9, 10.9);
extern void gluSphereCTX( struct _CGLContextObject *ctx, GLUquadric *qobj, GLdouble radiusd, GLint slices, GLint stacks) OPENGL_DEPRECATED(10.9, 10.9);
#ifdef __cplusplus
}
#endif
#endif /* _GLUCONTEXT_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gliContext.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef _GLICONTEXT_H
#define _GLICONTEXT_H
#ifdef __cplusplus
extern "C" {
#endif
/*
** GL context data type
*/
typedef struct __GLIContextRec *GLIContext;
typedef struct __GLISharedRec *GLIShared;
#ifdef __cplusplus
}
#endif
#endif /* _GLICONTEXT_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gluMacro.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef _GLUMACRO_H
#define _GLUMACRO_H
#include <OpenGL/CGLMacro.h>
#include <OpenGL/gluContext.h>
/********************* GLU Macros *********************/
#define gluBuild1DMipmaps(target, internalFormat, width, format, type, data) \
gluBuild1DMipmapsCTX(cgl_ctx, target, internalFormat, width, format, type, data)
#define gluBuild2DMipmaps(target, internalFormat, width, height, format, type, data) \
gluBuild2DMipmapsCTX(cgl_ctx, target, internalFormat, width, height, format, type, data)
#define gluBuild3DMipmaps(target, internalFormat, width, height, depth, format, type, data) \
gluBuild3DMipmapsCTX(cgl_ctx, target, internalFormat, width, height, depth, format, type, data)
#define gluBuild1DMipmapLevels(target, internalFormat, width, format, type, level, base, max, data) \
gluBuild1DMipmapLevelsCTX(cgl_ctx, target, internalFormat, width, format, type, level, base, max, data)
#define gluBuild2DMipmapLevels(target, internalFormat, width, height, format, type, level, base, max, data) \
gluBuild2DMipmapLevelsCTX(cgl_ctx, target, internalFormat, width, height, format, type, level, base, max, data)
#define gluBuild3DMipmapLevels(target, internalFormat, width, height, depth, format, type, level, base, max, data) \
gluBuild3DMipmapLevelsCTX(cgl_ctx, target, internalFormat, width, height, depth, format, type, level, base, max, data)
#define gluLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ) \
gluLookAtCTX(cgl_ctx, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ)
#define gluNewNurbsRenderer() \
gluNewNurbsRendererCTX(cgl_ctx)
#define gluNewQuadric() \
gluNewQuadricCTX(cgl_ctx)
#define gluOrtho2D(left, right, bottom, top) \
gluOrtho2DCTX(cgl_ctx, left, right, bottom, top)
#define gluPerspective(fovy, aspect, znear, zfar) \
gluPerspectiveCTX(cgl_ctx, fovy, aspect, znear, zfar)
#define gluPickMatrix(x, y, delx, dely, viewport) \
gluPickMatrixCTX(cgl_ctx, x, y, delx, dely, viewport)
#define gluScaleImage(format, wIn, hIn, typeIn, dataIn, wOut, hOut, typeOut, dataOut) \
gluScaleImageCTX(cgl_ctx, format, wIn, hIn, typeIn, dataIn, wOut, hOut, typeOut, dataOut)
#define gluCylinder(qobj, baseRadiusd, topRadiusd, heightd, slices, stacks) \
gluCylinderCTX(cgl_ctx, qobj, baseRadiusd, topRadiusd, heightd, slices, stacks)
#define gluDisk(qobj, innerRadiusd, outerRadiusd, slices, loops) \
gluDiskCTX(cgl_ctx, qobj, innerRadiusd, outerRadiusd, slices, loops)
#define gluPartialDisk(qobj, innerRadiusd, outerRadiusd, slices, loops, startAngled, sweepAngled) \
gluPartialDiskCTX(cgl_ctx, qobj, innerRadiusd, outerRadiusd, slices, loops, startAngled, sweepAngled)
#define gluSphere(qobj, radiusd, slices, stacks) \
gluSphereCTX(cgl_ctx, qobj, radiusd, slices, stacks)
#endif /* _GLUMACRO_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/CGLMacro.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef _CGLMACRO_H
#define _CGLMACRO_H
#ifdef __gl3_h_
# ifndef __has_feature
# define __has_feature(X) 0
# endif
# if !__has_feature(modules)
# error Can not include both gl3.h and CGLMacro.h simultaneously
# endif
#endif
#include <OpenGL/CGLTypes.h>
#include <OpenGL/CGLContext.h>
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
/* Macro context name (CGLContextObj) */
#if !defined(CGL_MACRO_CONTEXT)
#define CGL_MACRO_CONTEXT cgl_ctx
#endif
/* Macro renderer name (GLIContext) */
#if !defined(CGL_MACRO_RENDERER)
#define CGL_MACRO_RENDERER cgl_rend
#endif
#define CGL_MACRO_DECLARE_CONTEXT() CGLContextObj CGL_MACRO_CONTEXT = CGLGetCurrentContext();
/* Repeated renderer lookups may be avoided by defining CGL_MACRO_CACHE_RENDERER before including CGLMacro.h.
Note: If you change the value of CGL_MACRO_CONTEXT partway through a function, you will have to
keep CGL_MACRO_RENDERER up to date with with it's context. */
#if defined(CGL_MACRO_CACHE_RENDERER)
#define CGL_MACRO_DECLARE_RENDERER() GLIContext CGL_MACRO_RENDERER = CGL_MACRO_CONTEXT->rend;
#define CGL_MACRO_CONTEXT_RENDERER CGL_MACRO_RENDERER
#else
#define CGL_MACRO_DECLARE_RENDERER()
#define CGL_MACRO_CONTEXT_RENDERER CGL_MACRO_CONTEXT->rend
#endif
/* Use the following function macro to declare the local CGLMacro variables */
#define CGL_MACRO_DECLARE_VARIABLES() \
CGL_MACRO_DECLARE_CONTEXT(); \
CGL_MACRO_DECLARE_RENDERER();
/* This is for converting old non-arb handle definitions to ARB handle definitions for 64 bit compiles */
#define CGL_HANDLE_ARB(handle) (GLhandleARB)((unsigned long)handle)
/****************** OpenGL 1.1 Macros *****************************/
#define glAccum(op, value) \
(*(CGL_MACRO_CONTEXT)->disp.accum)(CGL_MACRO_CONTEXT_RENDERER, op, value)
#define glAlphaFunc(func, ref) \
(*(CGL_MACRO_CONTEXT)->disp.alpha_func)(CGL_MACRO_CONTEXT_RENDERER, func, ref)
#define glAreTexturesResident(n, textures, residences) \
(*(CGL_MACRO_CONTEXT)->disp.are_textures_resident)(CGL_MACRO_CONTEXT_RENDERER, n, textures, residences)
#define glArrayElement(i) \
(*(CGL_MACRO_CONTEXT)->disp.array_element)(CGL_MACRO_CONTEXT_RENDERER, i)
#define glBegin(mode) \
(*(CGL_MACRO_CONTEXT)->disp.begin)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glBindTexture(target, texture) \
(*(CGL_MACRO_CONTEXT)->disp.bind_texture)(CGL_MACRO_CONTEXT_RENDERER, target, texture)
#define glBitmap(width, height, xorig, yorig, xmove, ymove, bmap) \
(*(CGL_MACRO_CONTEXT)->disp.bitmap)(CGL_MACRO_CONTEXT_RENDERER, width, height, xorig, yorig, xmove, ymove, bmap)
#define glBlendFunc(sfactor, dfactor) \
(*(CGL_MACRO_CONTEXT)->disp.blend_func)(CGL_MACRO_CONTEXT_RENDERER, sfactor, dfactor)
#define glCallList(list) \
(*(CGL_MACRO_CONTEXT)->disp.call_list)(CGL_MACRO_CONTEXT_RENDERER, list)
#define glCallLists(n, type, lists) \
(*(CGL_MACRO_CONTEXT)->disp.call_lists)(CGL_MACRO_CONTEXT_RENDERER, n, type, lists)
#define glClear(mask) \
(*(CGL_MACRO_CONTEXT)->disp.clear)(CGL_MACRO_CONTEXT_RENDERER, mask)
#define glClearAccum(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.clear_accum)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glClearColor(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.clear_color)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glClearDepth(depth) \
(*(CGL_MACRO_CONTEXT)->disp.clear_depth)(CGL_MACRO_CONTEXT_RENDERER, depth)
#define glClearIndex(c) \
(*(CGL_MACRO_CONTEXT)->disp.clear_index)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glClearStencil(s) \
(*(CGL_MACRO_CONTEXT)->disp.clear_stencil)(CGL_MACRO_CONTEXT_RENDERER, s)
#define glClipPlane(plane, equation) \
(*(CGL_MACRO_CONTEXT)->disp.clip_plane)(CGL_MACRO_CONTEXT_RENDERER, plane, equation)
#define glColor3b(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3b)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3bv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3bv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor3d(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3d)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor3f(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3f)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor3i(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3i)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor3s(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3s)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor3ub(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3ub)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3ubv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3ubv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor3ui(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3ui)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3uiv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3uiv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor3us(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.color3us)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glColor3usv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color3usv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4b(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4b)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4bv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4bv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4d(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4d)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4f(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4f)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4i(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4i)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4s(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4s)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4ub(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4ub)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4ubv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4ubv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4ui(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4ui)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4uiv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4uiv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColor4us(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color4us)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColor4usv(v) \
(*(CGL_MACRO_CONTEXT)->disp.color4usv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glColorMask(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.color_mask)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glColorMaterial(face, mode) \
(*(CGL_MACRO_CONTEXT)->disp.color_material)(CGL_MACRO_CONTEXT_RENDERER, face, mode)
#define glColorPointer(size, type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.color_pointer)(CGL_MACRO_CONTEXT_RENDERER, size, type, stride, pointer)
#define glCopyPixels(x, y, width, height, type) \
(*(CGL_MACRO_CONTEXT)->disp.copy_pixels)(CGL_MACRO_CONTEXT_RENDERER, x, y, width, height, type)
#define glCopyTexImage1D(target, level, internalFormat, x, y, width, border) \
(*(CGL_MACRO_CONTEXT)->disp.copy_tex_image1D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalFormat, x, y, width, border)
#define glCopyTexImage2D(target, level, internalFormat, x, y, width, height, border) \
(*(CGL_MACRO_CONTEXT)->disp.copy_tex_image2D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalFormat, x, y, width, height, border)
#define glCopyTexSubImage1D(target, level, xoffset, x, y, width) \
(*(CGL_MACRO_CONTEXT)->disp.copy_tex_sub_image1D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, x, y, width)
#define glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.copy_tex_sub_image2D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, yoffset, x, y, width, height)
#define glCullFace(mode) \
(*(CGL_MACRO_CONTEXT)->disp.cull_face)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glDeleteLists(list, range) \
(*(CGL_MACRO_CONTEXT)->disp.delete_lists)(CGL_MACRO_CONTEXT_RENDERER, list, range)
#define glDeleteTextures(n, textures) \
(*(CGL_MACRO_CONTEXT)->disp.delete_textures)(CGL_MACRO_CONTEXT_RENDERER, n, textures)
#define glDepthFunc(func) \
(*(CGL_MACRO_CONTEXT)->disp.depth_func)(CGL_MACRO_CONTEXT_RENDERER, func)
#define glDepthMask(flag) \
(*(CGL_MACRO_CONTEXT)->disp.depth_mask)(CGL_MACRO_CONTEXT_RENDERER, flag)
#define glDepthRange(zNear, zFar) \
(*(CGL_MACRO_CONTEXT)->disp.depth_range)(CGL_MACRO_CONTEXT_RENDERER, zNear, zFar)
#define glDisable(cap) \
(*(CGL_MACRO_CONTEXT)->disp.disable)(CGL_MACRO_CONTEXT_RENDERER, cap)
#define glDisableClientState(array) \
(*(CGL_MACRO_CONTEXT)->disp.disable_client_state)(CGL_MACRO_CONTEXT_RENDERER, array)
#define glDrawArrays(mode, first, count) \
(*(CGL_MACRO_CONTEXT)->disp.draw_arrays)(CGL_MACRO_CONTEXT_RENDERER, mode, first, count)
#define glDrawBuffer(mode) \
(*(CGL_MACRO_CONTEXT)->disp.draw_buffer)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glDrawElements(mode, count, type, indices) \
(*(CGL_MACRO_CONTEXT)->disp.draw_elements)(CGL_MACRO_CONTEXT_RENDERER, mode, count, type, indices)
#define glDrawPixels(width, height, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.draw_pixels)(CGL_MACRO_CONTEXT_RENDERER, width, height, format, type, pixels)
#define glEdgeFlag(flag) \
(*(CGL_MACRO_CONTEXT)->disp.edge_flag)(CGL_MACRO_CONTEXT_RENDERER, flag)
#define glEdgeFlagPointer(stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.edge_flag_pointer)(CGL_MACRO_CONTEXT_RENDERER, stride, pointer)
#define glEdgeFlagv(flag) \
(*(CGL_MACRO_CONTEXT)->disp.edge_flagv)(CGL_MACRO_CONTEXT_RENDERER, flag)
#define glEnable(cap) \
(*(CGL_MACRO_CONTEXT)->disp.enable)(CGL_MACRO_CONTEXT_RENDERER, cap)
#define glEnableClientState(array) \
(*(CGL_MACRO_CONTEXT)->disp.enable_client_state)(CGL_MACRO_CONTEXT_RENDERER, array)
#define glEnd() \
(*(CGL_MACRO_CONTEXT)->disp.end)(CGL_MACRO_CONTEXT_RENDERER)
#define glEndList() \
(*(CGL_MACRO_CONTEXT)->disp.end_list)(CGL_MACRO_CONTEXT_RENDERER)
#define glEvalCoord1d(u) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord1d)(CGL_MACRO_CONTEXT_RENDERER, u)
#define glEvalCoord1dv(u) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord1dv)(CGL_MACRO_CONTEXT_RENDERER, u)
#define glEvalCoord1f(u) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord1f)(CGL_MACRO_CONTEXT_RENDERER, u)
#define glEvalCoord1fv(u) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord1fv)(CGL_MACRO_CONTEXT_RENDERER, u)
#define glEvalCoord2d(u, v) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord2d)(CGL_MACRO_CONTEXT_RENDERER, u, v)
#define glEvalCoord2dv(u) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord2dv)(CGL_MACRO_CONTEXT_RENDERER, u)
#define glEvalCoord2f(u, v) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord2f)(CGL_MACRO_CONTEXT_RENDERER, u, v)
#define glEvalCoord2fv(u) \
(*(CGL_MACRO_CONTEXT)->disp.eval_coord2fv)(CGL_MACRO_CONTEXT_RENDERER, u)
#define glEvalMesh1(mode, i1, i2) \
(*(CGL_MACRO_CONTEXT)->disp.eval_mesh1)(CGL_MACRO_CONTEXT_RENDERER, mode, i1, i2)
#define glEvalMesh2(mode, i1, i2, j1, j2) \
(*(CGL_MACRO_CONTEXT)->disp.eval_mesh2)(CGL_MACRO_CONTEXT_RENDERER, mode, i1, i2, j1, j2)
#define glEvalPoint1(i) \
(*(CGL_MACRO_CONTEXT)->disp.eval_point1)(CGL_MACRO_CONTEXT_RENDERER, i)
#define glEvalPoint2(i, j) \
(*(CGL_MACRO_CONTEXT)->disp.eval_point2)(CGL_MACRO_CONTEXT_RENDERER, i, j)
#define glFeedbackBuffer(size, type, buffer) \
(*(CGL_MACRO_CONTEXT)->disp.feedback_buffer)(CGL_MACRO_CONTEXT_RENDERER, size, type, buffer)
#define glFinish() \
(*(CGL_MACRO_CONTEXT)->disp.finish)(CGL_MACRO_CONTEXT_RENDERER)
#define glFlush() \
(*(CGL_MACRO_CONTEXT)->disp.flush)(CGL_MACRO_CONTEXT_RENDERER)
#define glFogf(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.fogf)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glFogfv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.fogfv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glFogi(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.fogi)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glFogiv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.fogiv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glFrontFace(mode) \
(*(CGL_MACRO_CONTEXT)->disp.front_face)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glFrustum(left, right, bottom, top, zNear, zFar) \
(*(CGL_MACRO_CONTEXT)->disp.frustum)(CGL_MACRO_CONTEXT_RENDERER, left, right, bottom, top, zNear, zFar)
#define glGenLists(range) \
(*(CGL_MACRO_CONTEXT)->disp.gen_lists)(CGL_MACRO_CONTEXT_RENDERER, range)
#define glGenTextures(n, textures) \
(*(CGL_MACRO_CONTEXT)->disp.gen_textures)(CGL_MACRO_CONTEXT_RENDERER, n, textures)
#define glGetBooleanv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_booleanv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glGetClipPlane(plane, equation) \
(*(CGL_MACRO_CONTEXT)->disp.get_clip_plane)(CGL_MACRO_CONTEXT_RENDERER, plane, equation)
#define glGetDoublev(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_doublev)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glGetError() \
(*(CGL_MACRO_CONTEXT)->disp.get_error)(CGL_MACRO_CONTEXT_RENDERER)
#define glGetFloatv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_floatv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glGetIntegerv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_integerv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glGetLightfv(light, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_lightfv)(CGL_MACRO_CONTEXT_RENDERER, light, pname, params)
#define glGetLightiv(light, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_lightiv)(CGL_MACRO_CONTEXT_RENDERER, light, pname, params)
#define glGetMapdv(target, query, v) \
(*(CGL_MACRO_CONTEXT)->disp.get_mapdv)(CGL_MACRO_CONTEXT_RENDERER, target, query, v)
#define glGetMapfv(target, query, v) \
(*(CGL_MACRO_CONTEXT)->disp.get_mapfv)(CGL_MACRO_CONTEXT_RENDERER, target, query, v)
#define glGetMapiv(target, query, v) \
(*(CGL_MACRO_CONTEXT)->disp.get_mapiv)(CGL_MACRO_CONTEXT_RENDERER, target, query, v)
#define glGetMaterialfv(face, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_materialfv)(CGL_MACRO_CONTEXT_RENDERER, face, pname, params)
#define glGetMaterialiv(face, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_materialiv)(CGL_MACRO_CONTEXT_RENDERER, face, pname, params)
#define glGetPixelMapfv(map, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_pixel_mapfv)(CGL_MACRO_CONTEXT_RENDERER, map, values)
#define glGetPixelMapuiv(map, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_pixel_mapuiv)(CGL_MACRO_CONTEXT_RENDERER, map, values)
#define glGetPixelMapusv(map, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_pixel_mapusv)(CGL_MACRO_CONTEXT_RENDERER, map, values)
#define glGetPointerv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_pointerv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glGetPolygonStipple(mask) \
(*(CGL_MACRO_CONTEXT)->disp.get_polygon_stipple)(CGL_MACRO_CONTEXT_RENDERER, mask)
#define glGetString(name) \
(*(CGL_MACRO_CONTEXT)->disp.get_string)(CGL_MACRO_CONTEXT_RENDERER, name)
#define glGetTexEnvfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_envfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetTexEnviv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_enviv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetTexGendv(coord, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_gendv)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, params)
#define glGetTexGenfv(coord, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_genfv)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, params)
#define glGetTexGeniv(coord, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_geniv)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, params)
#define glGetTexImage(target, level, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_image)(CGL_MACRO_CONTEXT_RENDERER, target, level, format, type, pixels)
#define glGetTexLevelParameterfv(target, level, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_level_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, level, pname, params)
#define glGetTexLevelParameteriv(target, level, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_level_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, level, pname, params)
#define glGetTexParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetTexParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glHint(target, mode) \
(*(CGL_MACRO_CONTEXT)->disp.hint)(CGL_MACRO_CONTEXT_RENDERER, target, mode)
#define glIndexMask(mask) \
(*(CGL_MACRO_CONTEXT)->disp.index_mask)(CGL_MACRO_CONTEXT_RENDERER, mask)
#define glIndexPointer(type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.index_pointer)(CGL_MACRO_CONTEXT_RENDERER, type, stride, pointer)
#define glIndexd(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexd)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexdv(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexdv)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexf(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexf)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexfv(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexfv)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexi(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexi)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexiv(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexiv)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexs(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexs)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexsv(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexsv)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexub(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexub)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glIndexubv(c) \
(*(CGL_MACRO_CONTEXT)->disp.indexubv)(CGL_MACRO_CONTEXT_RENDERER, c)
#define glInitNames() \
(*(CGL_MACRO_CONTEXT)->disp.init_names)(CGL_MACRO_CONTEXT_RENDERER)
#define glInterleavedArrays(format, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.interleaved_arrays)(CGL_MACRO_CONTEXT_RENDERER, format, stride, pointer)
#define glIsEnabled(cap) \
(*(CGL_MACRO_CONTEXT)->disp.is_enabled)(CGL_MACRO_CONTEXT_RENDERER, cap)
#define glIsList(list) \
(*(CGL_MACRO_CONTEXT)->disp.is_list)(CGL_MACRO_CONTEXT_RENDERER, list)
#define glIsTexture(texture) \
(*(CGL_MACRO_CONTEXT)->disp.is_texture)(CGL_MACRO_CONTEXT_RENDERER, texture)
#define glLightModelf(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.light_modelf)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glLightModelfv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.light_modelfv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glLightModeli(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.light_modeli)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glLightModeliv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.light_modeliv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glLightf(light, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.lightf)(CGL_MACRO_CONTEXT_RENDERER, light, pname, param)
#define glLightfv(light, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.lightfv)(CGL_MACRO_CONTEXT_RENDERER, light, pname, params)
#define glLighti(light, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.lighti)(CGL_MACRO_CONTEXT_RENDERER, light, pname, param)
#define glLightiv(light, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.lightiv)(CGL_MACRO_CONTEXT_RENDERER, light, pname, params)
#define glLineStipple(factor, pattern) \
(*(CGL_MACRO_CONTEXT)->disp.line_stipple)(CGL_MACRO_CONTEXT_RENDERER, factor, pattern)
#define glLineWidth(width) \
(*(CGL_MACRO_CONTEXT)->disp.line_width)(CGL_MACRO_CONTEXT_RENDERER, width)
#define glListBase(base) \
(*(CGL_MACRO_CONTEXT)->disp.list_base)(CGL_MACRO_CONTEXT_RENDERER, base)
#define glLoadIdentity() \
(*(CGL_MACRO_CONTEXT)->disp.load_identity)(CGL_MACRO_CONTEXT_RENDERER)
#define glLoadMatrixd(m) \
(*(CGL_MACRO_CONTEXT)->disp.load_matrixd)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glLoadMatrixf(m) \
(*(CGL_MACRO_CONTEXT)->disp.load_matrixf)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glLoadName(name) \
(*(CGL_MACRO_CONTEXT)->disp.load_name)(CGL_MACRO_CONTEXT_RENDERER, name)
#define glLogicOp(opcode) \
(*(CGL_MACRO_CONTEXT)->disp.logic_op)(CGL_MACRO_CONTEXT_RENDERER, opcode)
#define glMap1d(target, u1, u2, stride, order, points) \
(*(CGL_MACRO_CONTEXT)->disp.map1d)(CGL_MACRO_CONTEXT_RENDERER, target, u1, u2, stride, order, points)
#define glMap1f(target, u1, u2, stride, order, points) \
(*(CGL_MACRO_CONTEXT)->disp.map1f)(CGL_MACRO_CONTEXT_RENDERER, target, u1, u2, stride, order, points)
#define glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) \
(*(CGL_MACRO_CONTEXT)->disp.map2d)(CGL_MACRO_CONTEXT_RENDERER, target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points)
#define glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) \
(*(CGL_MACRO_CONTEXT)->disp.map2f)(CGL_MACRO_CONTEXT_RENDERER, target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points)
#define glMapGrid1d(un, u1, u2) \
(*(CGL_MACRO_CONTEXT)->disp.map_grid1d)(CGL_MACRO_CONTEXT_RENDERER, un, u1, u2)
#define glMapGrid1f(un, u1, u2) \
(*(CGL_MACRO_CONTEXT)->disp.map_grid1f)(CGL_MACRO_CONTEXT_RENDERER, un, u1, u2)
#define glMapGrid2d(un, u1, u2, vn, v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.map_grid2d)(CGL_MACRO_CONTEXT_RENDERER, un, u1, u2, vn, v1, v2)
#define glMapGrid2f(un, u1, u2, vn, v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.map_grid2f)(CGL_MACRO_CONTEXT_RENDERER, un, u1, u2, vn, v1, v2)
#define glMaterialf(face, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.materialf)(CGL_MACRO_CONTEXT_RENDERER, face, pname, param)
#define glMaterialfv(face, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.materialfv)(CGL_MACRO_CONTEXT_RENDERER, face, pname, params)
#define glMateriali(face, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.materiali)(CGL_MACRO_CONTEXT_RENDERER, face, pname, param)
#define glMaterialiv(face, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.materialiv)(CGL_MACRO_CONTEXT_RENDERER, face, pname, params)
#define glMatrixMode(mode) \
(*(CGL_MACRO_CONTEXT)->disp.matrix_mode)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glMultMatrixd(m) \
(*(CGL_MACRO_CONTEXT)->disp.mult_matrixd)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glMultMatrixf(m) \
(*(CGL_MACRO_CONTEXT)->disp.mult_matrixf)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glNewList(list, mode) \
(*(CGL_MACRO_CONTEXT)->disp.new_list)(CGL_MACRO_CONTEXT_RENDERER, list, mode)
#define glNormal3b(nx, ny, nz) \
(*(CGL_MACRO_CONTEXT)->disp.normal3b)(CGL_MACRO_CONTEXT_RENDERER, nx, ny, nz)
#define glNormal3bv(v) \
(*(CGL_MACRO_CONTEXT)->disp.normal3bv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glNormal3d(nx, ny, nz) \
(*(CGL_MACRO_CONTEXT)->disp.normal3d)(CGL_MACRO_CONTEXT_RENDERER, nx, ny, nz)
#define glNormal3dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.normal3dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glNormal3f(nx, ny, nz) \
(*(CGL_MACRO_CONTEXT)->disp.normal3f)(CGL_MACRO_CONTEXT_RENDERER, nx, ny, nz)
#define glNormal3fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.normal3fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glNormal3i(nx, ny, nz) \
(*(CGL_MACRO_CONTEXT)->disp.normal3i)(CGL_MACRO_CONTEXT_RENDERER, nx, ny, nz)
#define glNormal3iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.normal3iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glNormal3s(nx, ny, nz) \
(*(CGL_MACRO_CONTEXT)->disp.normal3s)(CGL_MACRO_CONTEXT_RENDERER, nx, ny, nz)
#define glNormal3sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.normal3sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glNormalPointer(type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.normal_pointer)(CGL_MACRO_CONTEXT_RENDERER, type, stride, pointer)
#define glOrtho(left, right, bottom, top, zNear, zFar) \
(*(CGL_MACRO_CONTEXT)->disp.ortho)(CGL_MACRO_CONTEXT_RENDERER, left, right, bottom, top, zNear, zFar)
#define glPassThrough(token) \
(*(CGL_MACRO_CONTEXT)->disp.pass_through)(CGL_MACRO_CONTEXT_RENDERER, token)
#define glPixelMapfv(map, mapsize, values) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_mapfv)(CGL_MACRO_CONTEXT_RENDERER, map, mapsize, values)
#define glPixelMapuiv(map, mapsize, values) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_mapuiv)(CGL_MACRO_CONTEXT_RENDERER, map, mapsize, values)
#define glPixelMapusv(map, mapsize, values) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_mapusv)(CGL_MACRO_CONTEXT_RENDERER, map, mapsize, values)
#define glPixelStoref(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_storef)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glPixelStorei(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_storei)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glPixelTransferf(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_transferf)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glPixelTransferi(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_transferi)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glPixelZoom(xfactor, yfactor) \
(*(CGL_MACRO_CONTEXT)->disp.pixel_zoom)(CGL_MACRO_CONTEXT_RENDERER, xfactor, yfactor)
#define glPointSize(size) \
(*(CGL_MACRO_CONTEXT)->disp.point_size)(CGL_MACRO_CONTEXT_RENDERER, size)
#define glPolygonMode(face, mode) \
(*(CGL_MACRO_CONTEXT)->disp.polygon_mode)(CGL_MACRO_CONTEXT_RENDERER, face, mode)
#define glPolygonOffset(factor, units) \
(*(CGL_MACRO_CONTEXT)->disp.polygon_offset)(CGL_MACRO_CONTEXT_RENDERER, factor, units)
#define glPolygonStipple(mask) \
(*(CGL_MACRO_CONTEXT)->disp.polygon_stipple)(CGL_MACRO_CONTEXT_RENDERER, mask)
#define glPopAttrib() \
(*(CGL_MACRO_CONTEXT)->disp.pop_attrib)(CGL_MACRO_CONTEXT_RENDERER)
#define glPopClientAttrib() \
(*(CGL_MACRO_CONTEXT)->disp.pop_client_attrib)(CGL_MACRO_CONTEXT_RENDERER)
#define glPopMatrix() \
(*(CGL_MACRO_CONTEXT)->disp.pop_matrix)(CGL_MACRO_CONTEXT_RENDERER)
#define glPopName() \
(*(CGL_MACRO_CONTEXT)->disp.pop_name)(CGL_MACRO_CONTEXT_RENDERER)
#define glPrioritizeTextures(n, textures, priorities) \
(*(CGL_MACRO_CONTEXT)->disp.prioritize_textures)(CGL_MACRO_CONTEXT_RENDERER, n, textures, priorities)
#define glPushAttrib(mask) \
(*(CGL_MACRO_CONTEXT)->disp.push_attrib)(CGL_MACRO_CONTEXT_RENDERER, mask)
#define glPushClientAttrib(mask) \
(*(CGL_MACRO_CONTEXT)->disp.push_client_attrib)(CGL_MACRO_CONTEXT_RENDERER, mask)
#define glPushMatrix() \
(*(CGL_MACRO_CONTEXT)->disp.push_matrix)(CGL_MACRO_CONTEXT_RENDERER)
#define glPushName(name) \
(*(CGL_MACRO_CONTEXT)->disp.push_name)(CGL_MACRO_CONTEXT_RENDERER, name)
#define glRasterPos2d(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2d)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glRasterPos2dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos2f(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2f)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glRasterPos2fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos2i(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2i)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glRasterPos2iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos2s(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2s)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glRasterPos2sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos2sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos3d(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3d)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glRasterPos3dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos3f(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3f)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glRasterPos3fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos3i(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3i)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glRasterPos3iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos3s(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3s)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glRasterPos3sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos3sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos4d(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4d)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glRasterPos4dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos4f(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4f)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glRasterPos4fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos4i(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4i)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glRasterPos4iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glRasterPos4s(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4s)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glRasterPos4sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.raster_pos4sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glReadBuffer(mode) \
(*(CGL_MACRO_CONTEXT)->disp.read_buffer)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glReadPixels(x, y, width, height, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.read_pixels)(CGL_MACRO_CONTEXT_RENDERER, x, y, width, height, format, type, pixels)
#define glRectd(x1, y1, x2, y2) \
(*(CGL_MACRO_CONTEXT)->disp.rectd)(CGL_MACRO_CONTEXT_RENDERER, x1, y1, x2, y2)
#define glRectdv(v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.rectdv)(CGL_MACRO_CONTEXT_RENDERER, v1, v2)
#define glRectf(x1, y1, x2, y2) \
(*(CGL_MACRO_CONTEXT)->disp.rectf)(CGL_MACRO_CONTEXT_RENDERER, x1, y1, x2, y2)
#define glRectfv(v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.rectfv)(CGL_MACRO_CONTEXT_RENDERER, v1, v2)
#define glRecti(x1, y1, x2, y2) \
(*(CGL_MACRO_CONTEXT)->disp.recti)(CGL_MACRO_CONTEXT_RENDERER, x1, y1, x2, y2)
#define glRectiv(v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.rectiv)(CGL_MACRO_CONTEXT_RENDERER, v1, v2)
#define glRects(x1, y1, x2, y2) \
(*(CGL_MACRO_CONTEXT)->disp.rects)(CGL_MACRO_CONTEXT_RENDERER, x1, y1, x2, y2)
#define glRectsv(v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.rectsv)(CGL_MACRO_CONTEXT_RENDERER, v1, v2)
#define glRenderMode(mode) \
(*(CGL_MACRO_CONTEXT)->disp.render_mode)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glRotated(angle, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.rotated)(CGL_MACRO_CONTEXT_RENDERER, angle, x, y, z)
#define glRotatef(angle, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.rotatef)(CGL_MACRO_CONTEXT_RENDERER, angle, x, y, z)
#define glScaled(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.scaled)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glScalef(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.scalef)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glScissor(x, y, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.scissor)(CGL_MACRO_CONTEXT_RENDERER, x, y, width, height)
#define glSelectBuffer(size, buffer) \
(*(CGL_MACRO_CONTEXT)->disp.select_buffer)(CGL_MACRO_CONTEXT_RENDERER, size, buffer)
#define glShadeModel(mode) \
(*(CGL_MACRO_CONTEXT)->disp.shade_model)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glStencilFunc(func, ref, mask) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_func)(CGL_MACRO_CONTEXT_RENDERER, func, ref, mask)
#define glStencilMask(mask) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_mask)(CGL_MACRO_CONTEXT_RENDERER, mask)
#define glStencilOp(fail, zfail, zpass) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_op)(CGL_MACRO_CONTEXT_RENDERER, fail, zfail, zpass)
#define glTexCoord1d(s) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1d)(CGL_MACRO_CONTEXT_RENDERER, s)
#define glTexCoord1dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord1f(s) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1f)(CGL_MACRO_CONTEXT_RENDERER, s)
#define glTexCoord1fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord1i(s) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1i)(CGL_MACRO_CONTEXT_RENDERER, s)
#define glTexCoord1iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord1s(s) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1s)(CGL_MACRO_CONTEXT_RENDERER, s)
#define glTexCoord1sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord1sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord2d(s, t) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2d)(CGL_MACRO_CONTEXT_RENDERER, s, t)
#define glTexCoord2dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord2f(s, t) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2f)(CGL_MACRO_CONTEXT_RENDERER, s, t)
#define glTexCoord2fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord2i(s, t) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2i)(CGL_MACRO_CONTEXT_RENDERER, s, t)
#define glTexCoord2iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord2s(s, t) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2s)(CGL_MACRO_CONTEXT_RENDERER, s, t)
#define glTexCoord2sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord2sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord3d(s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3d)(CGL_MACRO_CONTEXT_RENDERER, s, t, r)
#define glTexCoord3dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord3f(s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3f)(CGL_MACRO_CONTEXT_RENDERER, s, t, r)
#define glTexCoord3fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord3i(s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3i)(CGL_MACRO_CONTEXT_RENDERER, s, t, r)
#define glTexCoord3iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord3s(s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3s)(CGL_MACRO_CONTEXT_RENDERER, s, t, r)
#define glTexCoord3sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord3sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord4d(s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4d)(CGL_MACRO_CONTEXT_RENDERER, s, t, r, q)
#define glTexCoord4dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord4f(s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4f)(CGL_MACRO_CONTEXT_RENDERER, s, t, r, q)
#define glTexCoord4fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord4i(s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4i)(CGL_MACRO_CONTEXT_RENDERER, s, t, r, q)
#define glTexCoord4iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoord4s(s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4s)(CGL_MACRO_CONTEXT_RENDERER, s, t, r, q)
#define glTexCoord4sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord4sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glTexCoordPointer(size, type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.tex_coord_pointer)(CGL_MACRO_CONTEXT_RENDERER, size, type, stride, pointer)
#define glTexEnvf(target, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.tex_envf)(CGL_MACRO_CONTEXT_RENDERER, target, pname, param)
#define glTexEnvfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_envfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glTexEnvi(target, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.tex_envi)(CGL_MACRO_CONTEXT_RENDERER, target, pname, param)
#define glTexEnviv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_enviv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glTexGend(coord, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.tex_gend)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, param)
#define glTexGendv(coord, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_gendv)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, params)
#define glTexGenf(coord, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.tex_genf)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, param)
#define glTexGenfv(coord, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_genfv)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, params)
#define glTexGeni(coord, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.tex_geni)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, param)
#define glTexGeniv(coord, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_geniv)(CGL_MACRO_CONTEXT_RENDERER, coord, pname, params)
#define glTexImage1D(target, level, internalformat, width, border, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.tex_image1D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalformat, width, border, format, type, pixels)
#define glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.tex_image2D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalformat, width, height, border, format, type, pixels)
#define glTexParameterf(target, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.tex_parameterf)(CGL_MACRO_CONTEXT_RENDERER, target, pname, param)
#define glTexParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glTexParameteri(target, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.tex_parameteri)(CGL_MACRO_CONTEXT_RENDERER, target, pname, param)
#define glTexParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glTexSubImage1D(target, level, xoffset, width, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.tex_sub_image1D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, width, format, type, pixels)
#define glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.tex_sub_image2D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, yoffset, width, height, format, type, pixels)
#define glTranslated(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.translated)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glTranslatef(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.translatef)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glVertex2d(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2d)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glVertex2dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex2f(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2f)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glVertex2fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex2i(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2i)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glVertex2iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex2s(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2s)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glVertex2sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex2sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex3d(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3d)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glVertex3dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex3f(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3f)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glVertex3fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex3i(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3i)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glVertex3iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex3s(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3s)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glVertex3sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex3sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex4d(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4d)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glVertex4dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex4f(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4f)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glVertex4fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex4i(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4i)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glVertex4iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertex4s(x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4s)(CGL_MACRO_CONTEXT_RENDERER, x, y, z, w)
#define glVertex4sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex4sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glVertexPointer(size, type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_pointer)(CGL_MACRO_CONTEXT_RENDERER, size, type, stride, pointer)
#define glViewport(x, y, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.viewport)(CGL_MACRO_CONTEXT_RENDERER, x, y, width, height)
/****************** OpenGL 1.2 ************************************/
#define glBlendColor(red, green, blue, alpha) \
(*(CGL_MACRO_CONTEXT)->disp.blend_color)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue, alpha)
#define glBlendEquation(mode) \
(*(CGL_MACRO_CONTEXT)->disp.blend_equation)(CGL_MACRO_CONTEXT_RENDERER, mode)
#define glDrawRangeElements(mode, start, end, count, type, indices) \
(*(CGL_MACRO_CONTEXT)->disp.draw_range_elements)(CGL_MACRO_CONTEXT_RENDERER, mode, start, end, count, type, indices)
#define glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, data) \
(*(CGL_MACRO_CONTEXT)->disp.tex_image3D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalformat, width, height, depth, border, format, type, data)
#define glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) \
(*(CGL_MACRO_CONTEXT)->disp.tex_sub_image3D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels)
#define glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.copy_tex_sub_image3D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, yoffset, zoffset, x, y, width, height)
/****************** OpenGL 1.2 Imaging Subset *********************/
#define glColorTable(target, internalformat, width, format, type, table) \
(*(CGL_MACRO_CONTEXT)->disp.color_table)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, width, format, type, table)
#define glColorTableParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.color_table_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glColorTableParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.color_table_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glCopyColorTable(target, internalformat, x, y, width) \
(*(CGL_MACRO_CONTEXT)->disp.copy_color_table)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, x, y, width)
#define glGetColorTable(target, format, type, table) \
(*(CGL_MACRO_CONTEXT)->disp.get_color_table)(CGL_MACRO_CONTEXT_RENDERER, target, format, type, table)
#define glGetColorTableParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_color_table_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetColorTableParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_color_table_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glColorSubTable(target, start, count, format, type, data) \
(*(CGL_MACRO_CONTEXT)->disp.color_sub_table)(CGL_MACRO_CONTEXT_RENDERER, target, start, count, format, type, data)
#define glCopyColorSubTable(target, start, x, y, width) \
(*(CGL_MACRO_CONTEXT)->disp.copy_color_sub_table)(CGL_MACRO_CONTEXT_RENDERER, target, start, x, y, width)
#define glConvolutionFilter1D(target, internalformat, width, format, type, image) \
(*(CGL_MACRO_CONTEXT)->disp.convolution_filter1D)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, width, format, type, image)
#define glConvolutionFilter2D(target, internalformat, width, height, format, type, image) \
(*(CGL_MACRO_CONTEXT)->disp.convolution_filter2D)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, width, height, format, type, image)
#define glConvolutionParameterf(target, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.convolution_parameterf)(CGL_MACRO_CONTEXT_RENDERER, target, pname, param)
#define glConvolutionParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.convolution_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glConvolutionParameteri(target, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.convolution_parameteri)(CGL_MACRO_CONTEXT_RENDERER, target, pname, param)
#define glConvolutionParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.convolution_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glCopyConvolutionFilter1D(target, internalformat, x, y, width) \
(*(CGL_MACRO_CONTEXT)->disp.copy_convolution_filter1D)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, x, y, width)
#define glCopyConvolutionFilter2D(target, internalformat, x, y, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.copy_convolution_filter2D)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, x, y, width, height)
#define glGetConvolutionFilter(target, format, type, image) \
(*(CGL_MACRO_CONTEXT)->disp.get_convolution_filter)(CGL_MACRO_CONTEXT_RENDERER, target, format, type, image)
#define glGetConvolutionParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_convolution_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetConvolutionParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_convolution_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetSeparableFilter(target, format, type, row, column, span) \
(*(CGL_MACRO_CONTEXT)->disp.get_separable_filter)(CGL_MACRO_CONTEXT_RENDERER, target, format, type, row, column, span)
#define glSeparableFilter2D(target, internalformat, width, height, format, type, row, column) \
(*(CGL_MACRO_CONTEXT)->disp.separable_filter2D)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, width, height, format, type, row, column)
#define glGetHistogram(target, reset, format, type, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_histogram)(CGL_MACRO_CONTEXT_RENDERER, target, reset, format, type, values)
#define glGetHistogramParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_histogram_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetHistogramParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_histogram_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetMinmax(target, reset, format, type, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_minmax)(CGL_MACRO_CONTEXT_RENDERER, target, reset, format, type, values)
#define glGetMinmaxParameterfv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_minmax_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetMinmaxParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_minmax_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glHistogram(target, width, internalformat, sink) \
(*(CGL_MACRO_CONTEXT)->disp.histogram)(CGL_MACRO_CONTEXT_RENDERER, target, width, internalformat, sink)
#define glMinmax(target, internalformat, sink) \
(*(CGL_MACRO_CONTEXT)->disp.minmax)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, sink)
#define glResetHistogram(target) \
(*(CGL_MACRO_CONTEXT)->disp.reset_histogram)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glResetMinmax(target) \
(*(CGL_MACRO_CONTEXT)->disp.reset_minmax)(CGL_MACRO_CONTEXT_RENDERER, target)
/****************** OpenGL 1.3 ************************************/
#define glClientActiveTexture(target) \
(*(CGL_MACRO_CONTEXT)->disp.client_active_texture)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glActiveTexture(target) \
(*(CGL_MACRO_CONTEXT)->disp.active_texture)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glMultiTexCoord1d(target, s) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1d)(CGL_MACRO_CONTEXT_RENDERER, target, s)
#define glMultiTexCoord1dv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1dv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord1f(target, s) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1f)(CGL_MACRO_CONTEXT_RENDERER, target, s)
#define glMultiTexCoord1fv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1fv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord1i(target, s) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1i)(CGL_MACRO_CONTEXT_RENDERER, target, s)
#define glMultiTexCoord1iv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1iv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord1s(target, s) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1s)(CGL_MACRO_CONTEXT_RENDERER, target, s)
#define glMultiTexCoord1sv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord1sv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord2d(target, s, t) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2d)(CGL_MACRO_CONTEXT_RENDERER, target, s, t)
#define glMultiTexCoord2dv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2dv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord2f(target, s, t) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2f)(CGL_MACRO_CONTEXT_RENDERER, target, s, t)
#define glMultiTexCoord2fv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2fv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord2i(target, s, t) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2i)(CGL_MACRO_CONTEXT_RENDERER, target, s, t)
#define glMultiTexCoord2iv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2iv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord2s(target, s, t) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2s)(CGL_MACRO_CONTEXT_RENDERER, target, s, t)
#define glMultiTexCoord2sv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord2sv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord3d(target, s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3d)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r)
#define glMultiTexCoord3dv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3dv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord3f(target, s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3f)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r)
#define glMultiTexCoord3fv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3fv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord3i(target, s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3i)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r)
#define glMultiTexCoord3iv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3iv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord3s(target, s, t, r) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3s)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r)
#define glMultiTexCoord3sv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord3sv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord4d(target, s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4d)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r, q)
#define glMultiTexCoord4dv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4dv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord4f(target, s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4f)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r, q)
#define glMultiTexCoord4fv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4fv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord4i(target, s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4i)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r, q)
#define glMultiTexCoord4iv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4iv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glMultiTexCoord4s(target, s, t, r, q) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4s)(CGL_MACRO_CONTEXT_RENDERER, target, s, t, r, q)
#define glMultiTexCoord4sv(target, v) \
(*(CGL_MACRO_CONTEXT)->disp.multi_tex_coord4sv)(CGL_MACRO_CONTEXT_RENDERER, target, v)
#define glSampleCoverage(value, invert) \
(*(CGL_MACRO_CONTEXT)->disp.sample_coverage)(CGL_MACRO_CONTEXT_RENDERER, value, invert)
#define glLoadTransposeMatrixf(m) \
(*(CGL_MACRO_CONTEXT)->disp.load_transpose_matrixf)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glLoadTransposeMatrixd(m) \
(*(CGL_MACRO_CONTEXT)->disp.load_transpose_matrixd)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glMultTransposeMatrixf(m) \
(*(CGL_MACRO_CONTEXT)->disp.mult_transpose_matrixf)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glMultTransposeMatrixd(m) \
(*(CGL_MACRO_CONTEXT)->disp.mult_transpose_matrixd)(CGL_MACRO_CONTEXT_RENDERER, m)
#define glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data) \
(*(CGL_MACRO_CONTEXT)->disp.compressed_tex_image3D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalformat, width, height, depth, border, imageSize, data)
#define glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data) \
(*(CGL_MACRO_CONTEXT)->disp.compressed_tex_image2D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalformat, width, height, border, imageSize, data)
#define glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data) \
(*(CGL_MACRO_CONTEXT)->disp.compressed_tex_image1D)(CGL_MACRO_CONTEXT_RENDERER, target, level, internalformat, width, border, imageSize, data)
#define glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) \
(*(CGL_MACRO_CONTEXT)->disp.compressed_tex_sub_image3D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data)
#define glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) \
(*(CGL_MACRO_CONTEXT)->disp.compressed_tex_sub_image2D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, yoffset, width, height, format, imageSize, data)
#define glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data) \
(*(CGL_MACRO_CONTEXT)->disp.compressed_tex_sub_image1D)(CGL_MACRO_CONTEXT_RENDERER, target, level, xoffset, width, format, imageSize, data)
#define glGetCompressedTexImage(target, level, img) \
(*(CGL_MACRO_CONTEXT)->disp.get_compressed_tex_image)(CGL_MACRO_CONTEXT_RENDERER, target, level, img)
/****************** OpenGL 1.4 ************************************/
#define glFogCoordf(coord) \
(*(CGL_MACRO_CONTEXT)->disp.fog_coordf)(CGL_MACRO_CONTEXT_RENDERER, coord)
#define glFogCoordfv(coord) \
(*(CGL_MACRO_CONTEXT)->disp.fog_coordfv)(CGL_MACRO_CONTEXT_RENDERER, coord)
#define glFogCoordd(coord) \
(*(CGL_MACRO_CONTEXT)->disp.fog_coordd)(CGL_MACRO_CONTEXT_RENDERER, coord)
#define glFogCoorddv(coord) \
(*(CGL_MACRO_CONTEXT)->disp.fog_coorddv)(CGL_MACRO_CONTEXT_RENDERER,coord)
#define glFogCoordPointer(type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.fog_coord_pointer)(CGL_MACRO_CONTEXT_RENDERER, type, stride, pointer)
#define glSecondaryColor3b(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3b)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3bv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3bv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColor3d(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3d)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3dv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3dv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColor3f(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3f)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3fv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3fv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColor3i(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3i)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3iv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3iv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColor3s(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3s)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3sv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3sv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColor3ub(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3ub)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3ubv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3ubv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColor3ui(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3ui)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3uiv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3uiv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColor3us(red, green, blue) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3us)(CGL_MACRO_CONTEXT_RENDERER, red, green, blue)
#define glSecondaryColor3usv(components) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color3usv)(CGL_MACRO_CONTEXT_RENDERER, components)
#define glSecondaryColorPointer(size, type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.secondary_color_pointer)(CGL_MACRO_CONTEXT_RENDERER, size, type, stride, pointer)
#define glPointParameterf(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.point_parameterf)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glPointParameterfv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.point_parameterfv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glPointParameteri(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.point_parameteri)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glPointParameteriv(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.point_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha) \
(*(CGL_MACRO_CONTEXT)->disp.blend_func_separate)(CGL_MACRO_CONTEXT_RENDERER, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
#define glMultiDrawArrays(mode, first, count, primcount) \
(*(CGL_MACRO_CONTEXT)->disp.multi_draw_arrays)(CGL_MACRO_CONTEXT_RENDERER, mode, first, count, primcount)
#define glMultiDrawElements(mode, count, type, indices, primcount) \
(*(CGL_MACRO_CONTEXT)->disp.multi_draw_elements)(CGL_MACRO_CONTEXT_RENDERER, mode, count, type, indices, primcount)
#define glWindowPos2d(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2d)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glWindowPos2dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glWindowPos2f(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2f)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glWindowPos2fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glWindowPos2i(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2i)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glWindowPos2iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glWindowPos2s(x, y) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2s)(CGL_MACRO_CONTEXT_RENDERER, x, y)
#define glWindowPos2sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos2sv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glWindowPos3d(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3d)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glWindowPos3dv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3dv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glWindowPos3f(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3f)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glWindowPos3fv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3fv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glWindowPos3i(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3i)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glWindowPos3iv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3iv)(CGL_MACRO_CONTEXT_RENDERER, v)
#define glWindowPos3s(x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3s)(CGL_MACRO_CONTEXT_RENDERER, x, y, z)
#define glWindowPos3sv(v) \
(*(CGL_MACRO_CONTEXT)->disp.window_pos3sv)(CGL_MACRO_CONTEXT_RENDERER, v)
/****************** OpenGL 1.5 Macros *****************************/
#define glGenQueries(n, ids) \
(*(CGL_MACRO_CONTEXT)->disp.gen_queries)(CGL_MACRO_CONTEXT_RENDERER, n, ids)
#define glDeleteQueries(n, ids) \
(*(CGL_MACRO_CONTEXT)->disp.delete_queries)(CGL_MACRO_CONTEXT_RENDERER, n, ids)
#define glIsQuery(id) \
(*(CGL_MACRO_CONTEXT)->disp.is_query)(CGL_MACRO_CONTEXT_RENDERER, id)
#define glBeginQuery(target, id) \
(*(CGL_MACRO_CONTEXT)->disp.begin_query)(CGL_MACRO_CONTEXT_RENDERER, target, id)
#define glEndQuery(target) \
(*(CGL_MACRO_CONTEXT)->disp.end_query)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glGetQueryiv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_queryiv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetQueryObjectiv(id, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_query_objectiv)(CGL_MACRO_CONTEXT_RENDERER, id, pname, params)
#define glGetQueryObjectuiv(id, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_query_objectuiv)(CGL_MACRO_CONTEXT_RENDERER, id, pname, params)
#define glBindBuffer(target, buffer) \
(*(CGL_MACRO_CONTEXT)->disp.bind_buffer)(CGL_MACRO_CONTEXT_RENDERER, target, buffer)
#define glDeleteBuffers(n, buffers) \
(*(CGL_MACRO_CONTEXT)->disp.delete_buffers)(CGL_MACRO_CONTEXT_RENDERER, n, buffers)
#define glGenBuffers(n, buffers) \
(*(CGL_MACRO_CONTEXT)->disp.gen_buffers)(CGL_MACRO_CONTEXT_RENDERER, n, buffers)
#define glIsBuffer(buffer) \
(*(CGL_MACRO_CONTEXT)->disp.is_buffer)(CGL_MACRO_CONTEXT_RENDERER, buffer)
#define glBufferData(target, size, data, usage) \
(*(CGL_MACRO_CONTEXT)->disp.buffer_data)(CGL_MACRO_CONTEXT_RENDERER, target, size, data, usage)
#define glBufferSubData(target, offset, size, data) \
(*(CGL_MACRO_CONTEXT)->disp.buffer_sub_data)(CGL_MACRO_CONTEXT_RENDERER, target, offset, size, data)
#define glGetBufferSubData(target, offset, size, data) \
(*(CGL_MACRO_CONTEXT)->disp.get_buffer_sub_data)(CGL_MACRO_CONTEXT_RENDERER, target, offset, size, data)
#define glMapBuffer(target, access) \
(*(CGL_MACRO_CONTEXT)->disp.map_buffer)(CGL_MACRO_CONTEXT_RENDERER, target, access)
#define glUnmapBuffer(target) \
(*(CGL_MACRO_CONTEXT)->disp.unmap_buffer)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glGetBufferParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_buffer_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetBufferPointerv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_buffer_pointerv)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
/****************** OpenGL 2.0 Macros *****************************/
#define glDrawBuffers(n, bufs) \
(*(CGL_MACRO_CONTEXT)->disp.draw_buffers_ARB)(CGL_MACRO_CONTEXT_RENDERER, n, bufs)
#define glVertexAttrib1d(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttrib1dv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib1f(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttrib1fv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib1s(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttrib1sv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib2d(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttrib2dv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib2f(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttrib2fv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib2s(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttrib2sv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib3d(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttrib3dv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib3f(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttrib3fv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib3s(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttrib3sv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4Nbv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nbv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4Niv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Niv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4Nsv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nsv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4Nub(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nub_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, x, w)
#define glVertexAttrib4Nubv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nubv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4Nuiv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nuiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4Nusv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nusv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4bv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4bv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4d(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttrib4dv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4f(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttrib4fv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4iv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4s(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttrib4sv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4ubv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4ubv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4uiv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4uiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttrib4usv(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4usv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribPointer(index, size, type, normalized, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib_pointer_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, size, type, normalized, stride, pointer)
#define glEnableVertexAttribArray(index) \
(*(CGL_MACRO_CONTEXT)->disp.enable_vertex_attrib_array_ARB)(CGL_MACRO_CONTEXT_RENDERER, index)
#define glDisableVertexAttribArray(index) \
(*(CGL_MACRO_CONTEXT)->disp.disable_vertex_attrib_array_ARB)(CGL_MACRO_CONTEXT_RENDERER, index)
#define glGetVertexAttribdv(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribdv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glGetVertexAttribfv(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glGetVertexAttribiv(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glGetVertexAttribPointerv(index, pname, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attrib_pointerv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, pointer)
#define glDeleteShader(shader) \
(*(CGL_MACRO_CONTEXT)->disp.delete_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(shader))
#define glDetachShader(program, shader) \
(*(CGL_MACRO_CONTEXT)->disp.detach_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), CGL_HANDLE_ARB(shader))
#define glCreateShader(type) \
(GLuint)((unsigned long)(*(CGL_MACRO_CONTEXT)->disp.create_shader_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, type))
#define glShaderSource(shader, count, string, length) \
(*(CGL_MACRO_CONTEXT)->disp.shader_source_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(shader), count, string, length)
#define glCompileShader(shader) \
(*(CGL_MACRO_CONTEXT)->disp.compile_shader_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(shader))
#define glCreateProgram() \
(GLuint)((unsigned long)(*(CGL_MACRO_CONTEXT)->disp.create_program_object_ARB)(CGL_MACRO_CONTEXT_RENDERER))
#define glAttachShader(program, shader) \
(*(CGL_MACRO_CONTEXT)->disp.attach_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), CGL_HANDLE_ARB(shader))
#define glLinkProgram(program) \
(*(CGL_MACRO_CONTEXT)->disp.link_program_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program))
#define glUseProgram(program) \
(*(CGL_MACRO_CONTEXT)->disp.use_program_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program))
#define glDeleteProgram(program) \
(*(CGL_MACRO_CONTEXT)->disp.delete_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program))
#define glValidateProgram(program) \
(*(CGL_MACRO_CONTEXT)->disp.validate_program_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program))
#define glUniform1f(location, v0) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0)
#define glUniform2f(location, v0, v1) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1)
#define glUniform3f(location, v0, v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2)
#define glUniform4f(location, v0, v1, v2, v3) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2, v3)
#define glUniform1i(location, v0) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0)
#define glUniform2i(location, v0, v1) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1)
#define glUniform3i(location, v0, v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2)
#define glUniform4i(location, v0, v1, v2, v3) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2, v3)
#define glUniform1fv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform2fv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform3fv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform4fv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform1iv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform2iv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform3iv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform4iv(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniformMatrix2fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix2fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix3fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix3fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix4fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glIsShader(shader) \
(*(CGL_MACRO_CONTEXT)->disp.is_shader)(CGL_MACRO_CONTEXT_RENDERER, shader)
#define glIsProgram(program) \
(*(CGL_MACRO_CONTEXT)->disp.is_program)(CGL_MACRO_CONTEXT_RENDERER, program)
#define glGetShaderiv(shader, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_shaderiv)(CGL_MACRO_CONTEXT_RENDERER, shader, pname, params)
#define glGetProgramiv(program, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_programiv)(CGL_MACRO_CONTEXT_RENDERER, program, pname, params)
#define glGetAttachedShaders(program, maxCount, count, shaders) \
(*(CGL_MACRO_CONTEXT)->disp.get_attached_shaders)(CGL_MACRO_CONTEXT_RENDERER, program, maxCount, count, shaders)
#define glGetShaderInfoLog(shader, bufSize, length, infoLog) \
(*(CGL_MACRO_CONTEXT)->disp.get_shader_info_log)(CGL_MACRO_CONTEXT_RENDERER, shader, bufSize, length, infoLog)
#define glGetProgramInfoLog(program, bufSize, length, infoLog) \
(*(CGL_MACRO_CONTEXT)->disp.get_program_info_log)(CGL_MACRO_CONTEXT_RENDERER, program, bufSize, length, infoLog)
#define glGetUniformLocation(program, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniform_location_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), name)
#define glGetActiveUniform(program, index, bufSize, length, size, type, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_active_uniform_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), index, bufSize, length, size, type, name)
#define glGetUniformfv(program, location, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniformfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), location, params)
#define glGetUniformiv(program, location, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniformiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), location, params)
#define glGetShaderSource(shader, bufSize, length, source) \
(*(CGL_MACRO_CONTEXT)->disp.get_shader_source_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(shader), bufSize, length, source)
#define glBindAttribLocation(program, index, name) \
(*(CGL_MACRO_CONTEXT)->disp.bind_attrib_location_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), index, name)
#define glGetActiveAttrib(program, index, bufSize, length, size, type, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_active_attrib_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), index, bufSize, length, size, type, name)
#define glGetAttribLocation(program, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_attrib_location_ARB)(CGL_MACRO_CONTEXT_RENDERER, CGL_HANDLE_ARB(program), name)
#define glStencilFuncSeparate(face, func, ref, mask) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_func_separate)(CGL_MACRO_CONTEXT_RENDERER, face, func, ref, mask)
#define glStencilOpSeparate(face, fail, zfail, zpass) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_op_separate_ATI)(CGL_MACRO_CONTEXT_RENDERER, face, fail, zfail, zpass)
#define glStencilMaskSeparate(face, mask) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_mask_separate)(CGL_MACRO_CONTEXT_RENDERER, face, mask)
#define glBlendEquationSeparate glBlendEquationSeparateEXT
/****************** OpenGL 2.1 Macros *****************************/
#define glUniformMatrix2x3fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix2x3fv)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix3x2fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix3x2fv)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix2x4fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix2x4fv)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix4x2fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix4x2fv)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix3x4fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix3x4fv)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix4x3fv(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix4x3fv)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
/****************** OpenGL 3.0 Macros *****************************/
#define glColorMaski glColorMaskIndexedEXT
#define glGetBooleani_v glGetBooleanIndexedvEXT
#define glGetIntegeri_v glGetIntegerIndexedvEXT
#define glEnablei glEnableIndexedEXT
#define glDisablei glDisableIndexedEXT
#define glIsEnabledi glIsEnabledIndexedEXT
#define glBeginTransformFeedback glBeginTransformFeedbackEXT
#define glEndTransformFeedback glEndTransformFeedbackEXT
#define glBindBufferRange glBindBufferRangeEXT
#define glBindBufferBase glBindBufferBaseEXT
#define glTransformFeedbackVaryings glTransformFeedbackVaryingsEXT
#define glGetTransformFeedbackVarying glGetTransformFeedbackVaryingEXT
#define glClampColor glClampColorARB
#define glBeginConditionalRender glBeginConditionalRenderNV
#define glEndConditionalRender glEndConditionalRenderNV
#define glVertexAttribIPointer glVertexAttribIPointerEXT
#define glGetVertexAttribIiv glGetVertexAttribIivEXT
#define glGetVertexAttribIuiv glGetVertexAttribIuivEXT
#define glVertexAttribI1i glVertexAttribI1iEXT
#define glVertexAttribI2i glVertexAttribI2iEXT
#define glVertexAttribI3i glVertexAttribI3iEXT
#define glVertexAttribI4i glVertexAttribI4iEXT
#define glVertexAttribI1ui glVertexAttribI1uiEXT
#define glVertexAttribI2ui glVertexAttribI2uiEXT
#define glVertexAttribI3ui glVertexAttribI3uiEXT
#define glVertexAttribI4ui glVertexAttribI4uiEXT
#define glVertexAttribI1iv glVertexAttribI1ivEXT
#define glVertexAttribI2iv glVertexAttribI2ivEXT
#define glVertexAttribI3iv glVertexAttribI3ivEXT
#define glVertexAttribI4iv glVertexAttribI4ivEXT
#define glVertexAttribI1uiv glVertexAttribI1uivEXT
#define glVertexAttribI2uiv glVertexAttribI2uivEXT
#define glVertexAttribI3uiv glVertexAttribI3uivEXT
#define glVertexAttribI4uiv glVertexAttribI4uivEXT
#define glVertexAttribI4bv glVertexAttribI4bvEXT
#define glVertexAttribI4sv glVertexAttribI4svEXT
#define glVertexAttribI4ubv glVertexAttribI4ubvEXT
#define glVertexAttribI4usv glVertexAttribI4usvEXT
#define glGetUniformuiv glGetUniformuivEXT
#define glBindFragDataLocation glBindFragDataLocationEXT
#define glGetFragDataLocation glGetFragDataLocationEXT
#define glUniform1ui glUniform1uiEXT
#define glUniform2ui glUniform2uiEXT
#define glUniform3ui glUniform3uiEXT
#define glUniform4ui glUniform4uiEXT
#define glUniform1uiv glUniform1uivEXT
#define glUniform2uiv glUniform2uivEXT
#define glUniform3uiv glUniform3uivEXT
#define glUniform4uiv glUniform4uivEXT
#define glTexParameterIiv glTexParameterIivEXT
#define glTexParameterIuiv glTexParameterIuivEXT
#define glGetTexParameterIiv glGetTexParameterIivEXT
#define glGetTexParameterIuiv glGetTexParameterIuivEXT
#define glClearBufferiv(buffer, drawbuffer, value) \
(*(CGL_MACRO_CONTEXT)->disp.clear_bufferiv)(CGL_MACRO_CONTEXT_RENDERER, buffer, drawbuffer, value)
#define glClearBufferuiv(buffer, drawbuffer, value) \
(*(CGL_MACRO_CONTEXT)->disp.clear_bufferuiv)(CGL_MACRO_CONTEXT_RENDERER, buffer, drawbuffer, value)
#define glClearBufferfv(buffer, drawbuffer, value) \
(*(CGL_MACRO_CONTEXT)->disp.clear_bufferfv)(CGL_MACRO_CONTEXT_RENDERER, buffer, drawbuffer, value)
#define glClearBufferfi(buffer, drawbuffer, depth, stencil) \
(*(CGL_MACRO_CONTEXT)->disp.clear_bufferfi)(CGL_MACRO_CONTEXT_RENDERER, buffer, drawbuffer, depth, stencil)
#define glGetStringi(name, index) \
(*(CGL_MACRO_CONTEXT)->disp.get_stringi)(CGL_MACRO_CONTEXT_RENDERER, name, index)
/********** ARB Extensions *************************************************/
/* GL_ARB_vertex_program */
#define glBindProgramARB(target, id) \
(*(CGL_MACRO_CONTEXT)->disp.bind_program_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, id)
#define glDeleteProgramsARB(n, programs) \
(*(CGL_MACRO_CONTEXT)->disp.delete_programs_ARB)(CGL_MACRO_CONTEXT_RENDERER, n, programs)
#define glGenProgramsARB(n, programs) \
(*(CGL_MACRO_CONTEXT)->disp.gen_programs_ARB)(CGL_MACRO_CONTEXT_RENDERER, n, programs)
#define glIsProgramARB(id) \
(*(CGL_MACRO_CONTEXT)->disp.is_program_ARB)(CGL_MACRO_CONTEXT_RENDERER, id)
#define glVertexAttrib1sARB(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttrib1fARB(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttrib1dARB(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttrib2sARB(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttrib2fARB(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttrib2dARB(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttrib3sARB(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttrib3fARB(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttrib3dARB(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttrib4sARB(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4s_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttrib4fARB(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttrib4dARB(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttrib4NubARB(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nub_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttrib1svARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib1fvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib1dvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib1dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib2svARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib2fvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib2dvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib2dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib3svARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib3fvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib3dvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib3dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4bvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4bv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4ubvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4ubv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4svARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4sv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4usvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4usv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4ivARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4uivARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4uiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4fvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4dvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4NbvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nbv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4NubvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nubv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4NsvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nsv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4NusvARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nusv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4NivARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Niv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttrib4NuivARB(index, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib4Nuiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, addr)
#define glVertexAttribPointerARB(index, size, type, normalized, stride, addr) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib_pointer_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, size, type, normalized, stride, addr)
#define glEnableVertexAttribArrayARB(index) \
(*(CGL_MACRO_CONTEXT)->disp.enable_vertex_attrib_array_ARB)(CGL_MACRO_CONTEXT_RENDERER, index)
#define glDisableVertexAttribArrayARB(index) \
(*(CGL_MACRO_CONTEXT)->disp.disable_vertex_attrib_array_ARB)(CGL_MACRO_CONTEXT_RENDERER, index)
#define glGetVertexAttribdvARB(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribdv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glGetVertexAttribfvARB(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glGetVertexAttribivARB(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glGetVertexAttribPointervARB(index, pname, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attrib_pointerv_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname, pointer)
#define glProgramEnvParameter4dARB(target, index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.program_env_parameter4d_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, x, y, z, w)
#define glProgramEnvParameter4dvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.program_env_parameter4dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glProgramEnvParameter4fARB(target, index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.program_env_parameter4f_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, x, y, z, w)
#define glProgramEnvParameter4fvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.program_env_parameter4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glProgramLocalParameter4dARB(target, index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.program_local_parameter4d_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, x, y, z, w)
#define glProgramLocalParameter4dvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.program_local_parameter4dv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glProgramLocalParameter4fARB(target, index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.program_local_parameter4f_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, x, y, z, w)
#define glProgramLocalParameter4fvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.program_local_parameter4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glGetProgramEnvParameterdvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_program_env_parameterdv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glGetProgramEnvParameterfvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_program_env_parameterfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glGetProgramLocalParameterdvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_program_local_parameterdv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glGetProgramLocalParameterfvARB(target, index, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_program_local_parameterfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, index, params)
#define glProgramStringARB(target, format, length, string) \
(*(CGL_MACRO_CONTEXT)->disp.program_string_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, format, length, string)
#define glGetProgramStringARB(target, pname, string) \
(*(CGL_MACRO_CONTEXT)->disp.get_program_string_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, pname, string)
#define glGetProgramivARB(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_programiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
/* GL_EXT_gpu_program_parameters */
#define glProgramEnvParameters4fvEXT(target, index, count, params) \
(*(CGL_MACRO_CONTEXT)->disp.program_env_parameters4fv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index, count, params)
#define glProgramLocalParameters4fvEXT(target, index, count, params) \
(*(CGL_MACRO_CONTEXT)->disp.program_local_parameters4fv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index, count, params)
/* GL_ARB_vertex_blend */
#define glWeightbvARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightbv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightsvARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightsv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightivARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightfvARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightdvARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightdv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightubvARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightubv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightusvARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightusv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightuivARB(size, weights) \
(*(CGL_MACRO_CONTEXT)->disp.weightuiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, weights)
#define glWeightPointerARB(size, type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.weight_pointer_ARB)(CGL_MACRO_CONTEXT_RENDERER, size, type, stride, pointer)
#define glVertexBlendARB(count) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_blend_ARB)(CGL_MACRO_CONTEXT_RENDERER, count)
/* GL_ARB_multitexture */
#define glClientActiveTextureARB glClientActiveTexture
#define glActiveTextureARB glActiveTexture
#define glMultiTexCoord1dARB glMultiTexCoord1d
#define glMultiTexCoord1dvARB glMultiTexCoord1dv
#define glMultiTexCoord1fARB glMultiTexCoord1f
#define glMultiTexCoord1fvARB glMultiTexCoord1fv
#define glMultiTexCoord1iARB glMultiTexCoord1i
#define glMultiTexCoord1ivARB glMultiTexCoord1iv
#define glMultiTexCoord1sARB glMultiTexCoord1s
#define glMultiTexCoord1svARB glMultiTexCoord1sv
#define glMultiTexCoord2dARB glMultiTexCoord2d
#define glMultiTexCoord2dvARB glMultiTexCoord2dv
#define glMultiTexCoord2fARB glMultiTexCoord2f
#define glMultiTexCoord2fvARB glMultiTexCoord2fv
#define glMultiTexCoord2iARB glMultiTexCoord2i
#define glMultiTexCoord2ivARB glMultiTexCoord2iv
#define glMultiTexCoord2sARB glMultiTexCoord2s
#define glMultiTexCoord2svARB glMultiTexCoord2sv
#define glMultiTexCoord3dARB glMultiTexCoord3d
#define glMultiTexCoord3dvARB glMultiTexCoord3dv
#define glMultiTexCoord3fARB glMultiTexCoord3f
#define glMultiTexCoord3fvARB glMultiTexCoord3fv
#define glMultiTexCoord3iARB glMultiTexCoord3i
#define glMultiTexCoord3ivARB glMultiTexCoord3iv
#define glMultiTexCoord3sARB glMultiTexCoord3s
#define glMultiTexCoord3svARB glMultiTexCoord3sv
#define glMultiTexCoord4dARB glMultiTexCoord4d
#define glMultiTexCoord4dvARB glMultiTexCoord4dv
#define glMultiTexCoord4fARB glMultiTexCoord4f
#define glMultiTexCoord4fvARB glMultiTexCoord4fv
#define glMultiTexCoord4iARB glMultiTexCoord4i
#define glMultiTexCoord4ivARB glMultiTexCoord4iv
#define glMultiTexCoord4sARB glMultiTexCoord4s
#define glMultiTexCoord4svARB glMultiTexCoord4sv
/* GL_ARB_transpose_matrix */
#define glLoadTransposeMatrixfARB glLoadTransposeMatrixf
#define glLoadTransposeMatrixdARB glLoadTransposeMatrixd
#define glMultTransposeMatrixfARB glMultTransposeMatrixf
#define glMultTransposeMatrixdARB glMultTransposeMatrixd
/* GL_ARB_texture_compression */
#define glCompressedTexImage3DARB glCompressedTexImage3D
#define glCompressedTexImage2DARB glCompressedTexImage2D
#define glCompressedTexImage1DARB glCompressedTexImage1D
#define glCompressedTexSubImage3DARB glCompressedTexSubImage3D
#define glCompressedTexSubImage2DARB glCompressedTexSubImage2D
#define glCompressedTexSubImage1DARB glCompressedTexSubImage1D
#define glGetCompressedTexImageARB glGetCompressedTexImage
/* GL_ARB_multisample */
#define glSampleCoverageARB glSampleCoverage
/* GL_ARB_point_parameters */
#define glPointParameterfARB glPointParameterf
#define glPointParameterfvARB glPointParameterfv
/* GL_ARB_window_pos */
#define glWindowPos2dARB glWindowPos2d
#define glWindowPos2dvARB glWindowPos2dv
#define glWindowPos2fARB glWindowPos2f
#define glWindowPos2fvARB glWindowPos2fv
#define glWindowPos2iARB glWindowPos2i
#define glWindowPos2ivARB glWindowPos2iv
#define glWindowPos2sARB glWindowPos2s
#define glWindowPos2svARB glWindowPos2sv
#define glWindowPos3dARB glWindowPos3d
#define glWindowPos3dvARB glWindowPos3dv
#define glWindowPos3fARB glWindowPos3f
#define glWindowPos3fvARB glWindowPos3fv
#define glWindowPos3iARB glWindowPos3i
#define glWindowPos3ivARB glWindowPos3iv
#define glWindowPos3sARB glWindowPos3s
#define glWindowPos3svARB glWindowPos3sv
/* GL_ARB_occlusion_query */
#define glGenQueriesARB glGenQueries
#define glDeleteQueriesARB glDeleteQueries
#define glIsQueryARB glIsQuery
#define glBeginQueryARB glBeginQuery
#define glEndQueryARB glEndQuery
#define glGetQueryivARB glGetQueryiv
#define glGetQueryObjectivARB glGetQueryObjectiv
#define glGetQueryObjectuivARB glGetQueryObjectuiv
/* GL_ARB_vertex_buffer_object */
#define glBindBufferARB glBindBuffer
#define glDeleteBuffersARB glDeleteBuffers
#define glGenBuffersARB glGenBuffers
#define glIsBufferARB glIsBuffer
#define glBufferDataARB glBufferData
#define glBufferSubDataARB glBufferSubData
#define glGetBufferSubDataARB glGetBufferSubData
#define glMapBufferARB glMapBuffer
#define glUnmapBufferARB glUnmapBuffer
#define glGetBufferParameterivARB glGetBufferParameteriv
#define glGetBufferPointervARB glGetBufferPointerv
/* GL_ARB_shader_objects */
#define glDeleteObjectARB(obj) \
(*(CGL_MACRO_CONTEXT)->disp.delete_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, obj)
#define glGetHandleARB(pname) \
(*(CGL_MACRO_CONTEXT)->disp.get_handle_ARB)(CGL_MACRO_CONTEXT_RENDERER, pname)
#define glDetachObjectARB(container, attached) \
(*(CGL_MACRO_CONTEXT)->disp.detach_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, container, attached)
#define glCreateShaderObjectARB(shader) \
(*(CGL_MACRO_CONTEXT)->disp.create_shader_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, shader)
#define glShaderSourceARB(shader, count, string, length) \
(*(CGL_MACRO_CONTEXT)->disp.shader_source_ARB)(CGL_MACRO_CONTEXT_RENDERER, shader, count, string, length)
#define glCompileShaderARB(shader) \
(*(CGL_MACRO_CONTEXT)->disp.compile_shader_ARB)(CGL_MACRO_CONTEXT_RENDERER, shader)
#define glCreateProgramObjectARB() \
(*(CGL_MACRO_CONTEXT)->disp.create_program_object_ARB)(CGL_MACRO_CONTEXT_RENDERER)
#define glAttachObjectARB(container, object) \
(*(CGL_MACRO_CONTEXT)->disp.attach_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, container, object)
#define glLinkProgramARB(program) \
(*(CGL_MACRO_CONTEXT)->disp.link_program_ARB)(CGL_MACRO_CONTEXT_RENDERER, program)
#define glUseProgramObjectARB(program) \
(*(CGL_MACRO_CONTEXT)->disp.use_program_object_ARB)(CGL_MACRO_CONTEXT_RENDERER, program)
#define glValidateProgramARB(program) \
(*(CGL_MACRO_CONTEXT)->disp.validate_program_ARB)(CGL_MACRO_CONTEXT_RENDERER, program)
#define glUniform1fARB(location, v0) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0)
#define glUniform2fARB(location, v0, v1) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1)
#define glUniform3fARB(location, v0, v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2)
#define glUniform4fARB(location, v0, v1, v2, v3) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4f_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2, v3)
#define glUniform1iARB(location, v0) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0)
#define glUniform2iARB(location, v0, v1) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1)
#define glUniform3iARB(location, v0, v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2)
#define glUniform4iARB(location, v0, v1, v2, v3) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4i_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2, v3)
#define glUniform1fvARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform2fvARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform3fvARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform4fvARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform1ivARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform2ivARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform3ivARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform4ivARB(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4iv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniformMatrix2fvARB(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix2fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix3fvARB(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix3fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glUniformMatrix4fvARB(location, count, transpose, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_matrix4fv_ARB)(CGL_MACRO_CONTEXT_RENDERER, location, count, transpose, value)
#define glGetObjectParameterfvARB(obj, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_object_parameterfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, obj, pname, params)
#define glGetObjectParameterivARB(obj, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_object_parameteriv_ARB)(CGL_MACRO_CONTEXT_RENDERER, obj, pname, params)
#define glGetInfoLogARB(obj, max, length, info) \
(*(CGL_MACRO_CONTEXT)->disp.get_info_log_ARB)(CGL_MACRO_CONTEXT_RENDERER, obj, max, length, info)
#define glGetAttachedObjectsARB(container, max, count, obj) \
(*(CGL_MACRO_CONTEXT)->disp.get_attached_objects_ARB)(CGL_MACRO_CONTEXT_RENDERER, container, max, count, obj)
#define glGetUniformLocationARB(program, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniform_location_ARB)(CGL_MACRO_CONTEXT_RENDERER, program, name)
#define glGetActiveUniformARB(program, index, max, length, size, type, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_active_uniform_ARB)(CGL_MACRO_CONTEXT_RENDERER, program, index, max, length, size, type, name)
#define glGetUniformfvARB(program, location, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniformfv_ARB)(CGL_MACRO_CONTEXT_RENDERER, program, location, params)
#define glGetUniformivARB(program, location, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniformiv_ARB)(CGL_MACRO_CONTEXT_RENDERER, program, location, params)
#define glGetShaderSourceARB(obj, max, length, source) \
(*(CGL_MACRO_CONTEXT)->disp.get_shader_source_ARB)(CGL_MACRO_CONTEXT_RENDERER, obj, max, length, source)
/* GL_ARB_vertex_shader */
#define glBindAttribLocationARB(program, index, name) \
(*(CGL_MACRO_CONTEXT)->disp.bind_attrib_location_ARB)(CGL_MACRO_CONTEXT_RENDERER, program, index, name)
#define glGetActiveAttribARB(program, index, max, length, size, type, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_active_attrib_ARB)(CGL_MACRO_CONTEXT_RENDERER, program, index, max, length, size, type, name)
#define glGetAttribLocationARB(program, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_attrib_location_ARB)(CGL_MACRO_CONTEXT_RENDERER, program, name)
#define glDrawBuffersARB(n, bufs)\
(*(CGL_MACRO_CONTEXT)->disp.draw_buffers_ARB)(CGL_MACRO_CONTEXT_RENDERER, n, bufs)
/* GL_ARB_color_buffer_float */
#define glClampColorARB(target, clamp)\
(*(CGL_MACRO_CONTEXT)->disp.clamp_color_ARB)(CGL_MACRO_CONTEXT_RENDERER, target, clamp)
/* GL_ARB_framebuffer_object */
#define glIsRenderbuffer(renderbuffer) \
(*(CGL_MACRO_CONTEXT)->disp.is_renderbuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, renderbuffer)
#define glBindRenderbuffer(target, renderbuffer) \
(*(CGL_MACRO_CONTEXT)->disp.bind_renderbuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, renderbuffer)
#define glDeleteRenderbuffers(n, renderbuffers) \
(*(CGL_MACRO_CONTEXT)->disp.delete_renderbuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, renderbuffers)
#define glGenRenderbuffers(n, renderbuffers) \
(*(CGL_MACRO_CONTEXT)->disp.gen_renderbuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, renderbuffers)
#define glRenderbufferStorage(target, internalformat, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.renderbuffer_storage_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, width, height)
#define glGetRenderbufferParameteriv(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_renderbuffer_parameteriv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glIsFramebuffer(framebuffer) \
(*(CGL_MACRO_CONTEXT)->disp.is_framebuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, framebuffer)
#define glBindFramebuffer(target, framebuffer) \
(*(CGL_MACRO_CONTEXT)->disp.bind_framebuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, framebuffer)
#define glDeleteFramebuffers(n, framebuffers) \
(*(CGL_MACRO_CONTEXT)->disp.delete_framebuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, framebuffers)
#define glGenFramebuffers(n, framebuffers) \
(*(CGL_MACRO_CONTEXT)->disp.gen_framebuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, framebuffers)
#define glCheckFramebufferStatus(target) \
(*(CGL_MACRO_CONTEXT)->disp.check_framebuffer_status_EXT)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glFramebufferTexture1D(target, attachment, textarget, texture, level) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture1D_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, textarget, texture, level)
#define glFramebufferTexture2D(target, attachment, textarget, texture, level) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture2D_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, textarget, texture, level)
#define glFramebufferTexture3D(target, attachment, textarget, texture, level, zoffset) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture3D_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, textarget, texture, level, zoffset)
#define glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_renderbuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, renderbuffertarget, renderbuffer)
#define glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_framebuffer_attachment_parameteriv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, pname, params)
#define glGenerateMipmap(target) \
(*(CGL_MACRO_CONTEXT)->disp.generate_mipmap_EXT)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) \
(*(CGL_MACRO_CONTEXT)->disp.blit_framebuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
#define glRenderbufferStorageMultisample(target, samples, internalformat, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.renderbuffer_storage_multisample_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, samples, internalformat, width, height)
#define glFramebufferTextureLayer(target, attachment, texture, level, layer) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture_layer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, texture, level, layer)
/* GL_ARB_instanced_arrays */
#define glVertexAttribDivisorARB(index,divisor) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attrib_divisor)(CGL_MACRO_CONTEXT_RENDERER, index, divisor)
/* GL_ARB_draw_instanced */
#define glDrawArraysInstancedARB(mode, first, count, primcount) \
(*(CGL_MACRO_CONTEXT)->disp.draw_arrays_instanced)(CGL_MACRO_CONTEXT_RENDERER, mode, first, count, primcount)
#define glDrawElementsInstancedARB(mode, count, type, indices, primcount) \
(*(CGL_MACRO_CONTEXT)->disp.draw_elements_instanced)(CGL_MACRO_CONTEXT_RENDERER, mode, count, type, indices, primcount)
/* GL_ARB_draw_elements_base_vertex */
#define glDrawElementsBaseVertex(mode, count, type, indices, basev) \
(*(CGL_MACRO_CONTEXT)->disp.draw_elements_base_vertex)(CGL_MACRO_CONTEXT_RENDERER, mode, count, type, indices, basev)
#define glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basev) \
(*(CGL_MACRO_CONTEXT)->disp.draw_range_elements_base_vertex)(CGL_MACRO_CONTEXT_RENDERER, mode, start, end, count, type, indices, basev)
#define glDrawElementsInstancedBaseVertex(mode, count, type, indices, primcount, basev) \
(*(CGL_MACRO_CONTEXT)->disp.draw_elements_instanced_base_vertex)(CGL_MACRO_CONTEXT_RENDERER, mode, count, type, indices, primcount, basev)
#define glMultiDrawElementsBaseVertex(mode, count, type, indices, primcount, basev) \
(*(CGL_MACRO_CONTEXT)->disp.multi_draw_elements_base_vertex)(CGL_MACRO_CONTEXT_RENDERER, mode, count, type, indices, primcount, basev)
/* GL_ARB_sync */
#define glFenceSync(condition, flags) \
(*(CGL_MACRO_CONTEXT)->disp.fence_sync)(CGL_MACRO_CONTEXT_RENDERER, condition, flags)
#define glIsSync(sync) \
(*(CGL_MACRO_CONTEXT)->disp.is_sync)(CGL_MACRO_CONTEXT_RENDERER, sync)
#define glDeleteSync(sync) \
(*(CGL_MACRO_CONTEXT)->disp.delete_sync)(CGL_MACRO_CONTEXT_RENDERER, sync)
#define glClientWaitSync(sync, flags, timeout) \
(*(CGL_MACRO_CONTEXT)->disp.client_wait_sync)(CGL_MACRO_CONTEXT_RENDERER, sync, flags, timeout)
#define glWaitSync(sync, flags, timeout) \
(*(CGL_MACRO_CONTEXT)->disp.wait_sync)(CGL_MACRO_CONTEXT_RENDERER, sync, flags, timeout)
#define glGetInteger64v(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_integer64v_sync)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
#define glGetSynciv(sync, pname, bufSize, length, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_synciv)(CGL_MACRO_CONTEXT_RENDERER, sync, pname, bufSize, length, values)
/*********** EXT Extensions *************************************************/
/* GL_EXT_stencil_two_side */
#define glActiveStencilFaceEXT(face) \
(*(CGL_MACRO_CONTEXT)->disp.active_stencil_face_EXT)(CGL_MACRO_CONTEXT_RENDERER, face)
/* GL_EXT_depth_bounds_test */
#define glDepthBoundsEXT(zmin, zmax) \
(*(CGL_MACRO_CONTEXT)->disp.depth_bounds_EXT)(CGL_MACRO_CONTEXT_RENDERER, zmin, zmax)
/* GL_EXT_blend_equation_separate */
#define glBlendEquationSeparateEXT(modeRGB, modeAlpha) \
(*(CGL_MACRO_CONTEXT)->disp.blend_equation_separate_EXT)(CGL_MACRO_CONTEXT_RENDERER, modeRGB, modeAlpha)
/* GL_EXT_paletted_texture */
#define glColorTableEXT glColorTable
#define glColorSubTableEXT glColorSubTable
#define glGetColorTableEXT glGetColorTable
#define glGetColorTableParameterivEXT glGetColorTableParameteriv
#define glGetColorTableParameterfvEXT glGetColorTableParameterfv
/* GL_EXT_secondary_color */
#define glSecondaryColor3bEXT glSecondaryColor3b
#define glSecondaryColor3bvEXT glSecondaryColor3bv
#define glSecondaryColor3dEXT glSecondaryColor3d
#define glSecondaryColor3dvEXT glSecondaryColor3dv
#define glSecondaryColor3fEXT glSecondaryColor3f
#define glSecondaryColor3fvEXT glSecondaryColor3fv
#define glSecondaryColor3iEXT glSecondaryColor3i
#define glSecondaryColor3ivEXT glSecondaryColor3iv
#define glSecondaryColor3sEXT glSecondaryColor3s
#define glSecondaryColor3svEXT glSecondaryColor3sv
#define glSecondaryColor3ubEXT glSecondaryColor3ub
#define glSecondaryColor3ubvEXT glSecondaryColor3ubv
#define glSecondaryColor3uiEXT glSecondaryColor3ui
#define glSecondaryColor3uivEXT glSecondaryColor3uiv
#define glSecondaryColor3usEXT glSecondaryColor3us
#define glSecondaryColor3usvEXT glSecondaryColor3usv
#define glSecondaryColorPointerEXT glSecondaryColorPointer
/* GL_EXT_fog_coord */
#define glFogCoordfEXT glFogCoordf
#define glFogCoordfvEXT glFogCoordfv
#define glFogCoorddEXT glFogCoordd
#define glFogCoorddvEXT glFogCoorddv
#define glFogCoordPointerEXT glFogCoordPointer
/* GL_EXT_draw_range_elements */
#define glDrawRangeElementsEXT glDrawRangeElements
/* GL_EXT_blend_func_separate */
#define glBlendFuncSeparateEXT glBlendFuncSeparate
/* GL_EXT_multi_draw_arrays */
#define glMultiDrawArraysEXT glMultiDrawArrays
#define glMultiDrawElementsEXT glMultiDrawElements
/* GL_EXT_blend_color */
#define glBlendColorEXT glBlendColor
/* GL_EXT_blend_minmax */
#define glBlendEquationEXT glBlendEquation
/* GL_EXT_framebuffer_object */
#define glIsRenderbufferEXT(renderbuffer) \
(*(CGL_MACRO_CONTEXT)->disp.is_renderbuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, renderbuffer)
#define glBindRenderbufferEXT(target, renderbuffer) \
(*(CGL_MACRO_CONTEXT)->disp.bind_renderbuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, renderbuffer)
#define glDeleteRenderbuffersEXT(n, renderbuffers) \
(*(CGL_MACRO_CONTEXT)->disp.delete_renderbuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, renderbuffers)
#define glGenRenderbuffersEXT(n, renderbuffers) \
(*(CGL_MACRO_CONTEXT)->disp.gen_renderbuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, renderbuffers)
#define glRenderbufferStorageEXT(target, internalformat, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.renderbuffer_storage_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, internalformat, width, height)
#define glGetRenderbufferParameterivEXT(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_renderbuffer_parameteriv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glIsFramebufferEXT(framebuffer) \
(*(CGL_MACRO_CONTEXT)->disp.is_framebuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, framebuffer)
#define glBindFramebufferEXT(target, framebuffer) \
(*(CGL_MACRO_CONTEXT)->disp.bind_framebuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, framebuffer)
#define glDeleteFramebuffersEXT(n, framebuffers) \
(*(CGL_MACRO_CONTEXT)->disp.delete_framebuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, framebuffers)
#define glGenFramebuffersEXT(n, framebuffers) \
(*(CGL_MACRO_CONTEXT)->disp.gen_framebuffers_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, framebuffers)
#define glCheckFramebufferStatusEXT(target) \
(*(CGL_MACRO_CONTEXT)->disp.check_framebuffer_status_EXT)(CGL_MACRO_CONTEXT_RENDERER, target)
#define glFramebufferTexture1DEXT(target, attachment, textarget, texture, level) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture1D_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, textarget, texture, level)
#define glFramebufferTexture2DEXT(target, attachment, textarget, texture, level) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture2D_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, textarget, texture, level)
#define glFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture3D_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, textarget, texture, level, zoffset)
#define glFramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_renderbuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, renderbuffertarget, renderbuffer)
#define glGetFramebufferAttachmentParameterivEXT(target, attachment, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_framebuffer_attachment_parameteriv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, pname, params)
#define glGenerateMipmapEXT(target) \
(*(CGL_MACRO_CONTEXT)->disp.generate_mipmap_EXT)(CGL_MACRO_CONTEXT_RENDERER, target)
/* EXT_framebuffer_blit and EXT_framebuffer_multisample */
#define glBlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) \
(*(CGL_MACRO_CONTEXT)->disp.blit_framebuffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
#define glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height) \
(*(CGL_MACRO_CONTEXT)->disp.renderbuffer_storage_multisample_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, samples, internalformat, width, height)
/* GL_EXT_geometry_shader4 */
#define glProgramParameteriEXT(program, pname, value) \
(*(CGL_MACRO_CONTEXT)->disp.program_parameteri_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, pname, value)
#define glFramebufferTextureEXT(target, attachment, texture, level) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, texture, level)
#define glFramebufferTextureLayerEXT(target, attachment, texture, level, layer) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture_layer_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, texture, level, layer)
#define glFramebufferTextureFaceEXT(target, attachment, texture, level, face) \
(*(CGL_MACRO_CONTEXT)->disp.framebuffer_texture_face_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, attachment, texture, level, face)
/* GL_EXT_transform_feedback */
#define glBindBufferRangeEXT(target, index, buffer, offset, size) \
(*(CGL_MACRO_CONTEXT)->disp.bind_buffer_range_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index, buffer, offset, size)
#define glBindBufferOffsetEXT(target, index, buffer, offset) \
(*(CGL_MACRO_CONTEXT)->disp.bind_buffer_offset_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index, buffer, offset)
#define glBindBufferBaseEXT(target, index, buffer) \
(*(CGL_MACRO_CONTEXT)->disp.bind_buffer_base_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index, buffer)
#define glBeginTransformFeedbackEXT(primitiveMode) \
(*(CGL_MACRO_CONTEXT)->disp.begin_transform_feedback_EXT)(CGL_MACRO_CONTEXT_RENDERER, primitiveMode)
#define glEndTransformFeedbackEXT() \
(*(CGL_MACRO_CONTEXT)->disp.end_transform_feedback_EXT)(CGL_MACRO_CONTEXT_RENDERER)
#define glTransformFeedbackVaryingsEXT(program, count, varyings, bufferMode) \
(*(CGL_MACRO_CONTEXT)->disp.transform_feedback_varyings_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, count, varyings, bufferMode)
#define glGetTransformFeedbackVaryingEXT(program, index, bufSize, length, size, type, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_transform_feedback_varying_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, index, bufSize, length, size, type, name)
/* GL_EXT_transform_feedback || GL_EXT_draw_buffers2 */
#define glGetIntegerIndexedvEXT(param, index, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_integer_indexedv_EXT)(CGL_MACRO_CONTEXT_RENDERER, param, index, values)
#define glGetBooleanIndexedvEXT(param, index, values) \
(*(CGL_MACRO_CONTEXT)->disp.get_boolean_indexedv_EXT)(CGL_MACRO_CONTEXT_RENDERER, param, index, values)
/* GL_EXT_bindable_uniform */
#define glUniformBufferEXT(program, location, buffer) \
(*(CGL_MACRO_CONTEXT)->disp.uniform_buffer_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, location, buffer)
#define glGetUniformBufferSizeEXT(program, location) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniform_buffer_size_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, location)
#define glGetUniformOffsetEXT(program, location) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniform_buffer_offset_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, location)
/* GL_EXT_texture_integer */
#define glClearColorIiEXT(r, g, b, a) \
(*(CGL_MACRO_CONTEXT)->disp.clear_colorIi_EXT)(CGL_MACRO_CONTEXT_RENDERER, r, g, b, a)
#define glClearColorIuiEXT(r, g, b, a) \
(*(CGL_MACRO_CONTEXT)->disp.clear_colorIui_EXT)(CGL_MACRO_CONTEXT_RENDERER, r, g, b, a)
#define glTexParameterIivEXT(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_parameterIiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glTexParameterIuivEXT(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.tex_parameterIuiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetTexParameterIivEXT(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_parameterIiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
#define glGetTexParameterIuivEXT(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_parameterIuiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
/* GL_EXT_gpu_shader4 */
#define glVertexAttribI1iEXT(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI1i_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttribI2iEXT(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI2i_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttribI3iEXT(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI3i_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttribI4iEXT(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4i_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttribI1uiEXT(index, x) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI1ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x)
#define glVertexAttribI2uiEXT(index, x, y) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI2ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x, y)
#define glVertexAttribI3uiEXT(index, x, y, z) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI3ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z)
#define glVertexAttribI4uiEXT(index, x, y, z, w) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, x, y, z, w)
#define glVertexAttribI1ivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI1iv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI2ivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI2iv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI3ivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI3iv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI4ivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4iv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI1uivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI1uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI2uivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI2uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI3uivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI3uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI4uivEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI4bvEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4bv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI4svEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4sv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI4ubvEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4ubv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribI4usvEXT(index, v) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI4usv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, v)
#define glVertexAttribIPointerEXT(index, size, type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_attribI_pointer_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, size, type, stride, pointer)
#define glGetVertexAttribIivEXT(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribIiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glGetVertexAttribIuivEXT(index, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_vertex_attribIuiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, pname, params)
#define glUniform1uiEXT(location, v0) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, v0)
#define glUniform2uiEXT(location, v0, v1) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1)
#define glUniform3uiEXT(location, v0, v1, v2) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2)
#define glUniform4uiEXT(location, v0, v1, v2, v3) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4ui_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, v0, v1, v2, v3)
#define glUniform1uivEXT(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform1uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform2uivEXT(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform2uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform3uivEXT(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform3uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glUniform4uivEXT(location, count, value) \
(*(CGL_MACRO_CONTEXT)->disp.uniform4uiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, location, count, value)
#define glGetUniformuivEXT(program, location, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_uniformuiv_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, location, params)
#define glBindFragDataLocationEXT(program, colorNumber, name) \
(*(CGL_MACRO_CONTEXT)->disp.bind_frag_data_location_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, colorNumber, name)
#define glGetFragDataLocationEXT(program, name) \
(*(CGL_MACRO_CONTEXT)->disp.get_frag_data_location_EXT)(CGL_MACRO_CONTEXT_RENDERER, program, name)
/* GL_EXT_draw_buffers2 */
#define glColorMaskIndexedEXT(index, r, g, b, a) \
(*(CGL_MACRO_CONTEXT)->disp.color_mask_indexed_EXT)(CGL_MACRO_CONTEXT_RENDERER, index, r, g, b, a)
#define glEnableIndexedEXT(target, index) \
(*(CGL_MACRO_CONTEXT)->disp.enable_indexed_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index)
#define glDisableIndexedEXT(target, index) \
(*(CGL_MACRO_CONTEXT)->disp.disable_indexed_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index)
#define glIsEnabledIndexedEXT(target, index) \
(*(CGL_MACRO_CONTEXT)->disp.is_enabled_indexed_EXT)(CGL_MACRO_CONTEXT_RENDERER, target, index)
/* GL_ARB_provoking_vertex */
#define glProvokingVertex(mode) \
(*(CGL_MACRO_CONTEXT)->disp.provoking_vertex_EXT)(CGL_MACRO_CONTEXT_RENDERER, mode)
/* GL_EXT_provoking_vertex */
#define glProvokingVertexEXT glProvokingVertex
/* GL_EXT_timer_query */
#define glGetQueryObjecti64vEXT(id, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_query_objecti64v)(CGL_MACRO_CONTEXT_RENDERER, id, pname, params)
#define glGetQueryObjectui64vEXT(id, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_query_objectui64v)(CGL_MACRO_CONTEXT_RENDERER, id, pname, params)
/* GL_EXT_debug_label */
#define glLabelObjectEXT(type, object, length, label) \
(*(CGL_MACRO_CONTEXT)->disp.label_object_EXT)(CGL_MACRO_CONTEXT_RENDERER, type, object, length, label)
#define glGetObjectLabelEXT(type, object, bufSize, length, label) \
(*(CGL_MACRO_CONTEXT)->disp.get_object_label_EXT)(CGL_MACRO_CONTEXT_RENDERER, type, object, bufSize, length, label)
/* GL_EXT_debug_marker */
#define glInsertEventMarkerEXT(length, marker) \
(*(CGL_MACRO_CONTEXT)->disp.insert_event_marker_EXT)(CGL_MACRO_CONTEXT_RENDERER, length, marker)
#define glPushGroupMarkerEXT(length, marker) \
(*(CGL_MACRO_CONTEXT)->disp.push_group_marker_EXT)(CGL_MACRO_CONTEXT_RENDERER, length, marker)
#define glPopGroupMarkerEXT() \
(*(CGL_MACRO_CONTEXT)->disp.pop_group_marker_EXT)(CGL_MACRO_CONTEXT_RENDERER)
/*********** APPLE Extensions ***********************************************/
/* GL_APPLE_vertex_program_evaluators */
#define glEnableVertexAttribAPPLE(index, pname) \
(*(CGL_MACRO_CONTEXT)->disp.enable_vertex_attrib_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname)
#define glDisableVertexAttribAPPLE(index, pname) \
(*(CGL_MACRO_CONTEXT)->disp.disable_vertex_attrib_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname)
#define glIsVertexAttribEnabledAPPLE(index, pname) \
(*(CGL_MACRO_CONTEXT)->disp.is_vertex_attrib_enabled_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, pname)
#define glMapVertexAttrib1dAPPLE(index, size, u1, u2, stride, order, points) \
(*(CGL_MACRO_CONTEXT)->disp.map_vertex_attrib1d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, size, u1, u2, stride, order, points)
#define glMapVertexAttrib1fAPPLE(index, size, u1, u2, stride, order, points) \
(*(CGL_MACRO_CONTEXT)->disp.map_vertex_attrib1f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, size, u1, u2, stride, order, points)
#define glMapVertexAttrib2dAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) \
(*(CGL_MACRO_CONTEXT)->disp.map_vertex_attrib2d_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points)
#define glMapVertexAttrib2fAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) \
(*(CGL_MACRO_CONTEXT)->disp.map_vertex_attrib2f_ARB)(CGL_MACRO_CONTEXT_RENDERER, index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points)
/* GL_APPLE_texture_range */
#define glTextureRangeAPPLE(target, length, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.texture_range_APPLE)(CGL_MACRO_CONTEXT_RENDERER, target, length, pointer)
#define glGetTexParameterPointervAPPLE(target, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_tex_parameter_pointerv_APPLE)(CGL_MACRO_CONTEXT_RENDERER, target, pname, params)
/* GL_APPLE_fence */
#define glGenFencesAPPLE(n, fences) \
(*(CGL_MACRO_CONTEXT)->disp.gen_fences_APPLE)(CGL_MACRO_CONTEXT_RENDERER, n, fences)
#define glDeleteFencesAPPLE(n, fences) \
(*(CGL_MACRO_CONTEXT)->disp.delete_fences_APPLE)(CGL_MACRO_CONTEXT_RENDERER, n, fences)
#define glSetFenceAPPLE(fence) \
(*(CGL_MACRO_CONTEXT)->disp.set_fence_APPLE)(CGL_MACRO_CONTEXT_RENDERER, fence)
#define glIsFenceAPPLE(fence) \
(*(CGL_MACRO_CONTEXT)->disp.is_fence_APPLE)(CGL_MACRO_CONTEXT_RENDERER, fence)
#define glTestFenceAPPLE(fence) \
(*(CGL_MACRO_CONTEXT)->disp.test_fence_APPLE)(CGL_MACRO_CONTEXT_RENDERER, fence)
#define glFinishFenceAPPLE(fence) \
(*(CGL_MACRO_CONTEXT)->disp.finish_fence_APPLE)(CGL_MACRO_CONTEXT_RENDERER, fence)
#define glTestObjectAPPLE(object, name) \
(*(CGL_MACRO_CONTEXT)->disp.test_object_APPLE)(CGL_MACRO_CONTEXT_RENDERER, object, name)
#define glFinishObjectAPPLE(object, name) \
(*(CGL_MACRO_CONTEXT)->disp.finish_object_APPLE)(CGL_MACRO_CONTEXT_RENDERER, object, name)
/* GL_APPLE_vertex_array_range */
#define glVertexArrayRangeAPPLE(length, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_array_range_EXT)(CGL_MACRO_CONTEXT_RENDERER, length, pointer)
#define glFlushVertexArrayRangeAPPLE(length, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.flush_vertex_array_range_EXT)(CGL_MACRO_CONTEXT_RENDERER, length, pointer)
#define glVertexArrayParameteriAPPLE(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_array_parameteri_EXT)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
/* GL_APPLE_vertex_array_object */
#define glBindVertexArrayAPPLE(id) \
(*(CGL_MACRO_CONTEXT)->disp.bind_vertex_array_EXT)(CGL_MACRO_CONTEXT_RENDERER, id)
#define glDeleteVertexArraysAPPLE(n, ids) \
(*(CGL_MACRO_CONTEXT)->disp.delete_vertex_arrays_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, ids)
#define glGenVertexArraysAPPLE(n, ids) \
(*(CGL_MACRO_CONTEXT)->disp.gen_vertex_arrays_EXT)(CGL_MACRO_CONTEXT_RENDERER, n, ids)
#define glIsVertexArrayAPPLE(id) \
(*(CGL_MACRO_CONTEXT)->disp.is_vertex_array_EXT)(CGL_MACRO_CONTEXT_RENDERER, id)
/* GL_APPLE_element_array */
#define glElementPointerAPPLE(type, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.element_pointer_APPLE)(CGL_MACRO_CONTEXT_RENDERER, type, pointer)
#define glDrawElementArrayAPPLE(mode, first, count) \
(*(CGL_MACRO_CONTEXT)->disp.draw_element_array_APPLE)(CGL_MACRO_CONTEXT_RENDERER, mode, first, count)
#define glDrawRangeElementArrayAPPLE(mode, start, end, first, count) \
(*(CGL_MACRO_CONTEXT)->disp.draw_range_element_array_APPLE)(CGL_MACRO_CONTEXT_RENDERER, mode, start, end, first, count)
#define glMultiDrawElementArrayAPPLE(mode, first, count, primcount) \
(*(CGL_MACRO_CONTEXT)->disp.multi_draw_element_array_APPLE)(CGL_MACRO_CONTEXT_RENDERER, mode, first, count, primcount)
#define glMultiDrawRangeElementArrayAPPLE(mode, start, end, first, count, primcount) \
(*(CGL_MACRO_CONTEXT)->disp.multi_draw_range_element_array_APPLE)(CGL_MACRO_CONTEXT_RENDERER, mode, start, end, first, count, primcount)
/* GL_APPLE_flush_render */
#define glFlushRenderAPPLE() \
(*(CGL_MACRO_CONTEXT)->disp.flush_render_APPLE)(CGL_MACRO_CONTEXT_RENDERER)
#define glFinishRenderAPPLE() \
(*(CGL_MACRO_CONTEXT)->disp.finish_render_APPLE)(CGL_MACRO_CONTEXT_RENDERER)
#define glSwapAPPLE() \
(*(CGL_MACRO_CONTEXT)->disp.swap_APPLE)(CGL_MACRO_CONTEXT_RENDERER)
/* GL_APPLE_flush_buffer_range */
#define glBufferParameteriAPPLE(target, pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.buffer_parameteri_APPLE)(CGL_MACRO_CONTEXT_RENDERER, target, pname, param)
#define glFlushMappedBufferRangeAPPLE(target, offset, size) \
(*(CGL_MACRO_CONTEXT)->disp.flush_mapped_buffer_range_APPLE)(CGL_MACRO_CONTEXT_RENDERER, target, offset, size)
/* GL_APPLE_object_purgeability */
#define glObjectPurgeableAPPLE(objectType, name, option) \
(*(CGL_MACRO_CONTEXT)->disp.object_purgeable_APPLE)(CGL_MACRO_CONTEXT_RENDERER, objectType, name, option)
#define glObjectUnpurgeableAPPLE(objectType, name, option) \
(*(CGL_MACRO_CONTEXT)->disp.object_unpurgeable_APPLE)(CGL_MACRO_CONTEXT_RENDERER, objectType, name, option)
#define glGetObjectParameterivAPPLE(objectType, name, pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.get_object_parameteriv_APPLE)(CGL_MACRO_CONTEXT_RENDERER, objectType, name, pname, params)
/* GL_APPLE_vertex_point_size */
#define glPointSizePointerAPPLE(type, stride, pointer) \
(*(CGL_MACRO_CONTEXT)->disp.point_size_pointer)(CGL_MACRO_CONTEXT_RENDERER, type, stride, pointer)
#define glVertexPointSizefAPPLE(size) \
(*(CGL_MACRO_CONTEXT)->disp.vertex_point_sizef_APPLE)(CGL_MACRO_CONTEXT_RENDERER, size)
/*********** ATI Extensions *************************************************/
/* GL_ATI_separate_stencil */
#define glStencilOpSeparateATI(face, sfail, dpfail, dppass) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_op_separate_ATI)(CGL_MACRO_CONTEXT_RENDERER, face, sfail, dpfail, dppass)
#define glStencilFuncSeparateATI(frontfunc, backfunc, ref, mask) \
(*(CGL_MACRO_CONTEXT)->disp.stencil_func_separate_ATI)(CGL_MACRO_CONTEXT_RENDERER, frontfunc, backfunc, ref, mask)
/* GL_ATI_blend_equation_separate */
#define glBlendEquationSeparateATI glBlendEquationSeparateEXT
/*********** NVIDIA Extensions **********************************************/
/* GL_NV_point_sprite */
#define glPointParameteriNV(pname, param) \
(*(CGL_MACRO_CONTEXT)->disp.point_parameteri)(CGL_MACRO_CONTEXT_RENDERER, pname, param)
#define glPointParameterivNV(pname, params) \
(*(CGL_MACRO_CONTEXT)->disp.point_parameteriv)(CGL_MACRO_CONTEXT_RENDERER, pname, params)
/* GL_NV_conditional_render */
#define glBeginConditionalRenderNV(id, mode) \
(*(CGL_MACRO_CONTEXT)->disp.begin_conditional_render_NV)(CGL_MACRO_CONTEXT_RENDERER, id, mode)
#define glEndConditionalRenderNV() \
(*(CGL_MACRO_CONTEXT)->disp.end_conditional_render_NV)(CGL_MACRO_CONTEXT_RENDERER)
/* GL_NV_texture_barrier */
#define glTextureBarrierNV() \
(*(CGL_MACRO_CONTEXT)->disp.texture_barrier_NV)(CGL_MACRO_CONTEXT_RENDERER)
#endif /* _CGLMACRO_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/CGLRenderers.h | /*
Copyright: (c) 1999-2013 Apple Inc. All rights reserved.
*/
#ifndef _CGLRENDERERS_H
#define _CGLRENDERERS_H
#include <OpenGL/OpenGLAvailability.h>
/*
** Renderer ID numbers
*/
enum {
kCGLRendererGenericID OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 0x00020200,
kCGLRendererGenericFloatID OPENGL_ENUM_AVAILABLE(10_3) = 0x00020400, // Apple Software Renderer
kCGLRendererAppleSWID = 0x00020600,
kCGLRendererATIRage128ID OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 0x00021000,
kCGLRendererATIRadeonID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00021200,
kCGLRendererATIRageProID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00021400,
kCGLRendererATIRadeon8500ID OPENGL_ENUM_DEPRECATED(10_2, 10_6) = 0x00021600,
kCGLRendererATIRadeon9700ID OPENGL_ENUM_DEPRECATED(10_2, 10_6) = 0x00021800,
kCGLRendererATIRadeonX1000ID OPENGL_ENUM_DEPRECATED(10_4, 10_8) = 0x00021900, // Radeon X1xxx
kCGLRendererATIRadeonX2000ID OPENGL_ENUM_AVAILABLE(10_4) = 0x00021A00, // Radeon HD 2xxx and 4xxx
kCGLRendererATIRadeonX3000ID OPENGL_ENUM_AVAILABLE(10_6) = 0x00021B00, // Radeon HD 5xxx and 6xxx
kCGLRendererATIRadeonX4000ID OPENGL_ENUM_AVAILABLE(10_8) = 0x00021C00, // Radeon HD 7xxx
kCGLRendererGeForce2MXID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00022000, // GeForce 2MX and 4MX
kCGLRendererGeForce3ID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00022200, // GeForce 3 and 4Ti
kCGLRendererGeForceFXID OPENGL_ENUM_DEPRECATED(10_2, 10_8) = 0x00022400, // GeForce 5xxx, 6xxx and 7xxx, and
// Quadro FX 4500
kCGLRendererGeForce8xxxID OPENGL_ENUM_AVAILABLE(10_4) = 0x00022600, // GeForce 8xxx, 9xxx, 1xx, 2xx, and 3xx, and
// Quadro 4800
kCGLRendererGeForceID OPENGL_ENUM_AVAILABLE(10_9) = 0x00022700, // GeForce 6xx, and
// Quadro 4000, K5000
kCGLRendererVTBladeXP2ID OPENGL_ENUM_DEPRECATED(10_3, 10_6) = 0x00023000,
kCGLRendererIntel900ID OPENGL_ENUM_DEPRECATED(10_4, 10_8) = 0x00024000, // GMA 950
kCGLRendererIntelX3100ID OPENGL_ENUM_DEPRECATED(10_5, 10_8) = 0x00024200,
kCGLRendererIntelHDID OPENGL_ENUM_AVAILABLE(10_6) = 0x00024300, // HD Graphics 3000
kCGLRendererIntelHD4000ID OPENGL_ENUM_AVAILABLE(10_7) = 0x00024400,
kCGLRendererIntelHD5000ID OPENGL_ENUM_AVAILABLE(10_8) = 0x00024500, // Iris
kCGLRendererMesa3DFXID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00040000,
};
/*
** kCGLRendererIDMatchingMask gives the bits that are useful for matching a
** renderer ID (as returned by CGLDescribePixelFormat or CGLDescribeRenderer)
** with the assigned values above. There should be no bits set in the assigned
** renderer ID's that are not set in this mask.
*/
#define kCGLRendererIDMatchingMask 0x00FE7F00
#endif /* _CGLRENDERERS_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/CGLCurrent.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef _CGLCURRENT_H
#define _CGLCURRENT_H
#include <OpenGL/CGLTypes.h>
#ifdef __cplusplus
extern "C" {
#endif
OPENGL_ASSUME_NONNULL_BEGIN
/*
** Current context functions
*/
extern CGLError CGLSetCurrentContext(CGLContextObj OPENGL_NULLABLE ctx);
extern CGLContextObj OPENGL_NULLABLE CGLGetCurrentContext(void);
OPENGL_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif /* _CGLCURRENT_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h | /*
Copyright: (c) 2010-2012 Apple Inc. All rights reserved.
*/
#ifndef __gltypes_h_
#define __gltypes_h_
#include <stdint.h>
typedef uint32_t GLbitfield;
typedef uint8_t GLboolean;
typedef int8_t GLbyte;
typedef float GLclampf;
typedef uint32_t GLenum;
typedef float GLfloat;
typedef int32_t GLint;
typedef int16_t GLshort;
typedef int32_t GLsizei;
typedef uint8_t GLubyte;
typedef uint32_t GLuint;
typedef uint16_t GLushort;
typedef void GLvoid;
#if !defined(GL_VERSION_2_0)
typedef char GLchar;
#endif
#if !defined(GL_ARB_shader_objects)
typedef char GLcharARB;
typedef void *GLhandleARB;
#endif
typedef double GLdouble;
typedef double GLclampd;
#if !defined(ARB_ES2_compatibility) && !defined(GL_VERSION_4_1)
typedef int32_t GLfixed;
#endif
#if !defined(GL_ARB_half_float_vertex) && !defined(GL_VERSION_3_0)
typedef uint16_t GLhalf;
#endif
#if !defined(GL_ARB_half_float_pixel)
typedef uint16_t GLhalfARB;
#endif
#if !defined(GL_ARB_sync) && !defined(GL_VERSION_3_2)
typedef int64_t GLint64;
typedef struct __GLsync *GLsync;
typedef uint64_t GLuint64;
#endif
#if !defined(GL_EXT_timer_query)
typedef int64_t GLint64EXT;
typedef uint64_t GLuint64EXT;
#endif
#if !defined(GL_VERSION_1_5)
typedef intptr_t GLintptr;
typedef intptr_t GLsizeiptr;
#endif
#if !defined(GL_ARB_vertex_buffer_object)
typedef intptr_t GLintptrARB;
typedef intptr_t GLsizeiptrARB;
#endif
#endif
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gl.h | #ifndef __gl_h_
#define __gl_h_
#if defined __gl3_h_ && !(defined GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED)
#warning gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality.
#endif
/*
** License Applicability. Except to the extent portions of this file are
** made subject to an alternative license as permitted in the SGI Free
** Software License B, Version 1.1 (the "License"), the contents of this
** file are subject only to the provisions of the License. You may not use
** this file except in compliance with the License. You may obtain a copy
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
**
** http://oss.sgi.com/projects/FreeB
**
** Note that, as provided in the License, the Software is distributed on an
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
**
** Original Code. The Original Code is: OpenGL Sample Implementation,
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
** Copyright in any portions created by third parties is as indicated
** elsewhere herein. All Rights Reserved.
**
** Additional Notice Provisions: This software was created using the
** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
** not been independently verified as being compliant with the OpenGL(R)
** version 1.2.1 Specification.
*/
// switches to providing function pointers
//#define GL_GLEXT_FUNCTION_POINTERS 1
#include <OpenGL/gltypes.h>
#ifndef GL_GLEXT_LEGACY
#include <OpenGL/glext.h>
#endif
#include <OpenGL/OpenGLAvailability.h>
#ifdef __cplusplus
extern "C" {
#endif
/* For compatibility with OpenGL v1.0 */
#define GL_LOGIC_OP GL_INDEX_LOGIC_OP
#define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
/*************************************************************/
/* Version */
#define GL_VERSION_1_1 1
#define GL_VERSION_1_2 1
#define GL_VERSION_1_3 1
#define GL_VERSION_1_4 1
#define GL_VERSION_1_5 1
#define GL_VERSION_2_0 1
#define GL_VERSION_2_1 1
/* AccumOp */
#define GL_ACCUM 0x0100
#define GL_LOAD 0x0101
#define GL_RETURN 0x0102
#define GL_MULT 0x0103
#define GL_ADD 0x0104
/* AlphaFunction */
#define GL_NEVER 0x0200
#define GL_LESS 0x0201
#define GL_EQUAL 0x0202
#define GL_LEQUAL 0x0203
#define GL_GREATER 0x0204
#define GL_NOTEQUAL 0x0205
#define GL_GEQUAL 0x0206
#define GL_ALWAYS 0x0207
/* AttribMask */
#define GL_CURRENT_BIT 0x00000001
#define GL_POINT_BIT 0x00000002
#define GL_LINE_BIT 0x00000004
#define GL_POLYGON_BIT 0x00000008
#define GL_POLYGON_STIPPLE_BIT 0x00000010
#define GL_PIXEL_MODE_BIT 0x00000020
#define GL_LIGHTING_BIT 0x00000040
#define GL_FOG_BIT 0x00000080
#define GL_DEPTH_BUFFER_BIT 0x00000100
#define GL_ACCUM_BUFFER_BIT 0x00000200
#define GL_STENCIL_BUFFER_BIT 0x00000400
#define GL_VIEWPORT_BIT 0x00000800
#define GL_TRANSFORM_BIT 0x00001000
#define GL_ENABLE_BIT 0x00002000
#define GL_COLOR_BUFFER_BIT 0x00004000
#define GL_HINT_BIT 0x00008000
#define GL_EVAL_BIT 0x00010000
#define GL_LIST_BIT 0x00020000
#define GL_TEXTURE_BIT 0x00040000
#define GL_SCISSOR_BIT 0x00080000
#define GL_ALL_ATTRIB_BITS 0x000fffff
/* BeginMode */
#define GL_POINTS 0x0000
#define GL_LINES 0x0001
#define GL_LINE_LOOP 0x0002
#define GL_LINE_STRIP 0x0003
#define GL_TRIANGLES 0x0004
#define GL_TRIANGLE_STRIP 0x0005
#define GL_TRIANGLE_FAN 0x0006
#define GL_QUADS 0x0007
#define GL_QUAD_STRIP 0x0008
#define GL_POLYGON 0x0009
/* BlendEquationMode */
/* GL_LOGIC_OP */
/* GL_FUNC_ADD */
/* GL_MIN */
/* GL_MAX */
/* GL_FUNC_SUBTRACT */
/* GL_FUNC_REVERSE_SUBTRACT */
/* BlendingFactorDest */
#define GL_ZERO 0
#define GL_ONE 1
#define GL_SRC_COLOR 0x0300
#define GL_ONE_MINUS_SRC_COLOR 0x0301
#define GL_SRC_ALPHA 0x0302
#define GL_ONE_MINUS_SRC_ALPHA 0x0303
#define GL_DST_ALPHA 0x0304
#define GL_ONE_MINUS_DST_ALPHA 0x0305
/* GL_CONSTANT_COLOR */
/* GL_ONE_MINUS_CONSTANT_COLOR */
/* GL_CONSTANT_ALPHA */
/* GL_ONE_MINUS_CONSTANT_ALPHA */
/* BlendingFactorSrc */
/* GL_ZERO */
/* GL_ONE */
#define GL_DST_COLOR 0x0306
#define GL_ONE_MINUS_DST_COLOR 0x0307
#define GL_SRC_ALPHA_SATURATE 0x0308
/* GL_SRC_ALPHA */
/* GL_ONE_MINUS_SRC_ALPHA */
/* GL_DST_ALPHA */
/* GL_ONE_MINUS_DST_ALPHA */
/* GL_CONSTANT_COLOR */
/* GL_ONE_MINUS_CONSTANT_COLOR */
/* GL_CONSTANT_ALPHA */
/* GL_ONE_MINUS_CONSTANT_ALPHA */
/* Boolean */
#define GL_TRUE 1
#define GL_FALSE 0
/* ClearBufferMask */
/* GL_COLOR_BUFFER_BIT */
/* GL_ACCUM_BUFFER_BIT */
/* GL_STENCIL_BUFFER_BIT */
/* GL_DEPTH_BUFFER_BIT */
/* ClientArrayType */
/* GL_VERTEX_ARRAY */
/* GL_NORMAL_ARRAY */
/* GL_COLOR_ARRAY */
/* GL_INDEX_ARRAY */
/* GL_TEXTURE_COORD_ARRAY */
/* GL_EDGE_FLAG_ARRAY */
/* ClipPlaneName */
#define GL_CLIP_PLANE0 0x3000
#define GL_CLIP_PLANE1 0x3001
#define GL_CLIP_PLANE2 0x3002
#define GL_CLIP_PLANE3 0x3003
#define GL_CLIP_PLANE4 0x3004
#define GL_CLIP_PLANE5 0x3005
/* ColorMaterialFace */
/* GL_FRONT */
/* GL_BACK */
/* GL_FRONT_AND_BACK */
/* ColorMaterialParameter */
/* GL_AMBIENT */
/* GL_DIFFUSE */
/* GL_SPECULAR */
/* GL_EMISSION */
/* GL_AMBIENT_AND_DIFFUSE */
/* ColorPointerType */
/* GL_BYTE */
/* GL_UNSIGNED_BYTE */
/* GL_SHORT */
/* GL_UNSIGNED_SHORT */
/* GL_INT */
/* GL_UNSIGNED_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* ColorTableParameterPName */
/* GL_COLOR_TABLE_SCALE */
/* GL_COLOR_TABLE_BIAS */
/* ColorTableTarget */
/* GL_COLOR_TABLE */
/* GL_POST_CONVOLUTION_COLOR_TABLE */
/* GL_POST_COLOR_MATRIX_COLOR_TABLE */
/* GL_PROXY_COLOR_TABLE */
/* GL_PROXY_POST_CONVOLUTION_COLOR_TABLE */
/* GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE */
/* ConvolutionBorderMode */
/* GL_REDUCE */
/* GL_IGNORE_BORDER */
/* GL_CONSTANT_BORDER */
/* ConvolutionParameter */
/* GL_CONVOLUTION_BORDER_MODE */
/* GL_CONVOLUTION_FILTER_SCALE */
/* GL_CONVOLUTION_FILTER_BIAS */
/* ConvolutionTarget */
/* GL_CONVOLUTION_1D */
/* GL_CONVOLUTION_2D */
/* CullFaceMode */
/* GL_FRONT */
/* GL_BACK */
/* GL_FRONT_AND_BACK */
/* DataType */
#define GL_BYTE 0x1400
#define GL_UNSIGNED_BYTE 0x1401
#define GL_SHORT 0x1402
#define GL_UNSIGNED_SHORT 0x1403
#define GL_INT 0x1404
#define GL_UNSIGNED_INT 0x1405
#define GL_FLOAT 0x1406
#define GL_2_BYTES 0x1407
#define GL_3_BYTES 0x1408
#define GL_4_BYTES 0x1409
#define GL_DOUBLE 0x140A
/* DepthFunction */
/* GL_NEVER */
/* GL_LESS */
/* GL_EQUAL */
/* GL_LEQUAL */
/* GL_GREATER */
/* GL_NOTEQUAL */
/* GL_GEQUAL */
/* GL_ALWAYS */
/* DrawBufferMode */
#define GL_NONE 0
#define GL_FRONT_LEFT 0x0400
#define GL_FRONT_RIGHT 0x0401
#define GL_BACK_LEFT 0x0402
#define GL_BACK_RIGHT 0x0403
#define GL_FRONT 0x0404
#define GL_BACK 0x0405
#define GL_LEFT 0x0406
#define GL_RIGHT 0x0407
#define GL_FRONT_AND_BACK 0x0408
#define GL_AUX0 0x0409
#define GL_AUX1 0x040A
#define GL_AUX2 0x040B
#define GL_AUX3 0x040C
/* Enable */
/* GL_FOG */
/* GL_LIGHTING */
/* GL_TEXTURE_1D */
/* GL_TEXTURE_2D */
/* GL_LINE_STIPPLE */
/* GL_POLYGON_STIPPLE */
/* GL_CULL_FACE */
/* GL_ALPHA_TEST */
/* GL_BLEND */
/* GL_INDEX_LOGIC_OP */
/* GL_COLOR_LOGIC_OP */
/* GL_DITHER */
/* GL_STENCIL_TEST */
/* GL_DEPTH_TEST */
/* GL_CLIP_PLANE0 */
/* GL_CLIP_PLANE1 */
/* GL_CLIP_PLANE2 */
/* GL_CLIP_PLANE3 */
/* GL_CLIP_PLANE4 */
/* GL_CLIP_PLANE5 */
/* GL_LIGHT0 */
/* GL_LIGHT1 */
/* GL_LIGHT2 */
/* GL_LIGHT3 */
/* GL_LIGHT4 */
/* GL_LIGHT5 */
/* GL_LIGHT6 */
/* GL_LIGHT7 */
/* GL_TEXTURE_GEN_S */
/* GL_TEXTURE_GEN_T */
/* GL_TEXTURE_GEN_R */
/* GL_TEXTURE_GEN_Q */
/* GL_MAP1_VERTEX_3 */
/* GL_MAP1_VERTEX_4 */
/* GL_MAP1_COLOR_4 */
/* GL_MAP1_INDEX */
/* GL_MAP1_NORMAL */
/* GL_MAP1_TEXTURE_COORD_1 */
/* GL_MAP1_TEXTURE_COORD_2 */
/* GL_MAP1_TEXTURE_COORD_3 */
/* GL_MAP1_TEXTURE_COORD_4 */
/* GL_MAP2_VERTEX_3 */
/* GL_MAP2_VERTEX_4 */
/* GL_MAP2_COLOR_4 */
/* GL_MAP2_INDEX */
/* GL_MAP2_NORMAL */
/* GL_MAP2_TEXTURE_COORD_1 */
/* GL_MAP2_TEXTURE_COORD_2 */
/* GL_MAP2_TEXTURE_COORD_3 */
/* GL_MAP2_TEXTURE_COORD_4 */
/* GL_POINT_SMOOTH */
/* GL_LINE_SMOOTH */
/* GL_POLYGON_SMOOTH */
/* GL_SCISSOR_TEST */
/* GL_COLOR_MATERIAL */
/* GL_NORMALIZE */
/* GL_AUTO_NORMAL */
/* GL_VERTEX_ARRAY */
/* GL_NORMAL_ARRAY */
/* GL_COLOR_ARRAY */
/* GL_INDEX_ARRAY */
/* GL_TEXTURE_COORD_ARRAY */
/* GL_EDGE_FLAG_ARRAY */
/* GL_POLYGON_OFFSET_POINT */
/* GL_POLYGON_OFFSET_LINE */
/* GL_POLYGON_OFFSET_FILL */
/* GL_COLOR_TABLE */
/* GL_POST_CONVOLUTION_COLOR_TABLE */
/* GL_POST_COLOR_MATRIX_COLOR_TABLE */
/* GL_CONVOLUTION_1D */
/* GL_CONVOLUTION_2D */
/* GL_SEPARABLE_2D */
/* GL_HISTOGRAM */
/* GL_MINMAX */
/* GL_RESCALE_NORMAL */
/* GL_TEXTURE_3D */
/* ErrorCode */
#define GL_NO_ERROR 0
#define GL_INVALID_ENUM 0x0500
#define GL_INVALID_VALUE 0x0501
#define GL_INVALID_OPERATION 0x0502
#define GL_STACK_OVERFLOW 0x0503
#define GL_STACK_UNDERFLOW 0x0504
#define GL_OUT_OF_MEMORY 0x0505
/* GL_TABLE_TOO_LARGE */
/* FeedBackMode */
#define GL_2D 0x0600
#define GL_3D 0x0601
#define GL_3D_COLOR 0x0602
#define GL_3D_COLOR_TEXTURE 0x0603
#define GL_4D_COLOR_TEXTURE 0x0604
/* FeedBackToken */
#define GL_PASS_THROUGH_TOKEN 0x0700
#define GL_POINT_TOKEN 0x0701
#define GL_LINE_TOKEN 0x0702
#define GL_POLYGON_TOKEN 0x0703
#define GL_BITMAP_TOKEN 0x0704
#define GL_DRAW_PIXEL_TOKEN 0x0705
#define GL_COPY_PIXEL_TOKEN 0x0706
#define GL_LINE_RESET_TOKEN 0x0707
/* FogMode */
/* GL_LINEAR */
#define GL_EXP 0x0800
#define GL_EXP2 0x0801
/* FogParameter */
/* GL_FOG_COLOR */
/* GL_FOG_DENSITY */
/* GL_FOG_END */
/* GL_FOG_INDEX */
/* GL_FOG_MODE */
/* GL_FOG_START */
/* FrontFaceDirection */
#define GL_CW 0x0900
#define GL_CCW 0x0901
/* GetColorTableParameterPName */
/* GL_COLOR_TABLE_SCALE */
/* GL_COLOR_TABLE_BIAS */
/* GL_COLOR_TABLE_FORMAT */
/* GL_COLOR_TABLE_WIDTH */
/* GL_COLOR_TABLE_RED_SIZE */
/* GL_COLOR_TABLE_GREEN_SIZE */
/* GL_COLOR_TABLE_BLUE_SIZE */
/* GL_COLOR_TABLE_ALPHA_SIZE */
/* GL_COLOR_TABLE_LUMINANCE_SIZE */
/* GL_COLOR_TABLE_INTENSITY_SIZE */
/* GetConvolutionParameterPName */
/* GL_CONVOLUTION_BORDER_COLOR */
/* GL_CONVOLUTION_BORDER_MODE */
/* GL_CONVOLUTION_FILTER_SCALE */
/* GL_CONVOLUTION_FILTER_BIAS */
/* GL_CONVOLUTION_FORMAT */
/* GL_CONVOLUTION_WIDTH */
/* GL_CONVOLUTION_HEIGHT */
/* GL_MAX_CONVOLUTION_WIDTH */
/* GL_MAX_CONVOLUTION_HEIGHT */
/* GetHistogramParameterPName */
/* GL_HISTOGRAM_WIDTH */
/* GL_HISTOGRAM_FORMAT */
/* GL_HISTOGRAM_RED_SIZE */
/* GL_HISTOGRAM_GREEN_SIZE */
/* GL_HISTOGRAM_BLUE_SIZE */
/* GL_HISTOGRAM_ALPHA_SIZE */
/* GL_HISTOGRAM_LUMINANCE_SIZE */
/* GL_HISTOGRAM_SINK */
/* GetMapTarget */
#define GL_COEFF 0x0A00
#define GL_ORDER 0x0A01
#define GL_DOMAIN 0x0A02
/* GetMinmaxParameterPName */
/* GL_MINMAX_FORMAT */
/* GL_MINMAX_SINK */
/* GetPixelMap */
/* GL_PIXEL_MAP_I_TO_I */
/* GL_PIXEL_MAP_S_TO_S */
/* GL_PIXEL_MAP_I_TO_R */
/* GL_PIXEL_MAP_I_TO_G */
/* GL_PIXEL_MAP_I_TO_B */
/* GL_PIXEL_MAP_I_TO_A */
/* GL_PIXEL_MAP_R_TO_R */
/* GL_PIXEL_MAP_G_TO_G */
/* GL_PIXEL_MAP_B_TO_B */
/* GL_PIXEL_MAP_A_TO_A */
/* GetPointerTarget */
/* GL_VERTEX_ARRAY_POINTER */
/* GL_NORMAL_ARRAY_POINTER */
/* GL_COLOR_ARRAY_POINTER */
/* GL_INDEX_ARRAY_POINTER */
/* GL_TEXTURE_COORD_ARRAY_POINTER */
/* GL_EDGE_FLAG_ARRAY_POINTER */
/* GetTarget */
#define GL_CURRENT_COLOR 0x0B00
#define GL_CURRENT_INDEX 0x0B01
#define GL_CURRENT_NORMAL 0x0B02
#define GL_CURRENT_TEXTURE_COORDS 0x0B03
#define GL_CURRENT_RASTER_COLOR 0x0B04
#define GL_CURRENT_RASTER_INDEX 0x0B05
#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
#define GL_CURRENT_RASTER_POSITION 0x0B07
#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
#define GL_CURRENT_RASTER_DISTANCE 0x0B09
#define GL_POINT_SMOOTH 0x0B10
#define GL_POINT_SIZE 0x0B11
#define GL_POINT_SIZE_RANGE 0x0B12
#define GL_POINT_SIZE_GRANULARITY 0x0B13
#define GL_LINE_SMOOTH 0x0B20
#define GL_LINE_WIDTH 0x0B21
#define GL_LINE_WIDTH_RANGE 0x0B22
#define GL_LINE_WIDTH_GRANULARITY 0x0B23
#define GL_LINE_STIPPLE 0x0B24
#define GL_LINE_STIPPLE_PATTERN 0x0B25
#define GL_LINE_STIPPLE_REPEAT 0x0B26
/* GL_SMOOTH_POINT_SIZE_RANGE */
/* GL_SMOOTH_POINT_SIZE_GRANULARITY */
/* GL_SMOOTH_LINE_WIDTH_RANGE */
/* GL_SMOOTH_LINE_WIDTH_GRANULARITY */
/* GL_ALIASED_POINT_SIZE_RANGE */
/* GL_ALIASED_LINE_WIDTH_RANGE */
#define GL_LIST_MODE 0x0B30
#define GL_MAX_LIST_NESTING 0x0B31
#define GL_LIST_BASE 0x0B32
#define GL_LIST_INDEX 0x0B33
#define GL_POLYGON_MODE 0x0B40
#define GL_POLYGON_SMOOTH 0x0B41
#define GL_POLYGON_STIPPLE 0x0B42
#define GL_EDGE_FLAG 0x0B43
#define GL_CULL_FACE 0x0B44
#define GL_CULL_FACE_MODE 0x0B45
#define GL_FRONT_FACE 0x0B46
#define GL_LIGHTING 0x0B50
#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
#define GL_LIGHT_MODEL_AMBIENT 0x0B53
#define GL_SHADE_MODEL 0x0B54
#define GL_COLOR_MATERIAL_FACE 0x0B55
#define GL_COLOR_MATERIAL_PARAMETER 0x0B56
#define GL_COLOR_MATERIAL 0x0B57
#define GL_FOG 0x0B60
#define GL_FOG_INDEX 0x0B61
#define GL_FOG_DENSITY 0x0B62
#define GL_FOG_START 0x0B63
#define GL_FOG_END 0x0B64
#define GL_FOG_MODE 0x0B65
#define GL_FOG_COLOR 0x0B66
#define GL_DEPTH_RANGE 0x0B70
#define GL_DEPTH_TEST 0x0B71
#define GL_DEPTH_WRITEMASK 0x0B72
#define GL_DEPTH_CLEAR_VALUE 0x0B73
#define GL_DEPTH_FUNC 0x0B74
#define GL_ACCUM_CLEAR_VALUE 0x0B80
#define GL_STENCIL_TEST 0x0B90
#define GL_STENCIL_CLEAR_VALUE 0x0B91
#define GL_STENCIL_FUNC 0x0B92
#define GL_STENCIL_VALUE_MASK 0x0B93
#define GL_STENCIL_FAIL 0x0B94
#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
#define GL_STENCIL_REF 0x0B97
#define GL_STENCIL_WRITEMASK 0x0B98
#define GL_MATRIX_MODE 0x0BA0
#define GL_NORMALIZE 0x0BA1
#define GL_VIEWPORT 0x0BA2
#define GL_MODELVIEW_STACK_DEPTH 0x0BA3
#define GL_PROJECTION_STACK_DEPTH 0x0BA4
#define GL_TEXTURE_STACK_DEPTH 0x0BA5
#define GL_MODELVIEW_MATRIX 0x0BA6
#define GL_PROJECTION_MATRIX 0x0BA7
#define GL_TEXTURE_MATRIX 0x0BA8
#define GL_ATTRIB_STACK_DEPTH 0x0BB0
#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
#define GL_ALPHA_TEST 0x0BC0
#define GL_ALPHA_TEST_FUNC 0x0BC1
#define GL_ALPHA_TEST_REF 0x0BC2
#define GL_DITHER 0x0BD0
#define GL_BLEND_DST 0x0BE0
#define GL_BLEND_SRC 0x0BE1
#define GL_BLEND 0x0BE2
#define GL_LOGIC_OP_MODE 0x0BF0
#define GL_INDEX_LOGIC_OP 0x0BF1
#define GL_COLOR_LOGIC_OP 0x0BF2
#define GL_AUX_BUFFERS 0x0C00
#define GL_DRAW_BUFFER 0x0C01
#define GL_READ_BUFFER 0x0C02
#define GL_SCISSOR_BOX 0x0C10
#define GL_SCISSOR_TEST 0x0C11
#define GL_INDEX_CLEAR_VALUE 0x0C20
#define GL_INDEX_WRITEMASK 0x0C21
#define GL_COLOR_CLEAR_VALUE 0x0C22
#define GL_COLOR_WRITEMASK 0x0C23
#define GL_INDEX_MODE 0x0C30
#define GL_RGBA_MODE 0x0C31
#define GL_DOUBLEBUFFER 0x0C32
#define GL_STEREO 0x0C33
#define GL_RENDER_MODE 0x0C40
#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
#define GL_POINT_SMOOTH_HINT 0x0C51
#define GL_LINE_SMOOTH_HINT 0x0C52
#define GL_POLYGON_SMOOTH_HINT 0x0C53
#define GL_FOG_HINT 0x0C54
#define GL_TEXTURE_GEN_S 0x0C60
#define GL_TEXTURE_GEN_T 0x0C61
#define GL_TEXTURE_GEN_R 0x0C62
#define GL_TEXTURE_GEN_Q 0x0C63
#define GL_PIXEL_MAP_I_TO_I 0x0C70
#define GL_PIXEL_MAP_S_TO_S 0x0C71
#define GL_PIXEL_MAP_I_TO_R 0x0C72
#define GL_PIXEL_MAP_I_TO_G 0x0C73
#define GL_PIXEL_MAP_I_TO_B 0x0C74
#define GL_PIXEL_MAP_I_TO_A 0x0C75
#define GL_PIXEL_MAP_R_TO_R 0x0C76
#define GL_PIXEL_MAP_G_TO_G 0x0C77
#define GL_PIXEL_MAP_B_TO_B 0x0C78
#define GL_PIXEL_MAP_A_TO_A 0x0C79
#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
#define GL_UNPACK_SWAP_BYTES 0x0CF0
#define GL_UNPACK_LSB_FIRST 0x0CF1
#define GL_UNPACK_ROW_LENGTH 0x0CF2
#define GL_UNPACK_SKIP_ROWS 0x0CF3
#define GL_UNPACK_SKIP_PIXELS 0x0CF4
#define GL_UNPACK_ALIGNMENT 0x0CF5
#define GL_PACK_SWAP_BYTES 0x0D00
#define GL_PACK_LSB_FIRST 0x0D01
#define GL_PACK_ROW_LENGTH 0x0D02
#define GL_PACK_SKIP_ROWS 0x0D03
#define GL_PACK_SKIP_PIXELS 0x0D04
#define GL_PACK_ALIGNMENT 0x0D05
#define GL_MAP_COLOR 0x0D10
#define GL_MAP_STENCIL 0x0D11
#define GL_INDEX_SHIFT 0x0D12
#define GL_INDEX_OFFSET 0x0D13
#define GL_RED_SCALE 0x0D14
#define GL_RED_BIAS 0x0D15
#define GL_ZOOM_X 0x0D16
#define GL_ZOOM_Y 0x0D17
#define GL_GREEN_SCALE 0x0D18
#define GL_GREEN_BIAS 0x0D19
#define GL_BLUE_SCALE 0x0D1A
#define GL_BLUE_BIAS 0x0D1B
#define GL_ALPHA_SCALE 0x0D1C
#define GL_ALPHA_BIAS 0x0D1D
#define GL_DEPTH_SCALE 0x0D1E
#define GL_DEPTH_BIAS 0x0D1F
#define GL_MAX_EVAL_ORDER 0x0D30
#define GL_MAX_LIGHTS 0x0D31
#define GL_MAX_CLIP_PLANES 0x0D32
#define GL_MAX_TEXTURE_SIZE 0x0D33
#define GL_MAX_PIXEL_MAP_TABLE 0x0D34
#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
#define GL_MAX_NAME_STACK_DEPTH 0x0D37
#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
#define GL_MAX_VIEWPORT_DIMS 0x0D3A
#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
#define GL_SUBPIXEL_BITS 0x0D50
#define GL_INDEX_BITS 0x0D51
#define GL_RED_BITS 0x0D52
#define GL_GREEN_BITS 0x0D53
#define GL_BLUE_BITS 0x0D54
#define GL_ALPHA_BITS 0x0D55
#define GL_DEPTH_BITS 0x0D56
#define GL_STENCIL_BITS 0x0D57
#define GL_ACCUM_RED_BITS 0x0D58
#define GL_ACCUM_GREEN_BITS 0x0D59
#define GL_ACCUM_BLUE_BITS 0x0D5A
#define GL_ACCUM_ALPHA_BITS 0x0D5B
#define GL_NAME_STACK_DEPTH 0x0D70
#define GL_AUTO_NORMAL 0x0D80
#define GL_MAP1_COLOR_4 0x0D90
#define GL_MAP1_INDEX 0x0D91
#define GL_MAP1_NORMAL 0x0D92
#define GL_MAP1_TEXTURE_COORD_1 0x0D93
#define GL_MAP1_TEXTURE_COORD_2 0x0D94
#define GL_MAP1_TEXTURE_COORD_3 0x0D95
#define GL_MAP1_TEXTURE_COORD_4 0x0D96
#define GL_MAP1_VERTEX_3 0x0D97
#define GL_MAP1_VERTEX_4 0x0D98
#define GL_MAP2_COLOR_4 0x0DB0
#define GL_MAP2_INDEX 0x0DB1
#define GL_MAP2_NORMAL 0x0DB2
#define GL_MAP2_TEXTURE_COORD_1 0x0DB3
#define GL_MAP2_TEXTURE_COORD_2 0x0DB4
#define GL_MAP2_TEXTURE_COORD_3 0x0DB5
#define GL_MAP2_TEXTURE_COORD_4 0x0DB6
#define GL_MAP2_VERTEX_3 0x0DB7
#define GL_MAP2_VERTEX_4 0x0DB8
#define GL_MAP1_GRID_DOMAIN 0x0DD0
#define GL_MAP1_GRID_SEGMENTS 0x0DD1
#define GL_MAP2_GRID_DOMAIN 0x0DD2
#define GL_MAP2_GRID_SEGMENTS 0x0DD3
#define GL_TEXTURE_1D 0x0DE0
#define GL_TEXTURE_2D 0x0DE1
#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
#define GL_SELECTION_BUFFER_POINTER 0x0DF3
#define GL_SELECTION_BUFFER_SIZE 0x0DF4
/* GL_TEXTURE_BINDING_1D */
/* GL_TEXTURE_BINDING_2D */
/* GL_TEXTURE_BINDING_3D */
/* GL_VERTEX_ARRAY */
/* GL_NORMAL_ARRAY */
/* GL_COLOR_ARRAY */
/* GL_INDEX_ARRAY */
/* GL_TEXTURE_COORD_ARRAY */
/* GL_EDGE_FLAG_ARRAY */
/* GL_VERTEX_ARRAY_SIZE */
/* GL_VERTEX_ARRAY_TYPE */
/* GL_VERTEX_ARRAY_STRIDE */
/* GL_NORMAL_ARRAY_TYPE */
/* GL_NORMAL_ARRAY_STRIDE */
/* GL_COLOR_ARRAY_SIZE */
/* GL_COLOR_ARRAY_TYPE */
/* GL_COLOR_ARRAY_STRIDE */
/* GL_INDEX_ARRAY_TYPE */
/* GL_INDEX_ARRAY_STRIDE */
/* GL_TEXTURE_COORD_ARRAY_SIZE */
/* GL_TEXTURE_COORD_ARRAY_TYPE */
/* GL_TEXTURE_COORD_ARRAY_STRIDE */
/* GL_EDGE_FLAG_ARRAY_STRIDE */
/* GL_POLYGON_OFFSET_FACTOR */
/* GL_POLYGON_OFFSET_UNITS */
/* GL_COLOR_TABLE */
/* GL_POST_CONVOLUTION_COLOR_TABLE */
/* GL_POST_COLOR_MATRIX_COLOR_TABLE */
/* GL_CONVOLUTION_1D */
/* GL_CONVOLUTION_2D */
/* GL_SEPARABLE_2D */
/* GL_POST_CONVOLUTION_RED_SCALE */
/* GL_POST_CONVOLUTION_GREEN_SCALE */
/* GL_POST_CONVOLUTION_BLUE_SCALE */
/* GL_POST_CONVOLUTION_ALPHA_SCALE */
/* GL_POST_CONVOLUTION_RED_BIAS */
/* GL_POST_CONVOLUTION_GREEN_BIAS */
/* GL_POST_CONVOLUTION_BLUE_BIAS */
/* GL_POST_CONVOLUTION_ALPHA_BIAS */
/* GL_COLOR_MATRIX */
/* GL_COLOR_MATRIX_STACK_DEPTH */
/* GL_MAX_COLOR_MATRIX_STACK_DEPTH */
/* GL_POST_COLOR_MATRIX_RED_SCALE */
/* GL_POST_COLOR_MATRIX_GREEN_SCALE */
/* GL_POST_COLOR_MATRIX_BLUE_SCALE */
/* GL_POST_COLOR_MATRIX_ALPHA_SCALE */
/* GL_POST_COLOR_MATRIX_RED_BIAS */
/* GL_POST_COLOR_MATRIX_GREEN_BIAS */
/* GL_POST_COLOR_MATRIX_BLUE_BIAS */
/* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
/* GL_HISTOGRAM */
/* GL_MINMAX */
/* GL_MAX_ELEMENTS_VERTICES */
/* GL_MAX_ELEMENTS_INDICES */
/* GL_RESCALE_NORMAL */
/* GL_LIGHT_MODEL_COLOR_CONTROL */
/* GL_PACK_SKIP_IMAGES */
/* GL_PACK_IMAGE_HEIGHT */
/* GL_UNPACK_SKIP_IMAGES */
/* GL_UNPACK_IMAGE_HEIGHT */
/* GL_TEXTURE_3D */
/* GL_MAX_3D_TEXTURE_SIZE */
/* GL_BLEND_COLOR */
/* GL_BLEND_EQUATION */
/* GetTextureParameter */
/* GL_TEXTURE_MAG_FILTER */
/* GL_TEXTURE_MIN_FILTER */
/* GL_TEXTURE_WRAP_S */
/* GL_TEXTURE_WRAP_T */
#define GL_TEXTURE_WIDTH 0x1000
#define GL_TEXTURE_HEIGHT 0x1001
#define GL_TEXTURE_INTERNAL_FORMAT 0x1003
#define GL_TEXTURE_BORDER_COLOR 0x1004
#define GL_TEXTURE_BORDER 0x1005
/* GL_TEXTURE_RED_SIZE */
/* GL_TEXTURE_GREEN_SIZE */
/* GL_TEXTURE_BLUE_SIZE */
/* GL_TEXTURE_ALPHA_SIZE */
/* GL_TEXTURE_LUMINANCE_SIZE */
/* GL_TEXTURE_INTENSITY_SIZE */
/* GL_TEXTURE_PRIORITY */
/* GL_TEXTURE_RESIDENT */
/* GL_TEXTURE_DEPTH */
/* GL_TEXTURE_WRAP_R */
/* GL_TEXTURE_MIN_LOD */
/* GL_TEXTURE_MAX_LOD */
/* GL_TEXTURE_BASE_LEVEL */
/* GL_TEXTURE_MAX_LEVEL */
/* HintMode */
#define GL_DONT_CARE 0x1100
#define GL_FASTEST 0x1101
#define GL_NICEST 0x1102
/* HintTarget */
/* GL_PERSPECTIVE_CORRECTION_HINT */
/* GL_POINT_SMOOTH_HINT */
/* GL_LINE_SMOOTH_HINT */
/* GL_POLYGON_SMOOTH_HINT */
/* GL_FOG_HINT */
/* HistogramTarget */
/* GL_HISTOGRAM */
/* GL_PROXY_HISTOGRAM */
/* IndexPointerType */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* LightModelColorControl */
/* GL_SINGLE_COLOR */
/* GL_SEPARATE_SPECULAR_COLOR */
/* LightModelParameter */
/* GL_LIGHT_MODEL_AMBIENT */
/* GL_LIGHT_MODEL_LOCAL_VIEWER */
/* GL_LIGHT_MODEL_TWO_SIDE */
/* GL_LIGHT_MODEL_COLOR_CONTROL */
/* LightName */
#define GL_LIGHT0 0x4000
#define GL_LIGHT1 0x4001
#define GL_LIGHT2 0x4002
#define GL_LIGHT3 0x4003
#define GL_LIGHT4 0x4004
#define GL_LIGHT5 0x4005
#define GL_LIGHT6 0x4006
#define GL_LIGHT7 0x4007
/* LightParameter */
#define GL_AMBIENT 0x1200
#define GL_DIFFUSE 0x1201
#define GL_SPECULAR 0x1202
#define GL_POSITION 0x1203
#define GL_SPOT_DIRECTION 0x1204
#define GL_SPOT_EXPONENT 0x1205
#define GL_SPOT_CUTOFF 0x1206
#define GL_CONSTANT_ATTENUATION 0x1207
#define GL_LINEAR_ATTENUATION 0x1208
#define GL_QUADRATIC_ATTENUATION 0x1209
/* InterleavedArrays */
/* GL_V2F */
/* GL_V3F */
/* GL_C4UB_V2F */
/* GL_C4UB_V3F */
/* GL_C3F_V3F */
/* GL_N3F_V3F */
/* GL_C4F_N3F_V3F */
/* GL_T2F_V3F */
/* GL_T4F_V4F */
/* GL_T2F_C4UB_V3F */
/* GL_T2F_C3F_V3F */
/* GL_T2F_N3F_V3F */
/* GL_T2F_C4F_N3F_V3F */
/* GL_T4F_C4F_N3F_V4F */
/* ListMode */
#define GL_COMPILE 0x1300
#define GL_COMPILE_AND_EXECUTE 0x1301
/* ListNameType */
/* GL_BYTE */
/* GL_UNSIGNED_BYTE */
/* GL_SHORT */
/* GL_UNSIGNED_SHORT */
/* GL_INT */
/* GL_UNSIGNED_INT */
/* GL_FLOAT */
/* GL_2_BYTES */
/* GL_3_BYTES */
/* GL_4_BYTES */
/* LogicOp */
#define GL_CLEAR 0x1500
#define GL_AND 0x1501
#define GL_AND_REVERSE 0x1502
#define GL_COPY 0x1503
#define GL_AND_INVERTED 0x1504
#define GL_NOOP 0x1505
#define GL_XOR 0x1506
#define GL_OR 0x1507
#define GL_NOR 0x1508
#define GL_EQUIV 0x1509
#define GL_INVERT 0x150A
#define GL_OR_REVERSE 0x150B
#define GL_COPY_INVERTED 0x150C
#define GL_OR_INVERTED 0x150D
#define GL_NAND 0x150E
#define GL_SET 0x150F
/* MapTarget */
/* GL_MAP1_COLOR_4 */
/* GL_MAP1_INDEX */
/* GL_MAP1_NORMAL */
/* GL_MAP1_TEXTURE_COORD_1 */
/* GL_MAP1_TEXTURE_COORD_2 */
/* GL_MAP1_TEXTURE_COORD_3 */
/* GL_MAP1_TEXTURE_COORD_4 */
/* GL_MAP1_VERTEX_3 */
/* GL_MAP1_VERTEX_4 */
/* GL_MAP2_COLOR_4 */
/* GL_MAP2_INDEX */
/* GL_MAP2_NORMAL */
/* GL_MAP2_TEXTURE_COORD_1 */
/* GL_MAP2_TEXTURE_COORD_2 */
/* GL_MAP2_TEXTURE_COORD_3 */
/* GL_MAP2_TEXTURE_COORD_4 */
/* GL_MAP2_VERTEX_3 */
/* GL_MAP2_VERTEX_4 */
/* MaterialFace */
/* GL_FRONT */
/* GL_BACK */
/* GL_FRONT_AND_BACK */
/* MaterialParameter */
#define GL_EMISSION 0x1600
#define GL_SHININESS 0x1601
#define GL_AMBIENT_AND_DIFFUSE 0x1602
#define GL_COLOR_INDEXES 0x1603
/* GL_AMBIENT */
/* GL_DIFFUSE */
/* GL_SPECULAR */
/* MatrixMode */
#define GL_MODELVIEW 0x1700
#define GL_PROJECTION 0x1701
#define GL_TEXTURE 0x1702
/* MeshMode1 */
/* GL_POINT */
/* GL_LINE */
/* MeshMode2 */
/* GL_POINT */
/* GL_LINE */
/* GL_FILL */
/* MinmaxTarget */
/* GL_MINMAX */
/* NormalPointerType */
/* GL_BYTE */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* PixelCopyType */
#define GL_COLOR 0x1800
#define GL_DEPTH 0x1801
#define GL_STENCIL 0x1802
/* PixelFormat */
#define GL_COLOR_INDEX 0x1900
#define GL_STENCIL_INDEX 0x1901
#define GL_DEPTH_COMPONENT 0x1902
#define GL_RED 0x1903
#define GL_GREEN 0x1904
#define GL_BLUE 0x1905
#define GL_ALPHA 0x1906
#define GL_RGB 0x1907
#define GL_RGBA 0x1908
#define GL_LUMINANCE 0x1909
#define GL_LUMINANCE_ALPHA 0x190A
/* GL_ABGR */
/* PixelInternalFormat */
/* GL_ALPHA4 */
/* GL_ALPHA8 */
/* GL_ALPHA12 */
/* GL_ALPHA16 */
/* GL_LUMINANCE4 */
/* GL_LUMINANCE8 */
/* GL_LUMINANCE12 */
/* GL_LUMINANCE16 */
/* GL_LUMINANCE4_ALPHA4 */
/* GL_LUMINANCE6_ALPHA2 */
/* GL_LUMINANCE8_ALPHA8 */
/* GL_LUMINANCE12_ALPHA4 */
/* GL_LUMINANCE12_ALPHA12 */
/* GL_LUMINANCE16_ALPHA16 */
/* GL_INTENSITY */
/* GL_INTENSITY4 */
/* GL_INTENSITY8 */
/* GL_INTENSITY12 */
/* GL_INTENSITY16 */
/* GL_R3_G3_B2 */
/* GL_RGB4 */
/* GL_RGB5 */
/* GL_RGB8 */
/* GL_RGB10 */
/* GL_RGB12 */
/* GL_RGB16 */
/* GL_RGBA2 */
/* GL_RGBA4 */
/* GL_RGB5_A1 */
/* GL_RGBA8 */
/* GL_RGB10_A2 */
/* GL_RGBA12 */
/* GL_RGBA16 */
/* PixelMap */
/* GL_PIXEL_MAP_I_TO_I */
/* GL_PIXEL_MAP_S_TO_S */
/* GL_PIXEL_MAP_I_TO_R */
/* GL_PIXEL_MAP_I_TO_G */
/* GL_PIXEL_MAP_I_TO_B */
/* GL_PIXEL_MAP_I_TO_A */
/* GL_PIXEL_MAP_R_TO_R */
/* GL_PIXEL_MAP_G_TO_G */
/* GL_PIXEL_MAP_B_TO_B */
/* GL_PIXEL_MAP_A_TO_A */
/* PixelStore */
/* GL_UNPACK_SWAP_BYTES */
/* GL_UNPACK_LSB_FIRST */
/* GL_UNPACK_ROW_LENGTH */
/* GL_UNPACK_SKIP_ROWS */
/* GL_UNPACK_SKIP_PIXELS */
/* GL_UNPACK_ALIGNMENT */
/* GL_PACK_SWAP_BYTES */
/* GL_PACK_LSB_FIRST */
/* GL_PACK_ROW_LENGTH */
/* GL_PACK_SKIP_ROWS */
/* GL_PACK_SKIP_PIXELS */
/* GL_PACK_ALIGNMENT */
/* GL_PACK_SKIP_IMAGES */
/* GL_PACK_IMAGE_HEIGHT */
/* GL_UNPACK_SKIP_IMAGES */
/* GL_UNPACK_IMAGE_HEIGHT */
/* PixelTransfer */
/* GL_MAP_COLOR */
/* GL_MAP_STENCIL */
/* GL_INDEX_SHIFT */
/* GL_INDEX_OFFSET */
/* GL_RED_SCALE */
/* GL_RED_BIAS */
/* GL_GREEN_SCALE */
/* GL_GREEN_BIAS */
/* GL_BLUE_SCALE */
/* GL_BLUE_BIAS */
/* GL_ALPHA_SCALE */
/* GL_ALPHA_BIAS */
/* GL_DEPTH_SCALE */
/* GL_DEPTH_BIAS */
/* GL_POST_CONVOLUTION_RED_SCALE */
/* GL_POST_CONVOLUTION_GREEN_SCALE */
/* GL_POST_CONVOLUTION_BLUE_SCALE */
/* GL_POST_CONVOLUTION_ALPHA_SCALE */
/* GL_POST_CONVOLUTION_RED_BIAS */
/* GL_POST_CONVOLUTION_GREEN_BIAS */
/* GL_POST_CONVOLUTION_BLUE_BIAS */
/* GL_POST_CONVOLUTION_ALPHA_BIAS */
/* GL_POST_COLOR_MATRIX_RED_SCALE */
/* GL_POST_COLOR_MATRIX_GREEN_SCALE */
/* GL_POST_COLOR_MATRIX_BLUE_SCALE */
/* GL_POST_COLOR_MATRIX_ALPHA_SCALE */
/* GL_POST_COLOR_MATRIX_RED_BIAS */
/* GL_POST_COLOR_MATRIX_GREEN_BIAS */
/* GL_POST_COLOR_MATRIX_BLUE_BIAS */
/* GL_POST_COLOR_MATRIX_ALPHA_BIAS */
/* PixelType */
#define GL_BITMAP 0x1A00
/* GL_BYTE */
/* GL_UNSIGNED_BYTE */
/* GL_SHORT */
/* GL_UNSIGNED_SHORT */
/* GL_INT */
/* GL_UNSIGNED_INT */
/* GL_FLOAT */
/* GL_BGR */
/* GL_BGRA */
/* GL_UNSIGNED_BYTE_3_3_2 */
/* GL_UNSIGNED_SHORT_4_4_4_4 */
/* GL_UNSIGNED_SHORT_5_5_5_1 */
/* GL_UNSIGNED_INT_8_8_8_8 */
/* GL_UNSIGNED_INT_10_10_10_2 */
/* GL_UNSIGNED_SHORT_5_6_5 */
/* GL_UNSIGNED_BYTE_2_3_3_REV */
/* GL_UNSIGNED_SHORT_5_6_5_REV */
/* GL_UNSIGNED_SHORT_4_4_4_4_REV */
/* GL_UNSIGNED_SHORT_1_5_5_5_REV */
/* GL_UNSIGNED_INT_8_8_8_8_REV */
/* GL_UNSIGNED_INT_2_10_10_10_REV */
/* PolygonMode */
#define GL_POINT 0x1B00
#define GL_LINE 0x1B01
#define GL_FILL 0x1B02
/* ReadBufferMode */
/* GL_FRONT_LEFT */
/* GL_FRONT_RIGHT */
/* GL_BACK_LEFT */
/* GL_BACK_RIGHT */
/* GL_FRONT */
/* GL_BACK */
/* GL_LEFT */
/* GL_RIGHT */
/* GL_AUX0 */
/* GL_AUX1 */
/* GL_AUX2 */
/* GL_AUX3 */
/* RenderingMode */
#define GL_RENDER 0x1C00
#define GL_FEEDBACK 0x1C01
#define GL_SELECT 0x1C02
/* SeparableTarget */
/* GL_SEPARABLE_2D */
/* ShadingModel */
#define GL_FLAT 0x1D00
#define GL_SMOOTH 0x1D01
/* StencilFunction */
/* GL_NEVER */
/* GL_LESS */
/* GL_EQUAL */
/* GL_LEQUAL */
/* GL_GREATER */
/* GL_NOTEQUAL */
/* GL_GEQUAL */
/* GL_ALWAYS */
/* StencilOp */
/* GL_ZERO */
#define GL_KEEP 0x1E00
#define GL_REPLACE 0x1E01
#define GL_INCR 0x1E02
#define GL_DECR 0x1E03
/* GL_INVERT */
/* StringName */
#define GL_VENDOR 0x1F00
#define GL_RENDERER 0x1F01
#define GL_VERSION 0x1F02
#define GL_EXTENSIONS 0x1F03
/* TextureCoordName */
#define GL_S 0x2000
#define GL_T 0x2001
#define GL_R 0x2002
#define GL_Q 0x2003
/* TexCoordPointerType */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* TextureEnvMode */
#define GL_MODULATE 0x2100
#define GL_DECAL 0x2101
/* GL_BLEND */
/* GL_REPLACE */
/* TextureEnvParameter */
#define GL_TEXTURE_ENV_MODE 0x2200
#define GL_TEXTURE_ENV_COLOR 0x2201
/* TextureEnvTarget */
#define GL_TEXTURE_ENV 0x2300
/* TextureGenMode */
#define GL_EYE_LINEAR 0x2400
#define GL_OBJECT_LINEAR 0x2401
#define GL_SPHERE_MAP 0x2402
/* TextureGenParameter */
#define GL_TEXTURE_GEN_MODE 0x2500
#define GL_OBJECT_PLANE 0x2501
#define GL_EYE_PLANE 0x2502
/* TextureMagFilter */
#define GL_NEAREST 0x2600
#define GL_LINEAR 0x2601
/* TextureMinFilter */
/* GL_NEAREST */
/* GL_LINEAR */
#define GL_NEAREST_MIPMAP_NEAREST 0x2700
#define GL_LINEAR_MIPMAP_NEAREST 0x2701
#define GL_NEAREST_MIPMAP_LINEAR 0x2702
#define GL_LINEAR_MIPMAP_LINEAR 0x2703
/* TextureParameterName */
#define GL_TEXTURE_MAG_FILTER 0x2800
#define GL_TEXTURE_MIN_FILTER 0x2801
#define GL_TEXTURE_WRAP_S 0x2802
#define GL_TEXTURE_WRAP_T 0x2803
/* GL_TEXTURE_BORDER_COLOR */
/* GL_TEXTURE_PRIORITY */
/* GL_TEXTURE_WRAP_R */
/* GL_TEXTURE_MIN_LOD */
/* GL_TEXTURE_MAX_LOD */
/* GL_TEXTURE_BASE_LEVEL */
/* GL_TEXTURE_MAX_LEVEL */
/* TextureTarget */
/* GL_TEXTURE_1D */
/* GL_TEXTURE_2D */
/* GL_PROXY_TEXTURE_1D */
/* GL_PROXY_TEXTURE_2D */
/* GL_TEXTURE_3D */
/* GL_PROXY_TEXTURE_3D */
/* TextureWrapMode */
#define GL_CLAMP 0x2900
#define GL_REPEAT 0x2901
/* GL_CLAMP_TO_EDGE */
/* VertexPointerType */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* ClientAttribMask */
#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
#define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
/* polygon_offset */
#define GL_POLYGON_OFFSET_FACTOR 0x8038
#define GL_POLYGON_OFFSET_UNITS 0x2A00
#define GL_POLYGON_OFFSET_POINT 0x2A01
#define GL_POLYGON_OFFSET_LINE 0x2A02
#define GL_POLYGON_OFFSET_FILL 0x8037
/* texture */
#define GL_ALPHA4 0x803B
#define GL_ALPHA8 0x803C
#define GL_ALPHA12 0x803D
#define GL_ALPHA16 0x803E
#define GL_LUMINANCE4 0x803F
#define GL_LUMINANCE8 0x8040
#define GL_LUMINANCE12 0x8041
#define GL_LUMINANCE16 0x8042
#define GL_LUMINANCE4_ALPHA4 0x8043
#define GL_LUMINANCE6_ALPHA2 0x8044
#define GL_LUMINANCE8_ALPHA8 0x8045
#define GL_LUMINANCE12_ALPHA4 0x8046
#define GL_LUMINANCE12_ALPHA12 0x8047
#define GL_LUMINANCE16_ALPHA16 0x8048
#define GL_INTENSITY 0x8049
#define GL_INTENSITY4 0x804A
#define GL_INTENSITY8 0x804B
#define GL_INTENSITY12 0x804C
#define GL_INTENSITY16 0x804D
#define GL_R3_G3_B2 0x2A10
#define GL_RGB4 0x804F
#define GL_RGB5 0x8050
#define GL_RGB8 0x8051
#define GL_RGB10 0x8052
#define GL_RGB12 0x8053
#define GL_RGB16 0x8054
#define GL_RGBA2 0x8055
#define GL_RGBA4 0x8056
#define GL_RGB5_A1 0x8057
#define GL_RGBA8 0x8058
#define GL_RGB10_A2 0x8059
#define GL_RGBA12 0x805A
#define GL_RGBA16 0x805B
#define GL_TEXTURE_RED_SIZE 0x805C
#define GL_TEXTURE_GREEN_SIZE 0x805D
#define GL_TEXTURE_BLUE_SIZE 0x805E
#define GL_TEXTURE_ALPHA_SIZE 0x805F
#define GL_TEXTURE_LUMINANCE_SIZE 0x8060
#define GL_TEXTURE_INTENSITY_SIZE 0x8061
#define GL_PROXY_TEXTURE_1D 0x8063
#define GL_PROXY_TEXTURE_2D 0x8064
/* texture_object */
#define GL_TEXTURE_PRIORITY 0x8066
#define GL_TEXTURE_RESIDENT 0x8067
#define GL_TEXTURE_BINDING_1D 0x8068
#define GL_TEXTURE_BINDING_2D 0x8069
#define GL_TEXTURE_BINDING_3D 0x806A
/* vertex_array */
#define GL_VERTEX_ARRAY 0x8074
#define GL_NORMAL_ARRAY 0x8075
#define GL_COLOR_ARRAY 0x8076
#define GL_INDEX_ARRAY 0x8077
#define GL_TEXTURE_COORD_ARRAY 0x8078
#define GL_EDGE_FLAG_ARRAY 0x8079
#define GL_VERTEX_ARRAY_SIZE 0x807A
#define GL_VERTEX_ARRAY_TYPE 0x807B
#define GL_VERTEX_ARRAY_STRIDE 0x807C
#define GL_NORMAL_ARRAY_TYPE 0x807E
#define GL_NORMAL_ARRAY_STRIDE 0x807F
#define GL_COLOR_ARRAY_SIZE 0x8081
#define GL_COLOR_ARRAY_TYPE 0x8082
#define GL_COLOR_ARRAY_STRIDE 0x8083
#define GL_INDEX_ARRAY_TYPE 0x8085
#define GL_INDEX_ARRAY_STRIDE 0x8086
#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
#define GL_VERTEX_ARRAY_POINTER 0x808E
#define GL_NORMAL_ARRAY_POINTER 0x808F
#define GL_COLOR_ARRAY_POINTER 0x8090
#define GL_INDEX_ARRAY_POINTER 0x8091
#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
#define GL_V2F 0x2A20
#define GL_V3F 0x2A21
#define GL_C4UB_V2F 0x2A22
#define GL_C4UB_V3F 0x2A23
#define GL_C3F_V3F 0x2A24
#define GL_N3F_V3F 0x2A25
#define GL_C4F_N3F_V3F 0x2A26
#define GL_T2F_V3F 0x2A27
#define GL_T4F_V4F 0x2A28
#define GL_T2F_C4UB_V3F 0x2A29
#define GL_T2F_C3F_V3F 0x2A2A
#define GL_T2F_N3F_V3F 0x2A2B
#define GL_T2F_C4F_N3F_V3F 0x2A2C
#define GL_T4F_C4F_N3F_V4F 0x2A2D
/* bgra */
#define GL_BGR 0x80E0
#define GL_BGRA 0x80E1
/* blend_color */
#define GL_CONSTANT_COLOR 0x8001
#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
#define GL_CONSTANT_ALPHA 0x8003
#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
#define GL_BLEND_COLOR 0x8005
/* blend_minmax */
#define GL_FUNC_ADD 0x8006
#define GL_MIN 0x8007
#define GL_MAX 0x8008
#define GL_BLEND_EQUATION 0x8009
/* blend_equation_separate */
#define GL_BLEND_EQUATION_RGB 0x8009
#define GL_BLEND_EQUATION_ALPHA 0x883D
/* blend_subtract */
#define GL_FUNC_SUBTRACT 0x800A
#define GL_FUNC_REVERSE_SUBTRACT 0x800B
/* color_matrix */
#define GL_COLOR_MATRIX 0x80B1
#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
/* color_table */
#define GL_COLOR_TABLE 0x80D0
#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
#define GL_PROXY_COLOR_TABLE 0x80D3
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
#define GL_COLOR_TABLE_SCALE 0x80D6
#define GL_COLOR_TABLE_BIAS 0x80D7
#define GL_COLOR_TABLE_FORMAT 0x80D8
#define GL_COLOR_TABLE_WIDTH 0x80D9
#define GL_COLOR_TABLE_RED_SIZE 0x80DA
#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
/* convolution */
#define GL_CONVOLUTION_1D 0x8010
#define GL_CONVOLUTION_2D 0x8011
#define GL_SEPARABLE_2D 0x8012
#define GL_CONVOLUTION_BORDER_MODE 0x8013
#define GL_CONVOLUTION_FILTER_SCALE 0x8014
#define GL_CONVOLUTION_FILTER_BIAS 0x8015
#define GL_REDUCE 0x8016
#define GL_CONVOLUTION_FORMAT 0x8017
#define GL_CONVOLUTION_WIDTH 0x8018
#define GL_CONVOLUTION_HEIGHT 0x8019
#define GL_MAX_CONVOLUTION_WIDTH 0x801A
#define GL_MAX_CONVOLUTION_HEIGHT 0x801B
#define GL_POST_CONVOLUTION_RED_SCALE 0x801C
#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
#define GL_POST_CONVOLUTION_RED_BIAS 0x8020
#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
#define GL_CONSTANT_BORDER 0x8151
#define GL_REPLICATE_BORDER 0x8153
#define GL_CONVOLUTION_BORDER_COLOR 0x8154
/* draw_range_elements */
#define GL_MAX_ELEMENTS_VERTICES 0x80E8
#define GL_MAX_ELEMENTS_INDICES 0x80E9
/* histogram */
#define GL_HISTOGRAM 0x8024
#define GL_PROXY_HISTOGRAM 0x8025
#define GL_HISTOGRAM_WIDTH 0x8026
#define GL_HISTOGRAM_FORMAT 0x8027
#define GL_HISTOGRAM_RED_SIZE 0x8028
#define GL_HISTOGRAM_GREEN_SIZE 0x8029
#define GL_HISTOGRAM_BLUE_SIZE 0x802A
#define GL_HISTOGRAM_ALPHA_SIZE 0x802B
#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
#define GL_HISTOGRAM_SINK 0x802D
#define GL_MINMAX 0x802E
#define GL_MINMAX_FORMAT 0x802F
#define GL_MINMAX_SINK 0x8030
#define GL_TABLE_TOO_LARGE 0x8031
/* packed_pixels */
#define GL_UNSIGNED_BYTE_3_3_2 0x8032
#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
#define GL_UNSIGNED_INT_8_8_8_8 0x8035
#define GL_UNSIGNED_INT_10_10_10_2 0x8036
#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
#define GL_UNSIGNED_SHORT_5_6_5 0x8363
#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
/* rescale_normal */
#define GL_RESCALE_NORMAL 0x803A
/* separate_specular_color */
#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
#define GL_SINGLE_COLOR 0x81F9
#define GL_SEPARATE_SPECULAR_COLOR 0x81FA
/* texture3D */
#define GL_PACK_SKIP_IMAGES 0x806B
#define GL_PACK_IMAGE_HEIGHT 0x806C
#define GL_UNPACK_SKIP_IMAGES 0x806D
#define GL_UNPACK_IMAGE_HEIGHT 0x806E
#define GL_TEXTURE_3D 0x806F
#define GL_PROXY_TEXTURE_3D 0x8070
#define GL_TEXTURE_DEPTH 0x8071
#define GL_TEXTURE_WRAP_R 0x8072
#define GL_MAX_3D_TEXTURE_SIZE 0x8073
/* texture_edge_clamp */
#define GL_CLAMP_TO_EDGE 0x812F
#define GL_CLAMP_TO_BORDER 0x812D
/* texture_lod */
#define GL_TEXTURE_MIN_LOD 0x813A
#define GL_TEXTURE_MAX_LOD 0x813B
#define GL_TEXTURE_BASE_LEVEL 0x813C
#define GL_TEXTURE_MAX_LEVEL 0x813D
/* GetTarget1_2 */
#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
#define GL_ALIASED_POINT_SIZE_RANGE 0x846D
#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
#define GL_TEXTURE0 0x84C0
#define GL_TEXTURE1 0x84C1
#define GL_TEXTURE2 0x84C2
#define GL_TEXTURE3 0x84C3
#define GL_TEXTURE4 0x84C4
#define GL_TEXTURE5 0x84C5
#define GL_TEXTURE6 0x84C6
#define GL_TEXTURE7 0x84C7
#define GL_TEXTURE8 0x84C8
#define GL_TEXTURE9 0x84C9
#define GL_TEXTURE10 0x84CA
#define GL_TEXTURE11 0x84CB
#define GL_TEXTURE12 0x84CC
#define GL_TEXTURE13 0x84CD
#define GL_TEXTURE14 0x84CE
#define GL_TEXTURE15 0x84CF
#define GL_TEXTURE16 0x84D0
#define GL_TEXTURE17 0x84D1
#define GL_TEXTURE18 0x84D2
#define GL_TEXTURE19 0x84D3
#define GL_TEXTURE20 0x84D4
#define GL_TEXTURE21 0x84D5
#define GL_TEXTURE22 0x84D6
#define GL_TEXTURE23 0x84D7
#define GL_TEXTURE24 0x84D8
#define GL_TEXTURE25 0x84D9
#define GL_TEXTURE26 0x84DA
#define GL_TEXTURE27 0x84DB
#define GL_TEXTURE28 0x84DC
#define GL_TEXTURE29 0x84DD
#define GL_TEXTURE30 0x84DE
#define GL_TEXTURE31 0x84DF
#define GL_ACTIVE_TEXTURE 0x84E0
#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
#define GL_MAX_TEXTURE_UNITS 0x84E2
#define GL_COMBINE 0x8570
#define GL_COMBINE_RGB 0x8571
#define GL_COMBINE_ALPHA 0x8572
#define GL_RGB_SCALE 0x8573
#define GL_ADD_SIGNED 0x8574
#define GL_INTERPOLATE 0x8575
#define GL_CONSTANT 0x8576
#define GL_PRIMARY_COLOR 0x8577
#define GL_PREVIOUS 0x8578
#define GL_SUBTRACT 0x84E7
#define GL_SRC0_RGB 0x8580
#define GL_SRC1_RGB 0x8581
#define GL_SRC2_RGB 0x8582
#define GL_SRC0_ALPHA 0x8588
#define GL_SRC1_ALPHA 0x8589
#define GL_SRC2_ALPHA 0x858A
/* Obsolete */
#define GL_SOURCE0_RGB 0x8580
#define GL_SOURCE1_RGB 0x8581
#define GL_SOURCE2_RGB 0x8582
#define GL_SOURCE0_ALPHA 0x8588
#define GL_SOURCE1_ALPHA 0x8589
#define GL_SOURCE2_ALPHA 0x858A
#define GL_OPERAND0_RGB 0x8590
#define GL_OPERAND1_RGB 0x8591
#define GL_OPERAND2_RGB 0x8592
#define GL_OPERAND0_ALPHA 0x8598
#define GL_OPERAND1_ALPHA 0x8599
#define GL_OPERAND2_ALPHA 0x859A
#define GL_DOT3_RGB 0x86AE
#define GL_DOT3_RGBA 0x86AF
#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
#define GL_NORMAL_MAP 0x8511
#define GL_REFLECTION_MAP 0x8512
#define GL_TEXTURE_CUBE_MAP 0x8513
#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
#define GL_COMPRESSED_ALPHA 0x84E9
#define GL_COMPRESSED_LUMINANCE 0x84EA
#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
#define GL_COMPRESSED_INTENSITY 0x84EC
#define GL_COMPRESSED_RGB 0x84ED
#define GL_COMPRESSED_RGBA 0x84EE
#define GL_TEXTURE_COMPRESSION_HINT 0x84EF
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
#define GL_TEXTURE_COMPRESSED 0x86A1
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
#define GL_MULTISAMPLE 0x809D
#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
#define GL_SAMPLE_ALPHA_TO_ONE 0x809F
#define GL_SAMPLE_COVERAGE 0x80A0
#define GL_SAMPLE_BUFFERS 0x80A8
#define GL_SAMPLES 0x80A9
#define GL_SAMPLE_COVERAGE_VALUE 0x80AA
#define GL_SAMPLE_COVERAGE_INVERT 0x80AB
#define GL_MULTISAMPLE_BIT 0x20000000
#define GL_DEPTH_COMPONENT16 0x81A5
#define GL_DEPTH_COMPONENT24 0x81A6
#define GL_DEPTH_COMPONENT32 0x81A7
#define GL_TEXTURE_DEPTH_SIZE 0x884A
#define GL_DEPTH_TEXTURE_MODE 0x884B
#define GL_TEXTURE_COMPARE_MODE 0x884C
#define GL_TEXTURE_COMPARE_FUNC 0x884D
#define GL_COMPARE_R_TO_TEXTURE 0x884E
/* occlusion_query */
#define GL_QUERY_COUNTER_BITS 0x8864
#define GL_CURRENT_QUERY 0x8865
#define GL_QUERY_RESULT 0x8866
#define GL_QUERY_RESULT_AVAILABLE 0x8867
#define GL_SAMPLES_PASSED 0x8914
#define GL_FOG_COORD_SRC 0x8450
#define GL_FOG_COORD 0x8451
#define GL_FRAGMENT_DEPTH 0x8452
#define GL_CURRENT_FOG_COORD 0x8453
#define GL_FOG_COORD_ARRAY_TYPE 0x8454
#define GL_FOG_COORD_ARRAY_STRIDE 0x8455
#define GL_FOG_COORD_ARRAY_POINTER 0x8456
#define GL_FOG_COORD_ARRAY 0x8457
/* Obsolete */
#define GL_FOG_COORDINATE_SOURCE 0x8450
#define GL_FOG_COORDINATE 0x8451
#define GL_CURRENT_FOG_COORDINATE 0x8453
#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
#define GL_FOG_COORDINATE_ARRAY 0x8457
#define GL_COLOR_SUM 0x8458
#define GL_CURRENT_SECONDARY_COLOR 0x8459
#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
#define GL_SECONDARY_COLOR_ARRAY 0x845E
#define GL_POINT_SIZE_MIN 0x8126
#define GL_POINT_SIZE_MAX 0x8127
#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
#define GL_POINT_DISTANCE_ATTENUATION 0x8129
#define GL_BLEND_DST_RGB 0x80C8
#define GL_BLEND_SRC_RGB 0x80C9
#define GL_BLEND_DST_ALPHA 0x80CA
#define GL_BLEND_SRC_ALPHA 0x80CB
#define GL_GENERATE_MIPMAP 0x8191
#define GL_GENERATE_MIPMAP_HINT 0x8192
#define GL_INCR_WRAP 0x8507
#define GL_DECR_WRAP 0x8508
#define GL_MIRRORED_REPEAT 0x8370
#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
#define GL_TEXTURE_FILTER_CONTROL 0x8500
#define GL_TEXTURE_LOD_BIAS 0x8501
/* vertex_buffer_object */
#define GL_ARRAY_BUFFER 0x8892
#define GL_ELEMENT_ARRAY_BUFFER 0x8893
#define GL_ARRAY_BUFFER_BINDING 0x8894
#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
#define GL_STREAM_DRAW 0x88E0
#define GL_STREAM_READ 0x88E1
#define GL_STREAM_COPY 0x88E2
#define GL_STATIC_DRAW 0x88E4
#define GL_STATIC_READ 0x88E5
#define GL_STATIC_COPY 0x88E6
#define GL_DYNAMIC_DRAW 0x88E8
#define GL_DYNAMIC_READ 0x88E9
#define GL_DYNAMIC_COPY 0x88EA
#define GL_READ_ONLY 0x88B8
#define GL_WRITE_ONLY 0x88B9
#define GL_READ_WRITE 0x88BA
#define GL_BUFFER_SIZE 0x8764
#define GL_BUFFER_USAGE 0x8765
#define GL_BUFFER_ACCESS 0x88BB
#define GL_BUFFER_MAPPED 0x88BC
#define GL_BUFFER_MAP_POINTER 0x88BD
/* Obsolete */
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
/* OpenGL 2.0 */
#define GL_CURRENT_PROGRAM 0x8B8D
#define GL_SHADER_TYPE 0x8B4F
#define GL_DELETE_STATUS 0x8B80
#define GL_COMPILE_STATUS 0x8B81
#define GL_LINK_STATUS 0x8B82
#define GL_VALIDATE_STATUS 0x8B83
#define GL_INFO_LOG_LENGTH 0x8B84
#define GL_ATTACHED_SHADERS 0x8B85
#define GL_ACTIVE_UNIFORMS 0x8B86
#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
#define GL_SHADER_SOURCE_LENGTH 0x8B88
#define GL_FLOAT_VEC2 0x8B50
#define GL_FLOAT_VEC3 0x8B51
#define GL_FLOAT_VEC4 0x8B52
#define GL_INT_VEC2 0x8B53
#define GL_INT_VEC3 0x8B54
#define GL_INT_VEC4 0x8B55
#define GL_BOOL 0x8B56
#define GL_BOOL_VEC2 0x8B57
#define GL_BOOL_VEC3 0x8B58
#define GL_BOOL_VEC4 0x8B59
#define GL_FLOAT_MAT2 0x8B5A
#define GL_FLOAT_MAT3 0x8B5B
#define GL_FLOAT_MAT4 0x8B5C
#define GL_SAMPLER_1D 0x8B5D
#define GL_SAMPLER_2D 0x8B5E
#define GL_SAMPLER_3D 0x8B5F
#define GL_SAMPLER_CUBE 0x8B60
#define GL_SAMPLER_1D_SHADOW 0x8B61
#define GL_SAMPLER_2D_SHADOW 0x8B62
#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
#define GL_VERTEX_SHADER 0x8B31
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
#define GL_MAX_VARYING_FLOATS 0x8B4B
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
#define GL_ACTIVE_ATTRIBUTES 0x8B89
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
#define GL_FRAGMENT_SHADER 0x8B30
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
#define GL_MAX_VERTEX_ATTRIBS 0x8869
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
#define GL_CURRENT_VERTEX_ATTRIB 0x8626
#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
#define GL_MAX_TEXTURE_COORDS 0x8871
#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
#define GL_MAX_DRAW_BUFFERS 0x8824
#define GL_DRAW_BUFFER0 0x8825
#define GL_DRAW_BUFFER1 0x8826
#define GL_DRAW_BUFFER2 0x8827
#define GL_DRAW_BUFFER3 0x8828
#define GL_DRAW_BUFFER4 0x8829
#define GL_DRAW_BUFFER5 0x882A
#define GL_DRAW_BUFFER6 0x882B
#define GL_DRAW_BUFFER7 0x882C
#define GL_DRAW_BUFFER8 0x882D
#define GL_DRAW_BUFFER9 0x882E
#define GL_DRAW_BUFFER10 0x882F
#define GL_DRAW_BUFFER11 0x8830
#define GL_DRAW_BUFFER12 0x8831
#define GL_DRAW_BUFFER13 0x8832
#define GL_DRAW_BUFFER14 0x8833
#define GL_DRAW_BUFFER15 0x8834
#define GL_POINT_SPRITE 0x8861
#define GL_COORD_REPLACE 0x8862
#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
#define GL_LOWER_LEFT 0x8CA1
#define GL_UPPER_LEFT 0x8CA2
#define GL_STENCIL_BACK_FUNC 0x8800
#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
#define GL_STENCIL_BACK_REF 0x8CA3
#define GL_STENCIL_BACK_FAIL 0x8801
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
#define GL_STENCIL_BACK_WRITEMASK 0x8CA5
/* OpenGL 2.1 */
#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
#define GL_PIXEL_PACK_BUFFER 0x88EB
#define GL_PIXEL_UNPACK_BUFFER 0x88EC
#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
#define GL_FLOAT_MAT2x3 0x8B65
#define GL_FLOAT_MAT2x4 0x8B66
#define GL_FLOAT_MAT3x2 0x8B67
#define GL_FLOAT_MAT3x4 0x8B68
#define GL_FLOAT_MAT4x2 0x8B69
#define GL_FLOAT_MAT4x3 0x8B6A
#define GL_SRGB 0x8C40
#define GL_SRGB8 0x8C41
#define GL_SRGB_ALPHA 0x8C42
#define GL_SRGB8_ALPHA8 0x8C43
#define GL_SLUMINANCE_ALPHA 0x8C44
#define GL_SLUMINANCE8_ALPHA8 0x8C45
#define GL_SLUMINANCE 0x8C46
#define GL_SLUMINANCE8 0x8C47
#define GL_COMPRESSED_SRGB 0x8C48
#define GL_COMPRESSED_SRGB_ALPHA 0x8C49
#define GL_COMPRESSED_SLUMINANCE 0x8C4A
#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
/*************************************************************/
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glAccumProcPtr) (GLenum op, GLfloat value);
typedef void (* glAlphaFuncProcPtr) (GLenum func, GLclampf ref);
typedef GLboolean (* glAreTexturesResidentProcPtr) (GLsizei n, const GLuint *textures, GLboolean *residences);
typedef void (* glArrayElementProcPtr) (GLint i);
typedef void (* glBeginProcPtr) (GLenum mode);
typedef void (* glBindTextureProcPtr) (GLenum target, GLuint texture);
typedef void (* glBitmapProcPtr) (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
typedef void (* glBlendColorProcPtr) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
typedef void (* glBlendEquationProcPtr) (GLenum mode);
typedef void (* glBlendEquationSeparateProcPtr) (GLenum modeRGB, GLenum modeAlpha);
typedef void (* glBlendFuncProcPtr) (GLenum sfactor, GLenum dfactor);
typedef void (* glCallListProcPtr) (GLuint list);
typedef void (* glCallListsProcPtr) (GLsizei n, GLenum type, const GLvoid *lists);
typedef void (* glClearProcPtr) (GLbitfield mask);
typedef void (* glClearAccumProcPtr) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
typedef void (* glClearColorProcPtr) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
typedef void (* glClearDepthProcPtr) (GLclampd depth);
typedef void (* glClearIndexProcPtr) (GLfloat c);
typedef void (* glClearStencilProcPtr) (GLint s);
typedef void (* glClipPlaneProcPtr) (GLenum plane, const GLdouble *equation);
typedef void (* glColor3bProcPtr) (GLbyte red, GLbyte green, GLbyte blue);
typedef void (* glColor3bvProcPtr) (const GLbyte *v);
typedef void (* glColor3dProcPtr) (GLdouble red, GLdouble green, GLdouble blue);
typedef void (* glColor3dvProcPtr) (const GLdouble *v);
typedef void (* glColor3fProcPtr) (GLfloat red, GLfloat green, GLfloat blue);
typedef void (* glColor3fvProcPtr) (const GLfloat *v);
typedef void (* glColor3iProcPtr) (GLint red, GLint green, GLint blue);
typedef void (* glColor3ivProcPtr) (const GLint *v);
typedef void (* glColor3sProcPtr) (GLshort red, GLshort green, GLshort blue);
typedef void (* glColor3svProcPtr) (const GLshort *v);
typedef void (* glColor3ubProcPtr) (GLubyte red, GLubyte green, GLubyte blue);
typedef void (* glColor3ubvProcPtr) (const GLubyte *v);
typedef void (* glColor3uiProcPtr) (GLuint red, GLuint green, GLuint blue);
typedef void (* glColor3uivProcPtr) (const GLuint *v);
typedef void (* glColor3usProcPtr) (GLushort red, GLushort green, GLushort blue);
typedef void (* glColor3usvProcPtr) (const GLushort *v);
typedef void (* glColor4bProcPtr) (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
typedef void (* glColor4bvProcPtr) (const GLbyte *v);
typedef void (* glColor4dProcPtr) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
typedef void (* glColor4dvProcPtr) (const GLdouble *v);
typedef void (* glColor4fProcPtr) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
typedef void (* glColor4fvProcPtr) (const GLfloat *v);
typedef void (* glColor4iProcPtr) (GLint red, GLint green, GLint blue, GLint alpha);
typedef void (* glColor4ivProcPtr) (const GLint *v);
typedef void (* glColor4sProcPtr) (GLshort red, GLshort green, GLshort blue, GLshort alpha);
typedef void (* glColor4svProcPtr) (const GLshort *v);
typedef void (* glColor4ubProcPtr) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
typedef void (* glColor4ubvProcPtr) (const GLubyte *v);
typedef void (* glColor4uiProcPtr) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
typedef void (* glColor4uivProcPtr) (const GLuint *v);
typedef void (* glColor4usProcPtr) (GLushort red, GLushort green, GLushort blue, GLushort alpha);
typedef void (* glColor4usvProcPtr) (const GLushort *v);
typedef void (* glColorMaskProcPtr) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
typedef void (* glColorMaterialProcPtr) (GLenum face, GLenum mode);
typedef void (* glColorPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glColorSubTableProcPtr) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
typedef void (* glColorTableProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
typedef void (* glColorTableParameterfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params);
typedef void (* glColorTableParameterivProcPtr) (GLenum target, GLenum pname, const GLint *params);
typedef void (* glConvolutionFilter1DProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
typedef void (* glConvolutionFilter2DProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
typedef void (* glConvolutionParameterfProcPtr) (GLenum target, GLenum pname, GLfloat params);
typedef void (* glConvolutionParameterfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params);
typedef void (* glConvolutionParameteriProcPtr) (GLenum target, GLenum pname, GLint params);
typedef void (* glConvolutionParameterivProcPtr) (GLenum target, GLenum pname, const GLint *params);
typedef void (* glCopyColorSubTableProcPtr) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
typedef void (* glCopyColorTableProcPtr) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
typedef void (* glCopyConvolutionFilter1DProcPtr) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
typedef void (* glCopyConvolutionFilter2DProcPtr) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (* glCopyPixelsProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
typedef void (* glCopyTexImage1DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
typedef void (* glCopyTexImage2DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
typedef void (* glCopyTexSubImage1DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
typedef void (* glCopyTexSubImage2DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (* glCopyTexSubImage3DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (* glCullFaceProcPtr) (GLenum mode);
typedef void (* glDeleteListsProcPtr) (GLuint list, GLsizei range);
typedef void (* glDeleteTexturesProcPtr) (GLsizei n, const GLuint *textures);
typedef void (* glDepthFuncProcPtr) (GLenum func);
typedef void (* glDepthMaskProcPtr) (GLboolean flag);
typedef void (* glDepthRangeProcPtr) (GLclampd zNear, GLclampd zFar);
typedef void (* glDisableProcPtr) (GLenum cap);
typedef void (* glDisableClientStateProcPtr) (GLenum array);
typedef void (* glDrawArraysProcPtr) (GLenum mode, GLint first, GLsizei count);
typedef void (* glDrawBufferProcPtr) (GLenum mode);
typedef void (* glDrawElementsProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
typedef void (* glDrawPixelsProcPtr) (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (* glDrawRangeElementsProcPtr) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
typedef void (* glEdgeFlagProcPtr) (GLboolean flag);
typedef void (* glEdgeFlagPointerProcPtr) (GLsizei stride, const GLvoid *pointer);
typedef void (* glEdgeFlagvProcPtr) (const GLboolean *flag);
typedef void (* glEnableProcPtr) (GLenum cap);
typedef void (* glEnableClientStateProcPtr) (GLenum array);
typedef void (* glEndProcPtr) (void);
typedef void (* glEndListProcPtr) (void);
typedef void (* glEvalCoord1dProcPtr) (GLdouble u);
typedef void (* glEvalCoord1dvProcPtr) (const GLdouble *u);
typedef void (* glEvalCoord1fProcPtr) (GLfloat u);
typedef void (* glEvalCoord1fvProcPtr) (const GLfloat *u);
typedef void (* glEvalCoord2dProcPtr) (GLdouble u, GLdouble v);
typedef void (* glEvalCoord2dvProcPtr) (const GLdouble *u);
typedef void (* glEvalCoord2fProcPtr) (GLfloat u, GLfloat v);
typedef void (* glEvalCoord2fvProcPtr) (const GLfloat *u);
typedef void (* glEvalMesh1ProcPtr) (GLenum mode, GLint i1, GLint i2);
typedef void (* glEvalMesh2ProcPtr) (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
typedef void (* glEvalPoint1ProcPtr) (GLint i);
typedef void (* glEvalPoint2ProcPtr) (GLint i, GLint j);
typedef void (* glFeedbackBufferProcPtr) (GLsizei size, GLenum type, GLfloat *buffer);
typedef void (* glFinishProcPtr) (void);
typedef void (* glFlushProcPtr) (void);
typedef void (* glFogfProcPtr) (GLenum pname, GLfloat param);
typedef void (* glFogfvProcPtr) (GLenum pname, const GLfloat *params);
typedef void (* glFogiProcPtr) (GLenum pname, GLint param);
typedef void (* glFogivProcPtr) (GLenum pname, const GLint *params);
typedef void (* glFrontFaceProcPtr) (GLenum mode);
typedef void (* glFrustumProcPtr) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
typedef GLuint (* glGenListsProcPtr) (GLsizei range);
typedef void (* glGenTexturesProcPtr) (GLsizei n, GLuint *textures);
typedef void (* glGetBooleanvProcPtr) (GLenum pname, GLboolean *params);
typedef void (* glGetClipPlaneProcPtr) (GLenum plane, GLdouble *equation);
typedef void (* glGetColorTableProcPtr) (GLenum target, GLenum format, GLenum type, GLvoid *table);
typedef void (* glGetColorTableParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params);
typedef void (* glGetColorTableParameterivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetConvolutionFilterProcPtr) (GLenum target, GLenum format, GLenum type, GLvoid *image);
typedef void (* glGetConvolutionParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params);
typedef void (* glGetConvolutionParameterivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetDoublevProcPtr) (GLenum pname, GLdouble *params);
typedef GLenum (* glGetErrorProcPtr) (void);
typedef void (* glGetFloatvProcPtr) (GLenum pname, GLfloat *params);
typedef void (* glGetHistogramProcPtr) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
typedef void (* glGetHistogramParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params);
typedef void (* glGetHistogramParameterivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetIntegervProcPtr) (GLenum pname, GLint *params);
typedef void (* glGetLightfvProcPtr) (GLenum light, GLenum pname, GLfloat *params);
typedef void (* glGetLightivProcPtr) (GLenum light, GLenum pname, GLint *params);
typedef void (* glGetMapdvProcPtr) (GLenum target, GLenum query, GLdouble *v);
typedef void (* glGetMapfvProcPtr) (GLenum target, GLenum query, GLfloat *v);
typedef void (* glGetMapivProcPtr) (GLenum target, GLenum query, GLint *v);
typedef void (* glGetMaterialfvProcPtr) (GLenum face, GLenum pname, GLfloat *params);
typedef void (* glGetMaterialivProcPtr) (GLenum face, GLenum pname, GLint *params);
typedef void (* glGetMinmaxProcPtr) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
typedef void (* glGetMinmaxParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params);
typedef void (* glGetMinmaxParameterivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetPixelMapfvProcPtr) (GLenum map, GLfloat *values);
typedef void (* glGetPixelMapuivProcPtr) (GLenum map, GLuint *values);
typedef void (* glGetPixelMapusvProcPtr) (GLenum map, GLushort *values);
typedef void (* glGetPointervProcPtr) (GLenum pname, GLvoid **params);
typedef void (* glGetPolygonStippleProcPtr) (GLubyte *mask);
typedef void (* glGetSeparableFilterProcPtr) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
typedef const GLubyte *(* glGetStringProcPtr) (GLenum name);
typedef void (* glGetTexEnvfvProcPtr) (GLenum target, GLenum pname, GLfloat *params);
typedef void (* glGetTexEnvivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetTexGendvProcPtr) (GLenum coord, GLenum pname, GLdouble *params);
typedef void (* glGetTexGenfvProcPtr) (GLenum coord, GLenum pname, GLfloat *params);
typedef void (* glGetTexGenivProcPtr) (GLenum coord, GLenum pname, GLint *params);
typedef void (* glGetTexImageProcPtr) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
typedef void (* glGetTexLevelParameterfvProcPtr) (GLenum target, GLint level, GLenum pname, GLfloat *params);
typedef void (* glGetTexLevelParameterivProcPtr) (GLenum target, GLint level, GLenum pname, GLint *params);
typedef void (* glGetTexParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params);
typedef void (* glGetTexParameterivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glHintProcPtr) (GLenum target, GLenum mode);
typedef void (* glHistogramProcPtr) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
typedef void (* glIndexMaskProcPtr) (GLuint mask);
typedef void (* glIndexPointerProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glIndexdProcPtr) (GLdouble c);
typedef void (* glIndexdvProcPtr) (const GLdouble *c);
typedef void (* glIndexfProcPtr) (GLfloat c);
typedef void (* glIndexfvProcPtr) (const GLfloat *c);
typedef void (* glIndexiProcPtr) (GLint c);
typedef void (* glIndexivProcPtr) (const GLint *c);
typedef void (* glIndexsProcPtr) (GLshort c);
typedef void (* glIndexsvProcPtr) (const GLshort *c);
typedef void (* glIndexubProcPtr) (GLubyte c);
typedef void (* glIndexubvProcPtr) (const GLubyte *c);
typedef void (* glInitNamesProcPtr) (void);
typedef void (* glInterleavedArraysProcPtr) (GLenum format, GLsizei stride, const GLvoid *pointer);
typedef GLboolean (* glIsEnabledProcPtr) (GLenum cap);
typedef GLboolean (* glIsListProcPtr) (GLuint list);
typedef GLboolean (* glIsTextureProcPtr) (GLuint texture);
typedef void (* glLightModelfProcPtr) (GLenum pname, GLfloat param);
typedef void (* glLightModelfvProcPtr) (GLenum pname, const GLfloat *params);
typedef void (* glLightModeliProcPtr) (GLenum pname, GLint param);
typedef void (* glLightModelivProcPtr) (GLenum pname, const GLint *params);
typedef void (* glLightfProcPtr) (GLenum light, GLenum pname, GLfloat param);
typedef void (* glLightfvProcPtr) (GLenum light, GLenum pname, const GLfloat *params);
typedef void (* glLightiProcPtr) (GLenum light, GLenum pname, GLint param);
typedef void (* glLightivProcPtr) (GLenum light, GLenum pname, const GLint *params);
typedef void (* glLineStippleProcPtr) (GLint factor, GLushort pattern);
typedef void (* glLineWidthProcPtr) (GLfloat width);
typedef void (* glListBaseProcPtr) (GLuint base);
typedef void (* glLoadIdentityProcPtr) (void);
typedef void (* glLoadMatrixdProcPtr) (const GLdouble *m);
typedef void (* glLoadMatrixfProcPtr) (const GLfloat *m);
typedef void (* glLoadNameProcPtr) (GLuint name);
typedef void (* glLogicOpProcPtr) (GLenum opcode);
typedef void (* glMap1dProcPtr) (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
typedef void (* glMap1fProcPtr) (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
typedef void (* glMap2dProcPtr) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
typedef void (* glMap2fProcPtr) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
typedef void (* glMapGrid1dProcPtr) (GLint un, GLdouble u1, GLdouble u2);
typedef void (* glMapGrid1fProcPtr) (GLint un, GLfloat u1, GLfloat u2);
typedef void (* glMapGrid2dProcPtr) (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
typedef void (* glMapGrid2fProcPtr) (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
typedef void (* glMaterialfProcPtr) (GLenum face, GLenum pname, GLfloat param);
typedef void (* glMaterialfvProcPtr) (GLenum face, GLenum pname, const GLfloat *params);
typedef void (* glMaterialiProcPtr) (GLenum face, GLenum pname, GLint param);
typedef void (* glMaterialivProcPtr) (GLenum face, GLenum pname, const GLint *params);
typedef void (* glMatrixModeProcPtr) (GLenum mode);
typedef void (* glMinmaxProcPtr) (GLenum target, GLenum internalformat, GLboolean sink);
typedef void (* glMultMatrixdProcPtr) (const GLdouble *m);
typedef void (* glMultMatrixfProcPtr) (const GLfloat *m);
typedef void (* glNewListProcPtr) (GLuint list, GLenum mode);
typedef void (* glNormal3bProcPtr) (GLbyte nx, GLbyte ny, GLbyte nz);
typedef void (* glNormal3bvProcPtr) (const GLbyte *v);
typedef void (* glNormal3dProcPtr) (GLdouble nx, GLdouble ny, GLdouble nz);
typedef void (* glNormal3dvProcPtr) (const GLdouble *v);
typedef void (* glNormal3fProcPtr) (GLfloat nx, GLfloat ny, GLfloat nz);
typedef void (* glNormal3fvProcPtr) (const GLfloat *v);
typedef void (* glNormal3iProcPtr) (GLint nx, GLint ny, GLint nz);
typedef void (* glNormal3ivProcPtr) (const GLint *v);
typedef void (* glNormal3sProcPtr) (GLshort nx, GLshort ny, GLshort nz);
typedef void (* glNormal3svProcPtr) (const GLshort *v);
typedef void (* glNormalPointerProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glOrthoProcPtr) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
typedef void (* glPassThroughProcPtr) (GLfloat token);
typedef void (* glPixelMapfvProcPtr) (GLenum map, GLint mapsize, const GLfloat *values);
typedef void (* glPixelMapuivProcPtr) (GLenum map, GLint mapsize, const GLuint *values);
typedef void (* glPixelMapusvProcPtr) (GLenum map, GLint mapsize, const GLushort *values);
typedef void (* glPixelStorefProcPtr) (GLenum pname, GLfloat param);
typedef void (* glPixelStoreiProcPtr) (GLenum pname, GLint param);
typedef void (* glPixelTransferfProcPtr) (GLenum pname, GLfloat param);
typedef void (* glPixelTransferiProcPtr) (GLenum pname, GLint param);
typedef void (* glPixelZoomProcPtr) (GLfloat xfactor, GLfloat yfactor);
typedef void (* glPointSizeProcPtr) (GLfloat size);
typedef void (* glPolygonModeProcPtr) (GLenum face, GLenum mode);
typedef void (* glPolygonOffsetProcPtr) (GLfloat factor, GLfloat units);
typedef void (* glPolygonStippleProcPtr) (const GLubyte *mask);
typedef void (* glPopAttribProcPtr) (void);
typedef void (* glPopClientAttribProcPtr) (void);
typedef void (* glPopMatrixProcPtr) (void);
typedef void (* glPopNameProcPtr) (void);
typedef void (* glPrioritizeTexturesProcPtr) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
typedef void (* glPushAttribProcPtr) (GLbitfield mask);
typedef void (* glPushClientAttribProcPtr) (GLbitfield mask);
typedef void (* glPushMatrixProcPtr) (void);
typedef void (* glPushNameProcPtr) (GLuint name);
typedef void (* glRasterPos2dProcPtr) (GLdouble x, GLdouble y);
typedef void (* glRasterPos2dvProcPtr) (const GLdouble *v);
typedef void (* glRasterPos2fProcPtr) (GLfloat x, GLfloat y);
typedef void (* glRasterPos2fvProcPtr) (const GLfloat *v);
typedef void (* glRasterPos2iProcPtr) (GLint x, GLint y);
typedef void (* glRasterPos2ivProcPtr) (const GLint *v);
typedef void (* glRasterPos2sProcPtr) (GLshort x, GLshort y);
typedef void (* glRasterPos2svProcPtr) (const GLshort *v);
typedef void (* glRasterPos3dProcPtr) (GLdouble x, GLdouble y, GLdouble z);
typedef void (* glRasterPos3dvProcPtr) (const GLdouble *v);
typedef void (* glRasterPos3fProcPtr) (GLfloat x, GLfloat y, GLfloat z);
typedef void (* glRasterPos3fvProcPtr) (const GLfloat *v);
typedef void (* glRasterPos3iProcPtr) (GLint x, GLint y, GLint z);
typedef void (* glRasterPos3ivProcPtr) (const GLint *v);
typedef void (* glRasterPos3sProcPtr) (GLshort x, GLshort y, GLshort z);
typedef void (* glRasterPos3svProcPtr) (const GLshort *v);
typedef void (* glRasterPos4dProcPtr) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glRasterPos4dvProcPtr) (const GLdouble *v);
typedef void (* glRasterPos4fProcPtr) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glRasterPos4fvProcPtr) (const GLfloat *v);
typedef void (* glRasterPos4iProcPtr) (GLint x, GLint y, GLint z, GLint w);
typedef void (* glRasterPos4ivProcPtr) (const GLint *v);
typedef void (* glRasterPos4sProcPtr) (GLshort x, GLshort y, GLshort z, GLshort w);
typedef void (* glRasterPos4svProcPtr) (const GLshort *v);
typedef void (* glReadBufferProcPtr) (GLenum mode);
typedef void (* glReadPixelsProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
typedef void (* glRectdProcPtr) (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
typedef void (* glRectdvProcPtr) (const GLdouble *v1, const GLdouble *v2);
typedef void (* glRectfProcPtr) (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
typedef void (* glRectfvProcPtr) (const GLfloat *v1, const GLfloat *v2);
typedef void (* glRectiProcPtr) (GLint x1, GLint y1, GLint x2, GLint y2);
typedef void (* glRectivProcPtr) (const GLint *v1, const GLint *v2);
typedef void (* glRectsProcPtr) (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
typedef void (* glRectsvProcPtr) (const GLshort *v1, const GLshort *v2);
typedef GLint (* glRenderModeProcPtr) (GLenum mode);
typedef void (* glResetHistogramProcPtr) (GLenum target);
typedef void (* glResetMinmaxProcPtr) (GLenum target);
typedef void (* glRotatedProcPtr) (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
typedef void (* glRotatefProcPtr) (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
typedef void (* glScaledProcPtr) (GLdouble x, GLdouble y, GLdouble z);
typedef void (* glScalefProcPtr) (GLfloat x, GLfloat y, GLfloat z);
typedef void (* glScissorProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (* glSelectBufferProcPtr) (GLsizei size, GLuint *buffer);
typedef void (* glSeparableFilter2DProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
typedef void (* glShadeModelProcPtr) (GLenum mode);
typedef void (* glStencilFuncProcPtr) (GLenum func, GLint ref, GLuint mask);
typedef void (* glStencilMaskProcPtr) (GLuint mask);
typedef void (* glStencilOpProcPtr) (GLenum fail, GLenum zfail, GLenum zpass);
typedef void (* glTexCoord1dProcPtr) (GLdouble s);
typedef void (* glTexCoord1dvProcPtr) (const GLdouble *v);
typedef void (* glTexCoord1fProcPtr) (GLfloat s);
typedef void (* glTexCoord1fvProcPtr) (const GLfloat *v);
typedef void (* glTexCoord1iProcPtr) (GLint s);
typedef void (* glTexCoord1ivProcPtr) (const GLint *v);
typedef void (* glTexCoord1sProcPtr) (GLshort s);
typedef void (* glTexCoord1svProcPtr) (const GLshort *v);
typedef void (* glTexCoord2dProcPtr) (GLdouble s, GLdouble t);
typedef void (* glTexCoord2dvProcPtr) (const GLdouble *v);
typedef void (* glTexCoord2fProcPtr) (GLfloat s, GLfloat t);
typedef void (* glTexCoord2fvProcPtr) (const GLfloat *v);
typedef void (* glTexCoord2iProcPtr) (GLint s, GLint t);
typedef void (* glTexCoord2ivProcPtr) (const GLint *v);
typedef void (* glTexCoord2sProcPtr) (GLshort s, GLshort t);
typedef void (* glTexCoord2svProcPtr) (const GLshort *v);
typedef void (* glTexCoord3dProcPtr) (GLdouble s, GLdouble t, GLdouble r);
typedef void (* glTexCoord3dvProcPtr) (const GLdouble *v);
typedef void (* glTexCoord3fProcPtr) (GLfloat s, GLfloat t, GLfloat r);
typedef void (* glTexCoord3fvProcPtr) (const GLfloat *v);
typedef void (* glTexCoord3iProcPtr) (GLint s, GLint t, GLint r);
typedef void (* glTexCoord3ivProcPtr) (const GLint *v);
typedef void (* glTexCoord3sProcPtr) (GLshort s, GLshort t, GLshort r);
typedef void (* glTexCoord3svProcPtr) (const GLshort *v);
typedef void (* glTexCoord4dProcPtr) (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
typedef void (* glTexCoord4dvProcPtr) (const GLdouble *v);
typedef void (* glTexCoord4fProcPtr) (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
typedef void (* glTexCoord4fvProcPtr) (const GLfloat *v);
typedef void (* glTexCoord4iProcPtr) (GLint s, GLint t, GLint r, GLint q);
typedef void (* glTexCoord4ivProcPtr) (const GLint *v);
typedef void (* glTexCoord4sProcPtr) (GLshort s, GLshort t, GLshort r, GLshort q);
typedef void (* glTexCoord4svProcPtr) (const GLshort *v);
typedef void (* glTexCoordPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glTexEnvfProcPtr) (GLenum target, GLenum pname, GLfloat param);
typedef void (* glTexEnvfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params);
typedef void (* glTexEnviProcPtr) (GLenum target, GLenum pname, GLint param);
typedef void (* glTexEnvivProcPtr) (GLenum target, GLenum pname, const GLint *params);
typedef void (* glTexGendProcPtr) (GLenum coord, GLenum pname, GLdouble param);
typedef void (* glTexGendvProcPtr) (GLenum coord, GLenum pname, const GLdouble *params);
typedef void (* glTexGenfProcPtr) (GLenum coord, GLenum pname, GLfloat param);
typedef void (* glTexGenfvProcPtr) (GLenum coord, GLenum pname, const GLfloat *params);
typedef void (* glTexGeniProcPtr) (GLenum coord, GLenum pname, GLint param);
typedef void (* glTexGenivProcPtr) (GLenum coord, GLenum pname, const GLint *params);
typedef void (* glTexImage1DProcPtr) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (* glTexImage2DProcPtr) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (* glTexImage3DProcPtr) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (* glTexParameterfProcPtr) (GLenum target, GLenum pname, GLfloat param);
typedef void (* glTexParameterfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params);
typedef void (* glTexParameteriProcPtr) (GLenum target, GLenum pname, GLint param);
typedef void (* glTexParameterivProcPtr) (GLenum target, GLenum pname, const GLint *params);
typedef void (* glTexSubImage1DProcPtr) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (* glTexSubImage2DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (* glTexSubImage3DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (* glTranslatedProcPtr) (GLdouble x, GLdouble y, GLdouble z);
typedef void (* glTranslatefProcPtr) (GLfloat x, GLfloat y, GLfloat z);
typedef void (* glVertex2dProcPtr) (GLdouble x, GLdouble y);
typedef void (* glVertex2dvProcPtr) (const GLdouble *v);
typedef void (* glVertex2fProcPtr) (GLfloat x, GLfloat y);
typedef void (* glVertex2fvProcPtr) (const GLfloat *v);
typedef void (* glVertex2iProcPtr) (GLint x, GLint y);
typedef void (* glVertex2ivProcPtr) (const GLint *v);
typedef void (* glVertex2sProcPtr) (GLshort x, GLshort y);
typedef void (* glVertex2svProcPtr) (const GLshort *v);
typedef void (* glVertex3dProcPtr) (GLdouble x, GLdouble y, GLdouble z);
typedef void (* glVertex3dvProcPtr) (const GLdouble *v);
typedef void (* glVertex3fProcPtr) (GLfloat x, GLfloat y, GLfloat z);
typedef void (* glVertex3fvProcPtr) (const GLfloat *v);
typedef void (* glVertex3iProcPtr) (GLint x, GLint y, GLint z);
typedef void (* glVertex3ivProcPtr) (const GLint *v);
typedef void (* glVertex3sProcPtr) (GLshort x, GLshort y, GLshort z);
typedef void (* glVertex3svProcPtr) (const GLshort *v);
typedef void (* glVertex4dProcPtr) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glVertex4dvProcPtr) (const GLdouble *v);
typedef void (* glVertex4fProcPtr) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glVertex4fvProcPtr) (const GLfloat *v);
typedef void (* glVertex4iProcPtr) (GLint x, GLint y, GLint z, GLint w);
typedef void (* glVertex4ivProcPtr) (const GLint *v);
typedef void (* glVertex4sProcPtr) (GLshort x, GLshort y, GLshort z, GLshort w);
typedef void (* glVertex4svProcPtr) (const GLshort *v);
typedef void (* glVertexPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glViewportProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (* glSampleCoverageProcPtr) (GLclampf value, GLboolean invert);
typedef void (* glLoadTransposeMatrixfProcPtr) (const GLfloat *m);
typedef void (* glLoadTransposeMatrixdProcPtr) (const GLdouble *m);
typedef void (* glMultTransposeMatrixfProcPtr) (const GLfloat *m);
typedef void (* glMultTransposeMatrixdProcPtr) (const GLdouble *m);
typedef void (* glCompressedTexImage3DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexImage2DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexImage1DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexSubImage3DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexSubImage2DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexSubImage1DProcPtr) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (* glGetCompressedTexImageProcPtr) (GLenum target, GLint lod, GLvoid *img);
typedef void (* glActiveTextureProcPtr) (GLenum texture);
typedef void (* glClientActiveTextureProcPtr) (GLenum texture);
typedef void (* glMultiTexCoord1dProcPtr) (GLenum target, GLdouble s);
typedef void (* glMultiTexCoord1dvProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord1fProcPtr) (GLenum target, GLfloat s);
typedef void (* glMultiTexCoord1fvProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord1iProcPtr) (GLenum target, GLint s);
typedef void (* glMultiTexCoord1ivProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord1sProcPtr) (GLenum target, GLshort s);
typedef void (* glMultiTexCoord1svProcPtr) (GLenum target, const GLshort *v);
typedef void (* glMultiTexCoord2dProcPtr) (GLenum target, GLdouble s, GLdouble t);
typedef void (* glMultiTexCoord2dvProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord2fProcPtr) (GLenum target, GLfloat s, GLfloat t);
typedef void (* glMultiTexCoord2fvProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord2iProcPtr) (GLenum target, GLint s, GLint t);
typedef void (* glMultiTexCoord2ivProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord2sProcPtr) (GLenum target, GLshort s, GLshort t);
typedef void (* glMultiTexCoord2svProcPtr) (GLenum target, const GLshort *v);
typedef void (* glMultiTexCoord3dProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
typedef void (* glMultiTexCoord3dvProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord3fProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
typedef void (* glMultiTexCoord3fvProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord3iProcPtr) (GLenum target, GLint s, GLint t, GLint r);
typedef void (* glMultiTexCoord3ivProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord3sProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r);
typedef void (* glMultiTexCoord3svProcPtr) (GLenum target, const GLshort *v);
typedef void (* glMultiTexCoord4dProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
typedef void (* glMultiTexCoord4dvProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord4fProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
typedef void (* glMultiTexCoord4fvProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord4iProcPtr) (GLenum target, GLint s, GLint t, GLint r, GLint q);
typedef void (* glMultiTexCoord4ivProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord4sProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
typedef void (* glMultiTexCoord4svProcPtr) (GLenum target, const GLshort *v);
typedef void (* glFogCoordfProcPtr) (GLfloat coord);
typedef void (* glFogCoordfvProcPtr) (const GLfloat *coord);
typedef void (* glFogCoorddProcPtr) (GLdouble coord);
typedef void (* glFogCoorddvProcPtr) (const GLdouble *coord);
typedef void (* glFogCoordPointerProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glSecondaryColor3bProcPtr) (GLbyte red, GLbyte green, GLbyte blue);
typedef void (* glSecondaryColor3bvProcPtr) (const GLbyte *v);
typedef void (* glSecondaryColor3dProcPtr) (GLdouble red, GLdouble green, GLdouble blue);
typedef void (* glSecondaryColor3dvProcPtr) (const GLdouble *v);
typedef void (* glSecondaryColor3fProcPtr) (GLfloat red, GLfloat green, GLfloat blue);
typedef void (* glSecondaryColor3fvProcPtr) (const GLfloat *v);
typedef void (* glSecondaryColor3iProcPtr) (GLint red, GLint green, GLint blue);
typedef void (* glSecondaryColor3ivProcPtr) (const GLint *v);
typedef void (* glSecondaryColor3sProcPtr) (GLshort red, GLshort green, GLshort blue);
typedef void (* glSecondaryColor3svProcPtr) (const GLshort *v);
typedef void (* glSecondaryColor3ubProcPtr) (GLubyte red, GLubyte green, GLubyte blue);
typedef void (* glSecondaryColor3ubvProcPtr) (const GLubyte *v);
typedef void (* glSecondaryColor3uiProcPtr) (GLuint red, GLuint green, GLuint blue);
typedef void (* glSecondaryColor3uivProcPtr) (const GLuint *v);
typedef void (* glSecondaryColor3usProcPtr) (GLushort red, GLushort green, GLushort blue);
typedef void (* glSecondaryColor3usvProcPtr) (const GLushort *v);
typedef void (* glSecondaryColorPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glPointParameterfProcPtr) (GLenum pname, GLfloat param);
typedef void (* glPointParameterfvProcPtr) (GLenum pname, const GLfloat *params);
typedef void (* glPointParameteriProcPtr) (GLenum pname, GLint param);
typedef void (* glPointParameterivProcPtr) (GLenum pname, const GLint *params);
typedef void (* glBlendFuncSeparateProcPtr) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
typedef void (* glMultiDrawArraysProcPtr) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
typedef void (* glMultiDrawElementsProcPtr) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount);
typedef void (* glWindowPos2dProcPtr) (GLdouble x, GLdouble y);
typedef void (* glWindowPos2dvProcPtr) (const GLdouble *v);
typedef void (* glWindowPos2fProcPtr) (GLfloat x, GLfloat y);
typedef void (* glWindowPos2fvProcPtr) (const GLfloat *v);
typedef void (* glWindowPos2iProcPtr) (GLint x, GLint y);
typedef void (* glWindowPos2ivProcPtr) (const GLint *v);
typedef void (* glWindowPos2sProcPtr) (GLshort x, GLshort y);
typedef void (* glWindowPos2svProcPtr) (const GLshort *v);
typedef void (* glWindowPos3dProcPtr) (GLdouble x, GLdouble y, GLdouble z);
typedef void (* glWindowPos3dvProcPtr) (const GLdouble *v);
typedef void (* glWindowPos3fProcPtr) (GLfloat x, GLfloat y, GLfloat z);
typedef void (* glWindowPos3fvProcPtr) (const GLfloat *v);
typedef void (* glWindowPos3iProcPtr) (GLint x, GLint y, GLint z);
typedef void (* glWindowPos3ivProcPtr) (const GLint *v);
typedef void (* glWindowPos3sProcPtr) (GLshort x, GLshort y, GLshort z);
typedef void (* glWindowPos3svProcPtr) (const GLshort *v);
typedef void (* glGenQueriesProcPtr) (GLsizei n, GLuint *ids);
typedef void (* glDeleteQueriesProcPtr) (GLsizei n, const GLuint *ids);
typedef GLboolean (* glIsQueryProcPtr) (GLuint id);
typedef void (* glBeginQueryProcPtr) (GLenum target, GLuint id);
typedef void (* glEndQueryProcPtr) (GLenum target);
typedef void (* glGetQueryivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetQueryObjectivProcPtr) (GLuint id, GLenum pname, GLint *params);
typedef void (* glGetQueryObjectuivProcPtr) (GLuint id, GLenum pname, GLuint *params);
typedef void (* glBindBufferProcPtr) (GLenum target, GLuint buffer);
typedef void (* glDeleteBuffersProcPtr) (GLsizei n, const GLuint *buffers);
typedef void (* glGenBuffersProcPtr) (GLsizei n, GLuint *buffers);
typedef GLboolean (* glIsBufferProcPtr) (GLuint buffer);
typedef void (* glBufferDataProcPtr) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
typedef void (* glBufferSubDataProcPtr) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
typedef void (* glGetBufferSubDataProcPtr) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
typedef GLvoid *(* glMapBufferProcPtr) (GLenum target, GLenum access);
typedef GLboolean (* glUnmapBufferProcPtr) (GLenum target);
typedef void (* glGetBufferParameterivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetBufferPointervProcPtr) (GLenum target, GLenum pname, GLvoid **params);
typedef void (* glDrawBuffersProcPtr) (GLsizei n, const GLenum *bufs);
typedef void (* glVertexAttrib1dProcPtr) (GLuint index, GLdouble x);
typedef void (* glVertexAttrib1dvProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib1fProcPtr) (GLuint index, GLfloat x);
typedef void (* glVertexAttrib1fvProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib1sProcPtr) (GLuint index, GLshort x);
typedef void (* glVertexAttrib1svProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib2dProcPtr) (GLuint index, GLdouble x, GLdouble y);
typedef void (* glVertexAttrib2dvProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib2fProcPtr) (GLuint index, GLfloat x, GLfloat y);
typedef void (* glVertexAttrib2fvProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib2sProcPtr) (GLuint index, GLshort x, GLshort y);
typedef void (* glVertexAttrib2svProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib3dProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
typedef void (* glVertexAttrib3dvProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib3fProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
typedef void (* glVertexAttrib3fvProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib3sProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z);
typedef void (* glVertexAttrib3svProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib4NbvProcPtr) (GLuint index, const GLbyte *v);
typedef void (* glVertexAttrib4NivProcPtr) (GLuint index, const GLint *v);
typedef void (* glVertexAttrib4NsvProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib4NubProcPtr) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
typedef void (* glVertexAttrib4NubvProcPtr) (GLuint index, const GLubyte *v);
typedef void (* glVertexAttrib4NuivProcPtr) (GLuint index, const GLuint *v);
typedef void (* glVertexAttrib4NusvProcPtr) (GLuint index, const GLushort *v);
typedef void (* glVertexAttrib4bvProcPtr) (GLuint index, const GLbyte *v);
typedef void (* glVertexAttrib4dProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glVertexAttrib4dvProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib4fProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glVertexAttrib4fvProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib4ivProcPtr) (GLuint index, const GLint *v);
typedef void (* glVertexAttrib4sProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
typedef void (* glVertexAttrib4svProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib4ubvProcPtr) (GLuint index, const GLubyte *v);
typedef void (* glVertexAttrib4uivProcPtr) (GLuint index, const GLuint *v);
typedef void (* glVertexAttrib4usvProcPtr) (GLuint index, const GLushort *v);
typedef void (* glVertexAttribPointerProcPtr) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
typedef void (* glEnableVertexAttribArrayProcPtr) (GLuint index);
typedef void (* glDisableVertexAttribArrayProcPtr) (GLuint index);
typedef void (* glGetVertexAttribdvProcPtr) (GLuint index, GLenum pname, GLdouble *params);
typedef void (* glGetVertexAttribfvProcPtr) (GLuint index, GLenum pname, GLfloat *params);
typedef void (* glGetVertexAttribivProcPtr) (GLuint index, GLenum pname, GLint *params);
typedef void (* glGetVertexAttribPointervProcPtr) (GLuint index, GLenum pname, GLvoid **pointer);
typedef void (* glDeleteShaderProcPtr) (GLuint shader);
typedef void (* glDetachShaderProcPtr) (GLuint program, GLuint shader);
typedef GLuint (* glCreateShaderProcPtr) (GLenum type);
typedef void (* glShaderSourceProcPtr) (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
typedef void (* glCompileShaderProcPtr) (GLuint shader);
typedef GLuint (* glCreateProgramProcPtr) (void);
typedef void (* glAttachShaderProcPtr) (GLuint program, GLuint shader);
typedef void (* glLinkProgramProcPtr) (GLuint program);
typedef void (* glUseProgramProcPtr) (GLuint program);
typedef void (* glDeleteProgramProcPtr) (GLuint program);
typedef void (* glValidateProgramProcPtr) (GLuint program);
typedef void (* glUniform1fProcPtr) (GLint location, GLfloat v0);
typedef void (* glUniform2fProcPtr) (GLint location, GLfloat v0, GLfloat v1);
typedef void (* glUniform3fProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
typedef void (* glUniform4fProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
typedef void (* glUniform1iProcPtr) (GLint location, GLint v0);
typedef void (* glUniform2iProcPtr) (GLint location, GLint v0, GLint v1);
typedef void (* glUniform3iProcPtr) (GLint location, GLint v0, GLint v1, GLint v2);
typedef void (* glUniform4iProcPtr) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
typedef void (* glUniform1fvProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform2fvProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform3fvProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform4fvProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform1ivProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniform2ivProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniform3ivProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniform4ivProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniformMatrix2fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix3fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix4fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef GLboolean (* glIsShaderProcPtr) (GLuint shader);
typedef GLboolean (* glIsProgramProcPtr) (GLuint program);
typedef void (* glGetShaderivProcPtr) (GLuint shader, GLenum pname, GLint *params);
typedef void (* glGetProgramivProcPtr) (GLuint program, GLenum pname, GLint *params);
typedef void (* glGetAttachedShadersProcPtr) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
typedef void (* glGetShaderInfoLogProcPtr) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
typedef void (* glGetProgramInfoLogProcPtr) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
typedef GLint (* glGetUniformLocationProcPtr) (GLuint program, const GLchar *name);
typedef void (* glGetActiveUniformProcPtr) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
typedef void (* glGetUniformfvProcPtr) (GLuint program, GLint location, GLfloat *params);
typedef void (* glGetUniformivProcPtr) (GLuint program, GLint location, GLint *params);
typedef void (* glGetShaderSourceProcPtr) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
typedef void (* glBindAttribLocationProcPtr) (GLuint program, GLuint index, const GLchar *name);
typedef void (* glGetActiveAttribProcPtr) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
typedef GLint (* glGetAttribLocationProcPtr) (GLuint program, const GLchar *name);
typedef void (* glStencilFuncSeparateProcPtr) (GLenum face, GLenum func, GLint ref, GLuint mask);
typedef void (* glStencilOpSeparateProcPtr) (GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
typedef void (* glStencilMaskSeparateProcPtr) (GLenum face, GLuint mask);
typedef void (* glUniformMatrix2x3fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix3x2fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix2x4fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix4x2fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix3x4fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix4x3fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
#else /* GL_GLEXT_FUNCTION_POINTERS */
extern void glAccum (GLenum op, GLfloat value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glAlphaFunc (GLenum func, GLclampf ref) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences) OPENGL_DEPRECATED(10.0, 10.14);
extern void glArrayElement (GLint i) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBindTexture (GLenum target, GLuint texture) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBlendEquation (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBlendFunc (GLenum sfactor, GLenum dfactor) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCallList (GLuint list) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCallLists (GLsizei n, GLenum type, const GLvoid *lists) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClear (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClearDepth (GLclampd depth) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClearIndex (GLfloat c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClearStencil (GLint s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClipPlane (GLenum plane, const GLdouble *equation) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3b (GLbyte red, GLbyte green, GLbyte blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3bv (const GLbyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3d (GLdouble red, GLdouble green, GLdouble blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3f (GLfloat red, GLfloat green, GLfloat blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3i (GLint red, GLint green, GLint blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3s (GLshort red, GLshort green, GLshort blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3ub (GLubyte red, GLubyte green, GLubyte blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3ubv (const GLubyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3ui (GLuint red, GLuint green, GLuint blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3uiv (const GLuint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3us (GLushort red, GLushort green, GLushort blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor3usv (const GLushort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4bv (const GLbyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4i (GLint red, GLint green, GLint blue, GLint alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4ubv (const GLubyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4uiv (const GLuint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColor4usv (const GLushort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColorMaterial (GLenum face, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) OPENGL_DEPRECATED(10.0, 10.14);
extern void glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) OPENGL_DEPRECATED(10.0, 10.14);
extern void glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glConvolutionParameteri (GLenum target, GLenum pname, GLint params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCullFace (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDeleteLists (GLuint list, GLsizei range) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDeleteTextures (GLsizei n, const GLuint *textures) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDepthFunc (GLenum func) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDepthMask (GLboolean flag) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDepthRange (GLclampd zNear, GLclampd zFar) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDisable (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDisableClientState (GLenum array) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDrawArrays (GLenum mode, GLint first, GLsizei count) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDrawBuffer (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEdgeFlag (GLboolean flag) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEdgeFlagv (const GLboolean *flag) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEnable (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEnableClientState (GLenum array) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEndList (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord1d (GLdouble u) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord1dv (const GLdouble *u) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord1f (GLfloat u) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord1fv (const GLfloat *u) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord2d (GLdouble u, GLdouble v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord2dv (const GLdouble *u) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord2f (GLfloat u, GLfloat v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalCoord2fv (const GLfloat *u) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalMesh1 (GLenum mode, GLint i1, GLint i2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalPoint1 (GLint i) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEvalPoint2 (GLint i, GLint j) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFinish (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFlush (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFogf (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFogfv (GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFogi (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFogiv (GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFrontFace (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED(10.0, 10.14);
extern GLuint glGenLists (GLsizei range) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGenTextures (GLsizei n, GLuint *textures) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetBooleanv (GLenum pname, GLboolean *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetClipPlane (GLenum plane, GLdouble *equation) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14);
extern GLenum glGetError (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetFloatv (GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetLightfv (GLenum light, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetLightiv (GLenum light, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMapdv (GLenum target, GLenum query, GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMapfv (GLenum target, GLenum query, GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMapiv (GLenum target, GLenum query, GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMaterialiv (GLenum face, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetPixelMapfv (GLenum map, GLfloat *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetPixelMapuiv (GLenum map, GLuint *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetPixelMapusv (GLenum map, GLushort *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetPointerv (GLenum pname, GLvoid **params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetPolygonStipple (GLubyte *mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) OPENGL_DEPRECATED(10.0, 10.14);
extern const GLubyte *glGetString (GLenum name) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexEnviv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glHint (GLenum target, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexMask (GLuint mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexd (GLdouble c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexdv (const GLdouble *c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexf (GLfloat c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexfv (const GLfloat *c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexi (GLint c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexiv (const GLint *c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexs (GLshort c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexsv (const GLshort *c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexub (GLubyte c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glIndexubv (const GLubyte *c) OPENGL_DEPRECATED(10.0, 10.14);
extern void glInitNames (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glIsEnabled (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glIsList (GLuint list) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glIsTexture (GLuint texture) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLightModelf (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLightModelfv (GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLightModeli (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLightModeliv (GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLightf (GLenum light, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLightfv (GLenum light, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLighti (GLenum light, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLightiv (GLenum light, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLineStipple (GLint factor, GLushort pattern) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLineWidth (GLfloat width) OPENGL_DEPRECATED(10.0, 10.14);
extern void glListBase (GLuint base) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLoadIdentity (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLoadMatrixd (const GLdouble *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLoadMatrixf (const GLfloat *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLoadName (GLuint name) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLogicOp (GLenum opcode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMaterialf (GLenum face, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMateriali (GLenum face, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMaterialiv (GLenum face, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMatrixMode (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMinmax (GLenum target, GLenum internalformat, GLboolean sink) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultMatrixd (const GLdouble *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultMatrixf (const GLfloat *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNewList (GLuint list, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3bv (const GLbyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3i (GLint nx, GLint ny, GLint nz) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3s (GLshort nx, GLshort ny, GLshort nz) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormal3sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPassThrough (GLfloat token) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelMapfv (GLenum map, GLint mapsize, const GLfloat *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelMapuiv (GLenum map, GLint mapsize, const GLuint *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelMapusv (GLenum map, GLint mapsize, const GLushort *values) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelStoref (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelTransferf (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelTransferi (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPixelZoom (GLfloat xfactor, GLfloat yfactor) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPointSize (GLfloat size) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPolygonMode (GLenum face, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPolygonOffset (GLfloat factor, GLfloat units) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPolygonStipple (const GLubyte *mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPopAttrib (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPopMatrix (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPopName (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPushAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPushMatrix (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPushName (GLuint name) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2d (GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2f (GLfloat x, GLfloat y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2i (GLint x, GLint y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2s (GLshort x, GLshort y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos2sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3i (GLint x, GLint y, GLint z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3s (GLshort x, GLshort y, GLshort z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos3sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4i (GLint x, GLint y, GLint z, GLint w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRasterPos4sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glReadBuffer (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRectdv (const GLdouble *v1, const GLdouble *v2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRectfv (const GLfloat *v1, const GLfloat *v2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRecti (GLint x1, GLint y1, GLint x2, GLint y2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRectiv (const GLint *v1, const GLint *v2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRectsv (const GLshort *v1, const GLshort *v2) OPENGL_DEPRECATED(10.0, 10.14);
extern GLint glRenderMode (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glResetHistogram (GLenum target) OPENGL_DEPRECATED(10.0, 10.14);
extern void glResetMinmax (GLenum target) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glScaled (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glScalef (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glScissor (GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSelectBuffer (GLsizei size, GLuint *buffer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) OPENGL_DEPRECATED(10.0, 10.14);
extern void glShadeModel (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14);
extern void glStencilFunc (GLenum func, GLint ref, GLuint mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glStencilMask (GLuint mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1d (GLdouble s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1f (GLfloat s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1i (GLint s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1s (GLshort s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord1sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2f (GLfloat s, GLfloat t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2i (GLint s, GLint t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2s (GLshort s, GLshort t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord2sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3i (GLint s, GLint t, GLint r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3s (GLshort s, GLshort t, GLshort r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord3sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4i (GLint s, GLint t, GLint r, GLint q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoord4sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexEnvf (GLenum target, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexEnvi (GLenum target, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexEnviv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexGend (GLenum coord, GLenum pname, GLdouble param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexGendv (GLenum coord, GLenum pname, const GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexGenf (GLenum coord, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexGeni (GLenum coord, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexGeniv (GLenum coord, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexParameterf (GLenum target, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexParameteri (GLenum target, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexParameteriv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTranslated (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glTranslatef (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2d (GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2f (GLfloat x, GLfloat y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2i (GLint x, GLint y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2s (GLshort x, GLshort y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex2sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3d (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3i (GLint x, GLint y, GLint z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3s (GLshort x, GLshort y, GLshort z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex3sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4i (GLint x, GLint y, GLint z, GLint w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertex4sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glViewport (GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSampleCoverage (GLclampf value, GLboolean invert) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLoadTransposeMatrixf (const GLfloat *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLoadTransposeMatrixd (const GLdouble *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultTransposeMatrixf (const GLfloat *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultTransposeMatrixd (const GLdouble *m) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetCompressedTexImage (GLenum target, GLint lod, GLvoid *img) OPENGL_DEPRECATED(10.0, 10.14);
extern void glActiveTexture (GLenum texture) OPENGL_DEPRECATED(10.0, 10.14);
extern void glClientActiveTexture (GLenum texture) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1d (GLenum target, GLdouble s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1dv (GLenum target, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1f (GLenum target, GLfloat s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1fv (GLenum target, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1i (GLenum target, GLint s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1iv (GLenum target, const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1s (GLenum target, GLshort s) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord1sv (GLenum target, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2dv (GLenum target, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2fv (GLenum target, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2i (GLenum target, GLint s, GLint t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2iv (GLenum target, const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2s (GLenum target, GLshort s, GLshort t) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord2sv (GLenum target, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3dv (GLenum target, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3fv (GLenum target, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3iv (GLenum target, const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord3sv (GLenum target, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4dv (GLenum target, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4fv (GLenum target, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4iv (GLenum target, const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiTexCoord4sv (GLenum target, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFogCoordf (GLfloat coord) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFogCoordfv (const GLfloat *coord); OPENGL_DEPRECATED(10.0, 10.14)
extern void glFogCoordd (GLdouble coord) OPENGL_DEPRECATED(10.0, 10.14);
extern void glFogCoorddv (const GLdouble *coord); OPENGL_DEPRECATED(10.0, 10.14)
extern void glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3bv (const GLbyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3i (GLint red, GLint green, GLint blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3s (GLshort red, GLshort green, GLshort blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3ubv (const GLubyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3uiv (const GLuint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3us (GLushort red, GLushort green, GLushort blue) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColor3usv (const GLushort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPointParameterf (GLenum pname, GLfloat param); OPENGL_DEPRECATED(10.0, 10.14)
extern void glPointParameterfv (GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glPointParameteri (GLenum pname, GLint param); OPENGL_DEPRECATED(10.0, 10.14)
extern void glPointParameteriv (GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount) OPENGL_DEPRECATED(10.0, 10.14);
extern void glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos2d (GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos2dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos2f (GLfloat x, GLfloat y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos2fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos2i (GLint x, GLint y); OPENGL_DEPRECATED(10.0, 10.14)
extern void glWindowPos2iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos2s (GLshort x, GLshort y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos2sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3d (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3dv (const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3fv (const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3i (GLint x, GLint y, GLint z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3iv (const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3s (GLshort x, GLshort y, GLshort z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glWindowPos3sv (const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGenQueries (GLsizei n, GLuint *ids) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDeleteQueries (GLsizei n, const GLuint *ids) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glIsQuery (GLuint id) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBeginQuery (GLenum target, GLuint id) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEndQuery (GLenum target) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetQueryiv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBindBuffer (GLenum target, GLuint buffer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDeleteBuffers (GLsizei n, const GLuint *buffers) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGenBuffers (GLsizei n, GLuint *buffers) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glIsBuffer (GLuint buffer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) OPENGL_DEPRECATED(10.0, 10.14);
extern GLvoid *glMapBuffer (GLenum target, GLenum access) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glUnmapBuffer (GLenum target) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetBufferPointerv (GLenum target, GLenum pname, GLvoid **params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDrawBuffers (GLsizei n, const GLenum *bufs) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib1d (GLuint index, GLdouble x) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib1dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib1f (GLuint index, GLfloat x) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib1fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib1s (GLuint index, GLshort x) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib1sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib2dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib2fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib2s (GLuint index, GLshort x, GLshort y) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib2sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib3dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib3fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib3sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4Nbv (GLuint index, const GLbyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4Niv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4Nsv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4Nubv (GLuint index, const GLubyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4Nuiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4Nusv (GLuint index, const GLushort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4bv (GLuint index, const GLbyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4iv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4ubv (GLuint index, const GLubyte *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4uiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttrib4usv (GLuint index, const GLushort *v) OPENGL_DEPRECATED(10.0, 10.14);
extern void glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glEnableVertexAttribArray (GLuint index) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDisableVertexAttribArray (GLuint index) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid **pointer) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDeleteShader (GLuint shader) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDetachShader (GLuint program, GLuint shader) OPENGL_DEPRECATED(10.0, 10.14);
extern GLuint glCreateShader (GLenum type) OPENGL_DEPRECATED(10.0, 10.14);
extern void glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) OPENGL_DEPRECATED(10.0, 10.14);
extern void glCompileShader (GLuint shader) OPENGL_DEPRECATED(10.0, 10.14);
extern GLuint glCreateProgram (void) OPENGL_DEPRECATED(10.0, 10.14);
extern void glAttachShader (GLuint program, GLuint shader) OPENGL_DEPRECATED(10.0, 10.14);
extern void glLinkProgram (GLuint program) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUseProgram (GLuint program) OPENGL_DEPRECATED(10.0, 10.14);
extern void glDeleteProgram (GLuint program) OPENGL_DEPRECATED(10.0, 10.14);
extern void glValidateProgram (GLuint program) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform1f (GLint location, GLfloat v0) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform2f (GLint location, GLfloat v0, GLfloat v1) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform1i (GLint location, GLint v0) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform2i (GLint location, GLint v0, GLint v1) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform3i (GLint location, GLint v0, GLint v1, GLint v2) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform1fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform2fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform3fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform4fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform1iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform2iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform3iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniform4iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glIsShader (GLuint shader) OPENGL_DEPRECATED(10.0, 10.14);
extern GLboolean glIsProgram (GLuint program) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetShaderiv (GLuint shader, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetProgramiv (GLuint program, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) OPENGL_DEPRECATED(10.0, 10.14);
extern GLint glGetUniformLocation (GLuint program, const GLchar *name) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetUniformfv (GLuint program, GLint location, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetUniformiv (GLuint program, GLint location, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) OPENGL_DEPRECATED(10.0, 10.14);
extern void glBindAttribLocation (GLuint program, GLuint index, const GLchar *name) OPENGL_DEPRECATED(10.0, 10.14);
extern void glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) OPENGL_DEPRECATED(10.0, 10.14);
extern GLint glGetAttribLocation (GLuint program, const GLchar *name) OPENGL_DEPRECATED(10.0, 10.14);
extern void glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass) OPENGL_DEPRECATED(10.0, 10.14);
extern void glStencilMaskSeparate (GLenum face, GLuint mask) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.0, 10.14);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#ifdef __cplusplus
}
#endif
#endif /* __gl_h_ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/CGLDevice.h | /*
Copyright: (c) 2008-2012 Apple Inc. All rights reserved.
*/
#ifndef _CGLDEVICE_H
#define _CGLDEVICE_H
#include <OpenGL/CGLTypes.h>
#include <OpenGL/gltypes.h>
#ifdef __cplusplus
extern "C" {
#endif
OPENGL_ASSUME_NONNULL_BEGIN
typedef struct CGLShareGroupRec *CGLShareGroupObj OPENGL_AVAILABLE(10_6);
CGLShareGroupObj OPENGL_NULLABLE CGLGetShareGroup(CGLContextObj ctx) OPENGL_AVAILABLE(10_6);
typedef struct _cl_device_id * cl_device_id OPENGL_AVAILABLE(10_10);
/*
** CGLGetDeviceFromGLRenderer returns the cl_device_id corresponding to the
** specified GL renderer ID. Use CGLDescribeRenderer to check if the renderer
** supports kCGLRPAcceleratedCompute before calling this function. If there is
** no cl_device_id corresponding to the specified renderer ID, the result is
** undefined.
*/
cl_device_id CGLGetDeviceFromGLRenderer(GLint rendererID) OPENGL_AVAILABLE(10_10);
OPENGL_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif /* _CGLDEVICE_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/OpenGLAvailability.h | #ifndef _OpenGLAvailability_H
#define _OpenGLAvailability_H
#include <os/availability.h>
#ifdef GL_SILENCE_DEPRECATION
#define OPENGL_AVAILABLE(from)
#define OPENGL_DEPRECATED(from, to)
#define OPENGL_DEPRECATED_MSG(from, to, msg)
#else
#define OPENGL_AVAILABLE(from) API_AVAILABLE(macos(from))
#define OPENGL_DEPRECATED(from, to) API_DEPRECATED("OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)", macos(from, to))
#define OPENGL_DEPRECATED_MSG(from, to, msg) API_DEPRECATED("" #msg "", macos(from, to))
#endif
#define OPENGL_ENUM_AVAILABLE(from) OPENGL_AVAILABLE(from)
#define OPENGL_ENUM_DEPRECATED(from, to) OPENGL_DEPRECATED(from, to)
#define OPENGL_ENUM_DEPRECATED_MSG(from, to, msg) OPENGL_DEPRECATED_MSG(from, to, msg)
#endif
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/glext.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef __glext_h_
#define __glext_h_
#include <OpenGL/gltypes.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
** License Applicability. Except to the extent portions of this file are
** made subject to an alternative license as permitted in the SGI Free
** Software License B, Version 1.1 (the "License"), the contents of this
** file are subject only to the provisions of the License. You may not use
** this file except in compliance with the License. You may obtain a copy
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
**
** http://oss.sgi.com/projects/FreeB
**
** Note that, as provided in the License, the Software is distributed on an
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
**
** Original Code. The Original Code is: OpenGL Sample Implementation,
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
** Copyright in any portions created by third parties is as indicated
** elsewhere herein. All Rights Reserved.
**
** Additional Notice Provisions: This software was created using the
** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
** not been independently verified as being compliant with the OpenGL(R)
** version 1.2.1 Specification.
*/
/* switches to providing function pointers */
/* #define GL_GLEXT_FUNCTION_POINTERS 1 */
#define GL_ARB_color_buffer_float 1
#define GL_ARB_depth_buffer_float 1
#define GL_ARB_depth_clamp 1
#define GL_ARB_depth_texture 1
#define GL_ARB_draw_buffers 1
#define GL_ARB_draw_elements_base_vertex 1
#define GL_ARB_draw_instanced 1
#define GL_ARB_fragment_program 1
#define GL_ARB_fragment_program_shadow 1
#define GL_ARB_fragment_shader 1
#define GL_ARB_framebuffer_object 1
#define GL_ARB_framebuffer_sRGB 1
#define GL_ARB_half_float_pixel 1
#define GL_ARB_half_float_vertex 1
#define GL_ARB_imaging 1
#define GL_ARB_instanced_arrays 1
#define GL_ARB_multisample 1
#define GL_ARB_multitexture 1
#define GL_ARB_occlusion_query 1
#define GL_ARB_pixel_buffer_object 1
#define GL_ARB_point_parameters 1
#define GL_ARB_point_sprite 1
#define GL_ARB_provoking_vertex 1
#define GL_ARB_seamless_cube_map 1
#define GL_ARB_shader_objects 1
#define GL_ARB_shader_texture_lod 1
#define GL_ARB_shading_language_100 1
#define GL_ARB_shadow 1
#define GL_ARB_shadow_ambient 1
#define GL_ARB_sync 1
#define GL_ARB_texture_border_clamp 1
#define GL_ARB_texture_compression 1
#define GL_ARB_texture_compression_rgtc 1
#define GL_ARB_texture_cube_map 1
#define GL_ARB_texture_env_add 1
#define GL_ARB_texture_env_combine 1
#define GL_ARB_texture_env_crossbar 1
#define GL_ARB_texture_env_dot3 1
#define GL_ARB_texture_float 1
#define GL_ARB_texture_mirrored_repeat 1
#define GL_ARB_texture_non_power_of_two 1
#define GL_ARB_texture_rectangle 1
#define GL_ARB_texture_rg 1
#define GL_ARB_transpose_matrix 1
#define GL_ARB_vertex_array_bgra 1
#define GL_ARB_vertex_blend 1
#define GL_ARB_vertex_buffer_object 1
#define GL_ARB_vertex_program 1
#define GL_ARB_vertex_shader 1
#define GL_ARB_window_pos 1
#define GL_EXT_abgr 1
#define GL_EXT_bgra 1
#define GL_EXT_bindable_uniform 1
#define GL_EXT_blend_color 1
#define GL_EXT_blend_equation_separate 1
#define GL_EXT_blend_func_separate 1
#define GL_EXT_blend_minmax 1
#define GL_EXT_blend_subtract 1
#define GL_EXT_clip_volume_hint 1
#define GL_EXT_debug_label 1
#define GL_EXT_debug_marker 1
#define GL_EXT_depth_bounds_test 1
#define GL_EXT_draw_buffers2 1
#define GL_EXT_draw_range_elements 1
#define GL_EXT_fog_coord 1
#define GL_EXT_framebuffer_blit 1
#define GL_EXT_framebuffer_multisample 1
#define GL_EXT_framebuffer_multisample_blit_scaled 1
#define GL_EXT_framebuffer_object 1
#define GL_EXT_framebuffer_sRGB 1
#define GL_EXT_geometry_shader4 1
#define GL_EXT_gpu_program_parameters 1
#define GL_EXT_gpu_shader4 1
#define GL_EXT_multi_draw_arrays 1
#define GL_EXT_packed_depth_stencil 1
#define GL_EXT_packed_float 1
#define GL_EXT_provoking_vertex 1
#define GL_EXT_rescale_normal 1
#define GL_EXT_secondary_color 1
#define GL_EXT_separate_specular_color 1
#define GL_EXT_shadow_funcs 1
#define GL_EXT_stencil_two_side 1
#define GL_EXT_stencil_wrap 1
#define GL_EXT_texture_array 1
#define GL_EXT_texture_compression_dxt1 1
#define GL_EXT_texture_compression_s3tc 1
#define GL_EXT_texture_env_add 1
#define GL_EXT_texture_filter_anisotropic 1
#define GL_EXT_texture_integer 1
#define GL_EXT_texture_lod_bias 1
#define GL_EXT_texture_mirror_clamp 1
#define GL_EXT_texture_rectangle 1
#define GL_EXT_texture_shared_exponent 1
#define GL_EXT_texture_sRGB 1
#define GL_EXT_texture_sRGB_decode 1
#define GL_EXT_timer_query 1
#define GL_EXT_transform_feedback 1
#define GL_EXT_vertex_array_bgra 1
#define GL_APPLE_aux_depth_stencil 1
#define GL_APPLE_client_storage 1
#define GL_APPLE_element_array 1
#define GL_APPLE_fence 1
#define GL_APPLE_float_pixels 1
#define GL_APPLE_flush_buffer_range 1
#define GL_APPLE_flush_render 1
#define GL_APPLE_object_purgeable 1
#define GL_APPLE_packed_pixels 1
#define GL_APPLE_pixel_buffer 1
#define GL_APPLE_rgb_422 1
#define GL_APPLE_row_bytes 1
#define GL_APPLE_specular_vector 1
#define GL_APPLE_texture_range 1
#define GL_APPLE_transform_hint 1
#define GL_APPLE_vertex_array_object 1
#define GL_APPLE_vertex_array_range 1
#define GL_APPLE_vertex_point_size 1
#define GL_APPLE_vertex_program_evaluators 1
#define GL_APPLE_ycbcr_422 1
#define GL_ATI_blend_equation_separate 1
#define GL_ATI_blend_weighted_minmax 1
#define GL_ATI_separate_stencil 1
#define GL_ATI_texture_compression_3dc 1
#define GL_ATI_texture_env_combine3 1
#define GL_ATI_texture_float 1
#define GL_ATI_texture_mirror_once 1
#define GL_IBM_rasterpos_clip 1
#define GL_NV_blend_square 1
#define GL_NV_conditional_render 1
#define GL_NV_depth_clamp 1
#define GL_NV_fog_distance 1
#define GL_NV_fragment_program_option 1
#define GL_NV_fragment_program2 1
#define GL_NV_light_max_exponent 1
#define GL_NV_multisample_filter_hint 1
#define GL_NV_point_sprite 1
#define GL_NV_texgen_reflection 1
#define GL_NV_texture_barrier 1
#define GL_NV_vertex_program2_option 1
#define GL_NV_vertex_program3 1
#define GL_SGI_color_matrix 1
#define GL_SGIS_generate_mipmap 1
#define GL_SGIS_texture_edge_clamp 1
#define GL_SGIS_texture_lod 1
#ifdef GL_GLEXT_WUNDEF_SUPPORT
#define GL_EXT_color_subtable 0
#define GL_EXT_compiled_vertex_array 0
#define GL_EXT_convolution 0
#define GL_EXT_copy_texture 0
#define GL_EXT_histogram 0
#define GL_EXT_packed_pixels 0
#define GL_EXT_paletted_texture 0
#define GL_EXT_polygon_offset 0
#define GL_EXT_shared_texture_palette 0
#define GL_EXT_subtexture 0
#define GL_EXT_texture 0
#define GL_EXT_texture_cube_map 0
#define GL_EXT_texture_env_combine 0
#define GL_EXT_texture_object 0
#define GL_EXT_texture3D 0
#define GL_EXT_vertex_array 0
#define GL_ATI_array_rev_comps_in_4_bytes 0
#define GL_ATI_pn_triangles 0
#define GL_ATI_point_cull_mode 0
#define GL_ATI_text_fragment_shader 0
#define GL_ATIX_pn_triangles 0
#define GL_HP_convolution_border_modes 0
#define GL_NV_register_combiners 0
#define GL_NV_register_combiners2 0
#define GL_NV_texture_shader 0
#define GL_NV_texture_shader2 0
#define GL_NV_texture_shader3 0
#define GL_NV_vertex_array_range 0
#define GL_NV_vertex_array_range2 0
#define GL_NV_vertex_program 0
#define GL_SGI_color_table 0
#define GL_SGIS_point_parameters 0
#define GL_SGIS_texture_border_clamp 0
#define GL_SGIX_depth_texture 0
#endif
/*************************************************************/
#ifndef __gltypes_h_
#if GL_ARB_half_float_pixel
typedef unsigned short GLhalfARB;
#endif
#if GL_ARB_half_float_vertex
typedef unsigned short GLhalf;
#endif
#if GL_ARB_shader_objects
typedef char GLcharARB;
typedef void *GLhandleARB;
#endif
#if GL_ARB_sync
typedef int64_t GLint64;
typedef uint64_t GLuint64;
typedef struct __GLsync *GLsync;
#endif
#if GL_ARB_vertex_buffer_object
typedef long GLintptrARB;
typedef long GLsizeiptrARB;
#endif
#if GL_EXT_timer_query
typedef int64_t GLint64EXT;
typedef uint64_t GLuint64EXT;
#endif
#endif
/*************************************************************/
#define GL_GLEXT_VERSION 8
#if GL_ARB_color_buffer_float
#define GL_RGBA_FLOAT_MODE_ARB 0x8820
#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
#define GL_CLAMP_READ_COLOR_ARB 0x891C
#define GL_FIXED_ONLY_ARB 0x891D
#endif
#if GL_ARB_depth_buffer_float
#define GL_DEPTH_COMPONENT32F 0x8CAC
#define GL_DEPTH32F_STENCIL8 0x8CAD
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
#endif
#if GL_ARB_depth_clamp
#define GL_DEPTH_CLAMP 0x864F
#endif
#if GL_ARB_depth_texture
#define GL_DEPTH_COMPONENT16_ARB 0x81A5
#define GL_DEPTH_COMPONENT24_ARB 0x81A6
#define GL_DEPTH_COMPONENT32_ARB 0x81A7
#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
#endif
#if GL_ARB_draw_buffers
#define GL_MAX_DRAW_BUFFERS_ARB 0x8824
#define GL_DRAW_BUFFER0_ARB 0x8825
#define GL_DRAW_BUFFER1_ARB 0x8826
#define GL_DRAW_BUFFER2_ARB 0x8827
#define GL_DRAW_BUFFER3_ARB 0x8828
#define GL_DRAW_BUFFER4_ARB 0x8829
#define GL_DRAW_BUFFER5_ARB 0x882A
#define GL_DRAW_BUFFER6_ARB 0x882B
#define GL_DRAW_BUFFER7_ARB 0x882C
#define GL_DRAW_BUFFER8_ARB 0x882D
#define GL_DRAW_BUFFER9_ARB 0x882E
#define GL_DRAW_BUFFER10_ARB 0x882F
#define GL_DRAW_BUFFER11_ARB 0x8830
#define GL_DRAW_BUFFER12_ARB 0x8831
#define GL_DRAW_BUFFER13_ARB 0x8832
#define GL_DRAW_BUFFER14_ARB 0x8833
#define GL_DRAW_BUFFER15_ARB 0x8834
#endif
#if GL_ARB_fragment_program
#define GL_FRAGMENT_PROGRAM_ARB 0x8804
#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
#define GL_MAX_TEXTURE_COORDS_ARB 0x8871
#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
#endif
#if GL_ARB_fragment_shader
#define GL_FRAGMENT_SHADER_ARB 0x8B30
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
#define GL_MAX_TEXTURE_COORDS_ARB 0x8871
#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
#endif
#if GL_ARB_framebuffer_object
#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
#define GL_FRAMEBUFFER_DEFAULT 0x8218
#define GL_FRAMEBUFFER_UNDEFINED 0x8219
#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
#define GL_DEPTH_STENCIL 0x84F9
#define GL_UNSIGNED_INT_24_8 0x84FA
#define GL_DEPTH24_STENCIL8 0x88F0
#define GL_TEXTURE_STENCIL_SIZE 0x88F1
#define GL_TEXTURE_RED_TYPE 0x8C10
#define GL_TEXTURE_GREEN_TYPE 0x8C11
#define GL_TEXTURE_BLUE_TYPE 0x8C12
#define GL_TEXTURE_ALPHA_TYPE 0x8C13
#define GL_TEXTURE_DEPTH_TYPE 0x8C16
#define GL_UNSIGNED_NORMALIZED 0x8C17
#define GL_FRAMEBUFFER_BINDING 0x8CA6
#define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
#define GL_RENDERBUFFER_BINDING 0x8CA7
#define GL_READ_FRAMEBUFFER 0x8CA8
#define GL_DRAW_FRAMEBUFFER 0x8CA9
#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
#define GL_RENDERBUFFER_SAMPLES 0x8CAB
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
#define GL_FRAMEBUFFER_COMPLETE 0x8CD5
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
#define GL_COLOR_ATTACHMENT0 0x8CE0
#define GL_COLOR_ATTACHMENT1 0x8CE1
#define GL_COLOR_ATTACHMENT2 0x8CE2
#define GL_COLOR_ATTACHMENT3 0x8CE3
#define GL_COLOR_ATTACHMENT4 0x8CE4
#define GL_COLOR_ATTACHMENT5 0x8CE5
#define GL_COLOR_ATTACHMENT6 0x8CE6
#define GL_COLOR_ATTACHMENT7 0x8CE7
#define GL_COLOR_ATTACHMENT8 0x8CE8
#define GL_COLOR_ATTACHMENT9 0x8CE9
#define GL_COLOR_ATTACHMENT10 0x8CEA
#define GL_COLOR_ATTACHMENT11 0x8CEB
#define GL_COLOR_ATTACHMENT12 0x8CEC
#define GL_COLOR_ATTACHMENT13 0x8CED
#define GL_COLOR_ATTACHMENT14 0x8CEE
#define GL_COLOR_ATTACHMENT15 0x8CEF
#define GL_DEPTH_ATTACHMENT 0x8D00
#define GL_STENCIL_ATTACHMENT 0x8D20
#define GL_FRAMEBUFFER 0x8D40
#define GL_RENDERBUFFER 0x8D41
#define GL_RENDERBUFFER_WIDTH 0x8D42
#define GL_RENDERBUFFER_HEIGHT 0x8D43
#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
#define GL_STENCIL_INDEX1 0x8D46
#define GL_STENCIL_INDEX4 0x8D47
#define GL_STENCIL_INDEX8 0x8D48
#define GL_STENCIL_INDEX16 0x8D49
#define GL_RENDERBUFFER_RED_SIZE 0x8D50
#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
#define GL_MAX_SAMPLES 0x8D57
#endif
#if GL_ARB_framebuffer_sRGB
#define GL_FRAMEBUFFER_SRGB 0x8DB9
#endif
#if GL_ARB_half_float_pixel
#define GL_HALF_FLOAT_ARB 0x140B
#endif
#if GL_ARB_half_float_vertex
#define GL_HALF_FLOAT 0x140B
#endif
#if GL_ARB_instanced_arrays
#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
#endif
#if GL_ARB_multisample
#define GL_MULTISAMPLE_ARB 0x809D
#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
#define GL_SAMPLE_COVERAGE_ARB 0x80A0
#define GL_SAMPLE_BUFFERS_ARB 0x80A8
#define GL_SAMPLES_ARB 0x80A9
#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
#define GL_MULTISAMPLE_BIT_ARB 0x20000000
#endif
#if GL_ARB_multitexture
#define GL_TEXTURE0_ARB 0x84C0
#define GL_TEXTURE1_ARB 0x84C1
#define GL_TEXTURE2_ARB 0x84C2
#define GL_TEXTURE3_ARB 0x84C3
#define GL_TEXTURE4_ARB 0x84C4
#define GL_TEXTURE5_ARB 0x84C5
#define GL_TEXTURE6_ARB 0x84C6
#define GL_TEXTURE7_ARB 0x84C7
#define GL_TEXTURE8_ARB 0x84C8
#define GL_TEXTURE9_ARB 0x84C9
#define GL_TEXTURE10_ARB 0x84CA
#define GL_TEXTURE11_ARB 0x84CB
#define GL_TEXTURE12_ARB 0x84CC
#define GL_TEXTURE13_ARB 0x84CD
#define GL_TEXTURE14_ARB 0x84CE
#define GL_TEXTURE15_ARB 0x84CF
#define GL_TEXTURE16_ARB 0x84D0
#define GL_TEXTURE17_ARB 0x84D1
#define GL_TEXTURE18_ARB 0x84D2
#define GL_TEXTURE19_ARB 0x84D3
#define GL_TEXTURE20_ARB 0x84D4
#define GL_TEXTURE21_ARB 0x84D5
#define GL_TEXTURE22_ARB 0x84D6
#define GL_TEXTURE23_ARB 0x84D7
#define GL_TEXTURE24_ARB 0x84D8
#define GL_TEXTURE25_ARB 0x84D9
#define GL_TEXTURE26_ARB 0x84DA
#define GL_TEXTURE27_ARB 0x84DB
#define GL_TEXTURE28_ARB 0x84DC
#define GL_TEXTURE29_ARB 0x84DD
#define GL_TEXTURE30_ARB 0x84DE
#define GL_TEXTURE31_ARB 0x84DF
#define GL_ACTIVE_TEXTURE_ARB 0x84E0
#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
#endif
#if GL_ARB_occlusion_query
#define GL_SAMPLES_PASSED_ARB 0x8914
#define GL_QUERY_COUNTER_BITS_ARB 0x8864
#define GL_CURRENT_QUERY_ARB 0x8865
#define GL_QUERY_RESULT_ARB 0x8866
#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
#endif
#if GL_ARB_pixel_buffer_object
#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
#endif
#if GL_ARB_point_parameters
#define GL_POINT_SIZE_MIN_ARB 0x8126
#define GL_POINT_SIZE_MAX_ARB 0x8127
#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
#endif
#if GL_ARB_point_sprite
#define GL_POINT_SPRITE_ARB 0x8861
#define GL_COORD_REPLACE_ARB 0x8862
#endif
#if GL_ARB_provoking_vertex
#define GL_FIRST_VERTEX_CONVENTION 0x8E4D
#define GL_LAST_VERTEX_CONVENTION 0x8E4E
#define GL_PROVOKING_VERTEX 0x8E4F
#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
#endif
#if GL_ARB_seamless_cube_map
#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
#endif
#if GL_ARB_shader_objects
#define GL_PROGRAM_OBJECT_ARB 0x8B40
#define GL_OBJECT_TYPE_ARB 0x8B4E
#define GL_OBJECT_SUBTYPE_ARB 0x8B4F
#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
#define GL_OBJECT_LINK_STATUS_ARB 0x8B82
#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
#define GL_SHADER_OBJECT_ARB 0x8B48
#define GL_FLOAT_VEC2_ARB 0x8B50
#define GL_FLOAT_VEC3_ARB 0x8B51
#define GL_FLOAT_VEC4_ARB 0x8B52
#define GL_INT_VEC2_ARB 0x8B53
#define GL_INT_VEC3_ARB 0x8B54
#define GL_INT_VEC4_ARB 0x8B55
#define GL_BOOL_ARB 0x8B56
#define GL_BOOL_VEC2_ARB 0x8B57
#define GL_BOOL_VEC3_ARB 0x8B58
#define GL_BOOL_VEC4_ARB 0x8B59
#define GL_FLOAT_MAT2_ARB 0x8B5A
#define GL_FLOAT_MAT3_ARB 0x8B5B
#define GL_FLOAT_MAT4_ARB 0x8B5C
#define GL_SAMPLER_1D_ARB 0x8B5D
#define GL_SAMPLER_2D_ARB 0x8B5E
#define GL_SAMPLER_3D_ARB 0x8B5F
#define GL_SAMPLER_CUBE_ARB 0x8B60
#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
#define GL_SAMPLER_2D_RECT_ARB 0x8B63
#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
#endif
#if GL_ARB_shading_language_100
#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
#endif
#if GL_ARB_shadow
#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
#endif
#if GL_ARB_shadow_ambient
#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
#endif
#if GL_ARB_sync
#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
#define GL_OBJECT_TYPE 0x9112
#define GL_SYNC_CONDITION 0x9113
#define GL_SYNC_STATUS 0x9114
#define GL_SYNC_FLAGS 0x9115
#define GL_SYNC_FENCE 0x9116
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
#define GL_UNSIGNALED 0x9118
#define GL_SIGNALED 0x9119
#define GL_ALREADY_SIGNALED 0x911A
#define GL_TIMEOUT_EXPIRED 0x911B
#define GL_CONDITION_SATISFIED 0x911C
#define GL_WAIT_FAILED 0x911D
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
#endif
#if GL_ARB_texture_border_clamp
#define GL_CLAMP_TO_BORDER_ARB 0x812D
#endif
#if GL_ARB_texture_compression
#define GL_COMPRESSED_ALPHA_ARB 0x84E9
#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
#define GL_COMPRESSED_INTENSITY_ARB 0x84EC
#define GL_COMPRESSED_RGB_ARB 0x84ED
#define GL_COMPRESSED_RGBA_ARB 0x84EE
#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
#define GL_TEXTURE_COMPRESSED_ARB 0x86A1
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
#endif
#if GL_ARB_texture_compression_rgtc
#define GL_COMPRESSED_RED_RGTC1 0x8DBB
#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
#define GL_COMPRESSED_RG_RGTC2 0x8DBD
#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
#endif
#if GL_ARB_texture_cube_map
#define GL_NORMAL_MAP_ARB 0x8511
#define GL_REFLECTION_MAP_ARB 0x8512
#define GL_TEXTURE_CUBE_MAP_ARB 0x8513
#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
#endif
#if GL_ARB_texture_env_combine
#define GL_COMBINE_ARB 0x8570
#define GL_COMBINE_RGB_ARB 0x8571
#define GL_COMBINE_ALPHA_ARB 0x8572
#define GL_RGB_SCALE_ARB 0x8573
#define GL_ADD_SIGNED_ARB 0x8574
#define GL_INTERPOLATE_ARB 0x8575
#define GL_CONSTANT_ARB 0x8576
#define GL_PRIMARY_COLOR_ARB 0x8577
#define GL_PREVIOUS_ARB 0x8578
#define GL_SUBTRACT_ARB 0x84E7
#define GL_SOURCE0_RGB_ARB 0x8580
#define GL_SOURCE1_RGB_ARB 0x8581
#define GL_SOURCE2_RGB_ARB 0x8582
#define GL_SOURCE0_ALPHA_ARB 0x8588
#define GL_SOURCE1_ALPHA_ARB 0x8589
#define GL_SOURCE2_ALPHA_ARB 0x858A
#define GL_OPERAND0_RGB_ARB 0x8590
#define GL_OPERAND1_RGB_ARB 0x8591
#define GL_OPERAND2_RGB_ARB 0x8592
#define GL_OPERAND0_ALPHA_ARB 0x8598
#define GL_OPERAND1_ALPHA_ARB 0x8599
#define GL_OPERAND2_ALPHA_ARB 0x859A
#endif
#if GL_ARB_texture_env_dot3
#define GL_DOT3_RGB_ARB 0x86AE
#define GL_DOT3_RGBA_ARB 0x86AF
#endif
#if GL_ARB_texture_float
#define GL_TEXTURE_RED_TYPE_ARB 0x8C10
#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
#define GL_RGBA32F_ARB 0x8814
#define GL_RGB32F_ARB 0x8815
#define GL_ALPHA32F_ARB 0x8816
#define GL_INTENSITY32F_ARB 0x8817
#define GL_LUMINANCE32F_ARB 0x8818
#define GL_LUMINANCE_ALPHA32F_ARB 0x8819
#define GL_RGBA16F_ARB 0x881A
#define GL_RGB16F_ARB 0x881B
#define GL_ALPHA16F_ARB 0x881C
#define GL_INTENSITY16F_ARB 0x881D
#define GL_LUMINANCE16F_ARB 0x881E
#define GL_LUMINANCE_ALPHA16F_ARB 0x881F
#endif
#if GL_ARB_texture_mirrored_repeat
#define GL_MIRRORED_REPEAT_ARB 0x8370
#endif
#if GL_ARB_texture_rectangle
#define GL_TEXTURE_RECTANGLE_ARB 0x84F5
#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
#endif
#if GL_ARB_texture_rg
#define GL_COMPRESSED_RED 0x8225
#define GL_COMPRESSED_RG 0x8226
#define GL_RG 0x8227
#define GL_RG_INTEGER 0x8228
#define GL_R8 0x8229
#define GL_R16 0x822A
#define GL_RG8 0x822B
#define GL_RG16 0x822C
#define GL_R16F 0x822D
#define GL_R32F 0x822E
#define GL_RG16F 0x822F
#define GL_RG32F 0x8230
#define GL_R8I 0x8231
#define GL_R8UI 0x8232
#define GL_R16I 0x8233
#define GL_R16UI 0x8234
#define GL_R32I 0x8235
#define GL_R32UI 0x8236
#define GL_RG8I 0x8237
#define GL_RG8UI 0x8238
#define GL_RG16I 0x8239
#define GL_RG16UI 0x823A
#define GL_RG32I 0x823B
#define GL_RG32UI 0x823C
#endif
#if GL_ARB_transpose_matrix
#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
#endif
#if GL_ARB_vertex_blend
#define GL_MAX_VERTEX_UNITS_ARB 0x86A4
#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
#define GL_VERTEX_BLEND_ARB 0x86A7
#define GL_CURRENT_WEIGHT_ARB 0x86A8
#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
#define GL_WEIGHT_ARRAY_ARB 0x86AD
#define GL_MODELVIEW0_ARB 0x1700
#define GL_MODELVIEW1_ARB 0x850A
#define GL_MODELVIEW2_ARB 0x8722
#define GL_MODELVIEW3_ARB 0x8723
#define GL_MODELVIEW4_ARB 0x8724
#define GL_MODELVIEW5_ARB 0x8725
#define GL_MODELVIEW6_ARB 0x8726
#define GL_MODELVIEW7_ARB 0x8727
#define GL_MODELVIEW8_ARB 0x8728
#define GL_MODELVIEW9_ARB 0x8729
#define GL_MODELVIEW10_ARB 0x872A
#define GL_MODELVIEW11_ARB 0x872B
#define GL_MODELVIEW12_ARB 0x872C
#define GL_MODELVIEW13_ARB 0x872D
#define GL_MODELVIEW14_ARB 0x872E
#define GL_MODELVIEW15_ARB 0x872F
#define GL_MODELVIEW16_ARB 0x8730
#define GL_MODELVIEW17_ARB 0x8731
#define GL_MODELVIEW18_ARB 0x8732
#define GL_MODELVIEW19_ARB 0x8733
#define GL_MODELVIEW20_ARB 0x8734
#define GL_MODELVIEW21_ARB 0x8735
#define GL_MODELVIEW22_ARB 0x8736
#define GL_MODELVIEW23_ARB 0x8737
#define GL_MODELVIEW24_ARB 0x8738
#define GL_MODELVIEW25_ARB 0x8739
#define GL_MODELVIEW26_ARB 0x873A
#define GL_MODELVIEW27_ARB 0x873B
#define GL_MODELVIEW28_ARB 0x873C
#define GL_MODELVIEW29_ARB 0x873D
#define GL_MODELVIEW30_ARB 0x873E
#define GL_MODELVIEW31_ARB 0x873F
#endif
#if GL_ARB_vertex_buffer_object
#define GL_ARRAY_BUFFER_ARB 0x8892
#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING_ARB 0x889D
#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
#define GL_STREAM_DRAW_ARB 0x88E0
#define GL_STREAM_READ_ARB 0x88E1
#define GL_STREAM_COPY_ARB 0x88E2
#define GL_STATIC_DRAW_ARB 0x88E4
#define GL_STATIC_READ_ARB 0x88E5
#define GL_STATIC_COPY_ARB 0x88E6
#define GL_DYNAMIC_DRAW_ARB 0x88E8
#define GL_DYNAMIC_READ_ARB 0x88E9
#define GL_DYNAMIC_COPY_ARB 0x88EA
#define GL_READ_ONLY_ARB 0x88B8
#define GL_WRITE_ONLY_ARB 0x88B9
#define GL_READ_WRITE_ARB 0x88BA
#define GL_BUFFER_SIZE_ARB 0x8764
#define GL_BUFFER_USAGE_ARB 0x8765
#define GL_BUFFER_ACCESS_ARB 0x88BB
#define GL_BUFFER_MAPPED_ARB 0x88BC
#define GL_BUFFER_MAP_POINTER_ARB 0x88BD
/* Obsolete */
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
#endif
#if GL_ARB_vertex_program
#define GL_VERTEX_PROGRAM_ARB 0x8620
#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
#define GL_PROGRAM_LENGTH_ARB 0x8627
#define GL_PROGRAM_FORMAT_ARB 0x8876
#define GL_PROGRAM_NAME_ARB 0x8677
#define GL_PROGRAM_BINDING_ARB 0x8677
#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
#define GL_PROGRAM_PARAMETERS_ARB 0x88A8
#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
#define GL_PROGRAM_ATTRIBS_ARB 0x88AC
#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
#define GL_PROGRAM_STRING_ARB 0x8628
#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
#define GL_CURRENT_MATRIX_ARB 0x8641
#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
#define GL_PROGRAM_ERROR_STRING_ARB 0x8874
#define GL_MATRIX0_ARB 0x88C0
#define GL_MATRIX1_ARB 0x88C1
#define GL_MATRIX2_ARB 0x88C2
#define GL_MATRIX3_ARB 0x88C3
#define GL_MATRIX4_ARB 0x88C4
#define GL_MATRIX5_ARB 0x88C5
#define GL_MATRIX6_ARB 0x88C6
#define GL_MATRIX7_ARB 0x88C7
#define GL_MATRIX8_ARB 0x88C8
#define GL_MATRIX9_ARB 0x88C9
#define GL_MATRIX10_ARB 0x88CA
#define GL_MATRIX11_ARB 0x88CB
#define GL_MATRIX12_ARB 0x88CC
#define GL_MATRIX13_ARB 0x88CD
#define GL_MATRIX14_ARB 0x88CE
#define GL_MATRIX15_ARB 0x88CF
#define GL_MATRIX16_ARB 0x88D0
#define GL_MATRIX17_ARB 0x88D1
#define GL_MATRIX18_ARB 0x88D2
#define GL_MATRIX19_ARB 0x88D3
#define GL_MATRIX20_ARB 0x88D4
#define GL_MATRIX21_ARB 0x88D5
#define GL_MATRIX22_ARB 0x88D6
#define GL_MATRIX23_ARB 0x88D7
#define GL_MATRIX24_ARB 0x88D8
#define GL_MATRIX25_ARB 0x88D9
#define GL_MATRIX26_ARB 0x88DA
#define GL_MATRIX27_ARB 0x88DB
#define GL_MATRIX28_ARB 0x88DC
#define GL_MATRIX29_ARB 0x88DD
#define GL_MATRIX30_ARB 0x88DE
#define GL_MATRIX31_ARB 0x88DF
#define GL_COLOR_SUM_ARB 0x8458
#endif
#if GL_ARB_vertex_shader
#define GL_VERTEX_SHADER_ARB 0x8B31
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
#define GL_MAX_TEXTURE_COORDS_ARB 0x8871
#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
#endif
#if GL_ARB_vertex_shader || GL_NV_vertex_program3
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
#endif
#if GL_EXT_abgr
#define GL_ABGR_EXT 0x8000
#endif
#if GL_EXT_bgra
#define GL_BGR_EXT 0x80E0
#define GL_BGRA_EXT 0x80E1
#endif
#if GL_EXT_bindable_uniform
#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
#define GL_UNIFORM_BUFFER_EXT 0x8DEE
#endif
#if GL_EXT_blend_color
#define GL_CONSTANT_COLOR_EXT 0x8001
#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
#define GL_CONSTANT_ALPHA_EXT 0x8003
#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
#define GL_BLEND_COLOR_EXT 0x8005
#endif
#if GL_EXT_blend_equation_separate
#define GL_BLEND_EQUATION_RGB_EXT 0x8009
#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
#endif
#if GL_EXT_blend_func_separate
#define GL_BLEND_DST_RGB_EXT 0x80C8
#define GL_BLEND_SRC_RGB_EXT 0x80C9
#define GL_BLEND_DST_ALPHA_EXT 0x80CA
#define GL_BLEND_SRC_ALPHA_EXT 0x80CB
#endif
#if GL_EXT_blend_minmax
#define GL_FUNC_ADD_EXT 0x8006
#define GL_MIN_EXT 0x8007
#define GL_MAX_EXT 0x8008
#define GL_BLEND_EQUATION_EXT 0x8009
#endif
#if GL_EXT_blend_subtract
#define GL_FUNC_SUBTRACT_EXT 0x800A
#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
#endif
#if GL_EXT_clip_volume_hint
#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
#endif
#if GL_EXT_compiled_vertex_array
#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
#endif
#if GL_EXT_convolution
#define GL_CONVOLUTION_1D_EXT 0x8010
#define GL_CONVOLUTION_2D_EXT 0x8011
#define GL_SEPARABLE_2D_EXT 0x8012
#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
#define GL_REDUCE_EXT 0x8016
#define GL_CONVOLUTION_FORMAT_EXT 0x8017
#define GL_CONVOLUTION_WIDTH_EXT 0x8018
#define GL_CONVOLUTION_HEIGHT_EXT 0x8019
#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
#endif
#if GL_EXT_debug_label
#define GL_BUFFER_OBJECT_EXT 0x9151
#define GL_SHADER_OBJECT_EXT 0x8B48
#define GL_PROGRAM_OBJECT_EXT 0x8B40
#define GL_QUERY_OBJECT_EXT 0x9153
#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
#define GL_SAMPLER 0x82E6
#define GL_SYNC_OBJECT_APPLE 0x8A53
#endif
#if GL_EXT_depth_bounds_test
#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
#define GL_DEPTH_BOUNDS_EXT 0x8891
#endif
#if GL_EXT_draw_range_elements
#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
#endif
#if GL_EXT_fog_coord
#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
#define GL_FOG_COORDINATE_EXT 0x8451
#define GL_FRAGMENT_DEPTH_EXT 0x8452
#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
#endif
#if GL_EXT_framebuffer_blit
#define GL_READ_FRAMEBUFFER_EXT 0x8CA8
#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
#endif
#if GL_EXT_framebuffer_multisample
#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
#define GL_MAX_SAMPLES_EXT 0x8D57
#endif
#if GL_EXT_framebuffer_multisample_blit_scaled
#define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
#define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
#endif
#if GL_EXT_framebuffer_object
#define GL_FRAMEBUFFER_EXT 0x8D40
#define GL_RENDERBUFFER_EXT 0x8D41
#define GL_STENCIL_INDEX1_EXT 0x8D46
#define GL_STENCIL_INDEX4_EXT 0x8D47
#define GL_STENCIL_INDEX8_EXT 0x8D48
#define GL_STENCIL_INDEX16_EXT 0x8D49
#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
#define GL_DEPTH_ATTACHMENT_EXT 0x8D00
#define GL_STENCIL_ATTACHMENT_EXT 0x8D20
#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
#endif
#if GL_EXT_framebuffer_sRGB
#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
#endif
#if GL_EXT_geometry_shader4
#define GL_GEOMETRY_SHADER_EXT 0x8DD9
#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
#define GL_LINES_ADJACENCY_EXT 0xA
#define GL_LINE_STRIP_ADJACENCY_EXT 0xB
#define GL_TRIANGLES_ADJACENCY_EXT 0xC
#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
#define GL_PROGRAM_POINT_SIZE_EXT 0x8642
#endif
#if GL_EXT_gpu_shader4
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
#define GL_SAMPLER_BUFFER_EXT 0x8DC2
#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
#define GL_INT_SAMPLER_1D_EXT 0x8DC9
#define GL_INT_SAMPLER_2D_EXT 0x8DCA
#define GL_INT_SAMPLER_3D_EXT 0x8DCB
#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
#endif
#if GL_EXT_histogram
#define GL_HISTOGRAM_EXT 0x8024
#define GL_PROXY_HISTOGRAM_EXT 0x8025
#define GL_HISTOGRAM_WIDTH_EXT 0x8026
#define GL_HISTOGRAM_FORMAT_EXT 0x8027
#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
#define GL_HISTOGRAM_SINK_EXT 0x802D
#define GL_MINMAX_EXT 0x802E
#define GL_MINMAX_FORMAT_EXT 0x802F
#define GL_MINMAX_SINK_EXT 0x8030
#define GL_TABLE_TOO_LARGE_EXT 0x8031
#endif
#if GL_EXT_packed_depth_stencil
#define GL_DEPTH_STENCIL_EXT 0x84F9
#define GL_UNSIGNED_INT_24_8_EXT 0x84FA
#define GL_DEPTH24_STENCIL8_EXT 0x88F0
#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
#endif
#if GL_EXT_packed_float
#define GL_R11F_G11F_B10F_EXT 0x8C3A
#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
#endif
#if GL_EXT_packed_pixels
#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
#endif
#if GL_EXT_paletted_texture
#define GL_COLOR_INDEX1_EXT 0x80E2
#define GL_COLOR_INDEX2_EXT 0x80E3
#define GL_COLOR_INDEX4_EXT 0x80E4
#define GL_COLOR_INDEX8_EXT 0x80E5
#define GL_COLOR_INDEX12_EXT 0x80E6
#define GL_COLOR_INDEX16_EXT 0x80E7
#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
#endif
#if GL_EXT_polygon_offset
#define GL_POLYGON_OFFSET_EXT 0x8037
#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
#endif
#if GL_EXT_provoking_vertex
#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
#define GL_PROVOKING_VERTEX_EXT 0x8E4F
#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
#endif
#if GL_EXT_rescale_normal
#define GL_RESCALE_NORMAL_EXT 0x803A
#endif
#if GL_EXT_secondary_color
#define GL_COLOR_SUM_EXT 0x8458
#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
#endif
#if GL_EXT_separate_specular_color
#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
#define GL_SINGLE_COLOR_EXT 0x81F9
#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
#endif
#if GL_EXT_shared_texture_palette
#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
#endif
#if GL_EXT_stencil_two_side
#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
#endif
#if GL_EXT_stencil_wrap
#define GL_INCR_WRAP_EXT 0x8507
#define GL_DECR_WRAP_EXT 0x8508
#endif
#if GL_EXT_texture
#define GL_ALPHA4_EXT 0x803B
#define GL_ALPHA8_EXT 0x803C
#define GL_ALPHA12_EXT 0x803D
#define GL_ALPHA16_EXT 0x803E
#define GL_LUMINANCE4_EXT 0x803F
#define GL_LUMINANCE8_EXT 0x8040
#define GL_LUMINANCE12_EXT 0x8041
#define GL_LUMINANCE16_EXT 0x8042
#define GL_LUMINANCE4_ALPHA4_EXT 0x8043
#define GL_LUMINANCE6_ALPHA2_EXT 0x8044
#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
#define GL_LUMINANCE12_ALPHA4_EXT 0x8046
#define GL_LUMINANCE12_ALPHA12_EXT 0x8047
#define GL_LUMINANCE16_ALPHA16_EXT 0x8048
#define GL_INTENSITY_EXT 0x8049
#define GL_INTENSITY4_EXT 0x804A
#define GL_INTENSITY8_EXT 0x804B
#define GL_INTENSITY12_EXT 0x804C
#define GL_INTENSITY16_EXT 0x804D
#define GL_RGB2_EXT 0x804E
#define GL_RGB4_EXT 0x804F
#define GL_RGB5_EXT 0x8050
#define GL_RGB8_EXT 0x8051
#define GL_RGB10_EXT 0x8052
#define GL_RGB12_EXT 0x8053
#define GL_RGB16_EXT 0x8054
#define GL_RGBA2_EXT 0x8055
#define GL_RGBA4_EXT 0x8056
#define GL_RGB5_A1_EXT 0x8057
#define GL_RGBA8_EXT 0x8058
#define GL_RGB10_A2_EXT 0x8059
#define GL_RGBA12_EXT 0x805A
#define GL_RGBA16_EXT 0x805B
#define GL_TEXTURE_RED_SIZE_EXT 0x805C
#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
#define GL_REPLACE_EXT 0x8062
#define GL_PROXY_TEXTURE_1D_EXT 0x8063
#define GL_PROXY_TEXTURE_2D_EXT 0x8064
#define GL_TEXTURE_TOO_LARGE_EXT 0x8065
#endif
#if GL_EXT_texture3D
#define GL_PACK_SKIP_IMAGES_EXT 0x806B
#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
#define GL_TEXTURE_3D_EXT 0x806F
#define GL_PROXY_TEXTURE_3D_EXT 0x8070
#define GL_TEXTURE_DEPTH_EXT 0x8071
#define GL_TEXTURE_WRAP_R_EXT 0x8072
#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
#endif
#if GL_EXT_texture_array
#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
/* reuse GL_SAMPLER_1D_ARRAY_EXT */
/* reuse GL_SAMPLER_2D_ARRAY_EXT */
/* reuse GL_SAMPLER_1D_ARRAY_SHADOW_EXT */
/* reuse GL_SAMPLER_2D_ARRAY_SHADOW_EXT */
#endif
#if GL_EXT_texture_compression_s3tc
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
#endif
#if GL_EXT_texture_cube_map
#define GL_NORMAL_MAP_EXT 0x8511
#define GL_REFLECTION_MAP_EXT 0x8512
#define GL_TEXTURE_CUBE_MAP_EXT 0x8513
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
#endif
#if GL_EXT_texture_env_combine
#define GL_COMBINE_EXT 0x8570
#define GL_COMBINE_RGB_EXT 0x8571
#define GL_COMBINE_ALPHA_EXT 0x8572
#define GL_RGB_SCALE_EXT 0x8573
#define GL_ADD_SIGNED_EXT 0x8574
#define GL_INTERPOLATE_EXT 0x8575
#define GL_CONSTANT_EXT 0x8576
#define GL_PRIMARY_COLOR_EXT 0x8577
#define GL_PREVIOUS_EXT 0x8578
#define GL_SOURCE0_RGB_EXT 0x8580
#define GL_SOURCE1_RGB_EXT 0x8581
#define GL_SOURCE2_RGB_EXT 0x8582
#define GL_SOURCE0_ALPHA_EXT 0x8588
#define GL_SOURCE1_ALPHA_EXT 0x8589
#define GL_SOURCE2_ALPHA_EXT 0x858A
#define GL_OPERAND0_RGB_EXT 0x8590
#define GL_OPERAND1_RGB_EXT 0x8591
#define GL_OPERAND2_RGB_EXT 0x8592
#define GL_OPERAND0_ALPHA_EXT 0x8598
#define GL_OPERAND1_ALPHA_EXT 0x8599
#define GL_OPERAND2_ALPHA_EXT 0x859A
#endif
#if GL_EXT_texture_filter_anisotropic
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
#endif
#if GL_EXT_texture_integer
#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
#define GL_RGBA32UI_EXT 0x8D70
#define GL_RGB32UI_EXT 0x8D71
#define GL_ALPHA32UI_EXT 0x8D72
#define GL_INTENSITY32UI_EXT 0x8D73
#define GL_LUMINANCE32UI_EXT 0x8D74
#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
#define GL_RGBA16UI_EXT 0x8D76
#define GL_RGB16UI_EXT 0x8D77
#define GL_ALPHA16UI_EXT 0x8D78
#define GL_INTENSITY16UI_EXT 0x8D79
#define GL_LUMINANCE16UI_EXT 0x8D7A
#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
#define GL_RGBA8UI_EXT 0x8D7C
#define GL_RGB8UI_EXT 0x8D7D
#define GL_ALPHA8UI_EXT 0x8D7E
#define GL_INTENSITY8UI_EXT 0x8D7F
#define GL_LUMINANCE8UI_EXT 0x8D80
#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
#define GL_RGBA32I_EXT 0x8D82
#define GL_RGB32I_EXT 0x8D83
#define GL_ALPHA32I_EXT 0x8D84
#define GL_INTENSITY32I_EXT 0x8D85
#define GL_LUMINANCE32I_EXT 0x8D86
#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
#define GL_RGBA16I_EXT 0x8D88
#define GL_RGB16I_EXT 0x8D89
#define GL_ALPHA16I_EXT 0x8D8A
#define GL_INTENSITY16I_EXT 0x8D8B
#define GL_LUMINANCE16I_EXT 0x8D8C
#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
#define GL_RGBA8I_EXT 0x8D8E
#define GL_RGB8I_EXT 0x8D8F
#define GL_ALPHA8I_EXT 0x8D90
#define GL_INTENSITY8I_EXT 0x8D91
#define GL_LUMINANCE8I_EXT 0x8D92
#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
#define GL_RED_INTEGER_EXT 0x8D94
#define GL_GREEN_INTEGER_EXT 0x8D95
#define GL_BLUE_INTEGER_EXT 0x8D96
#define GL_ALPHA_INTEGER_EXT 0x8D97
#define GL_RGB_INTEGER_EXT 0x8D98
#define GL_RGBA_INTEGER_EXT 0x8D99
#define GL_BGR_INTEGER_EXT 0x8D9A
#define GL_BGRA_INTEGER_EXT 0x8D9B
#define GL_LUMINANCE_INTEGER_EXT 0x8D9C
#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
#endif
#if GL_EXT_texture_lod_bias
#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
#define GL_TEXTURE_LOD_BIAS_EXT 0x8501
#endif
#if GL_EXT_texture_mirror_clamp
#define GL_MIRROR_CLAMP_EXT 0x8742
#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
#endif
#if GL_EXT_texture_object
#define GL_TEXTURE_PRIORITY_EXT 0x8066
#define GL_TEXTURE_RESIDENT_EXT 0x8067
#define GL_TEXTURE_1D_BINDING_EXT 0x8068
#define GL_TEXTURE_2D_BINDING_EXT 0x8069
#define GL_TEXTURE_3D_BINDING_EXT 0x806A
#endif
#if GL_EXT_texture_rectangle
#define GL_TEXTURE_RECTANGLE_EXT 0x84F5
#define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6
#define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8
#endif
#if GL_EXT_texture_shared_exponent
#define GL_RGB9_E5_EXT 0x8C3D
#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
#endif
#if GL_EXT_texture_sRGB
#define GL_SRGB_EXT 0x8C40
#define GL_SRGB8_EXT 0x8C41
#define GL_SRGB_ALPHA_EXT 0x8C42
#define GL_SRGB8_ALPHA8_EXT 0x8C43
#define GL_SLUMINANCE_ALPHA_EXT 0x8C44
#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
#define GL_SLUMINANCE_EXT 0x8C46
#define GL_SLUMINANCE8_EXT 0x8C47
#define GL_COMPRESSED_SRGB_EXT 0x8C48
#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
#endif
#if GL_EXT_texture_sRGB_decode
#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
#define GL_DECODE_EXT 0x8A49
#define GL_SKIP_DECODE_EXT 0x8A4A
#endif
#if GL_EXT_timer_query
#define GL_TIME_ELAPSED_EXT 0x88BF
#endif
#if GL_EXT_transform_feedback
#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
#define GL_PRIMITIVES_GENERATED_EXT 0x8C87
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
#define GL_RASTERIZER_DISCARD_EXT 0x8C89
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
#endif
#if GL_EXT_vertex_array
#define GL_VERTEX_ARRAY_EXT 0x8074
#define GL_NORMAL_ARRAY_EXT 0x8075
#define GL_COLOR_ARRAY_EXT 0x8076
#define GL_INDEX_ARRAY_EXT 0x8077
#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
#define GL_EDGE_FLAG_ARRAY_EXT 0x8079
#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
#define GL_COLOR_ARRAY_SIZE_EXT 0x8081
#define GL_COLOR_ARRAY_TYPE_EXT 0x8082
#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
#define GL_COLOR_ARRAY_COUNT_EXT 0x8084
#define GL_INDEX_ARRAY_TYPE_EXT 0x8085
#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
#define GL_INDEX_ARRAY_COUNT_EXT 0x8087
#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
#define GL_COLOR_ARRAY_POINTER_EXT 0x8090
#define GL_INDEX_ARRAY_POINTER_EXT 0x8091
#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
#endif
#if GL_APPLE_aux_depth_stencil
#define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
#endif
#if GL_APPLE_client_storage
#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
#endif
#if GL_APPLE_element_array
#define GL_ELEMENT_ARRAY_APPLE 0x8A0C
#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
#endif
#if GL_APPLE_fence
#define GL_DRAW_PIXELS_APPLE 0x8A0A
#define GL_FENCE_APPLE 0x8A0B
#define GL_BUFFER_OBJECT_APPLE 0x85B3
#endif
#if GL_APPLE_float_pixels
#define GL_HALF_APPLE 0x140B
#define GL_COLOR_FLOAT_APPLE 0x8A0F
#define GL_RGBA_FLOAT32_APPLE 0x8814
#define GL_RGB_FLOAT32_APPLE 0x8815
#define GL_ALPHA_FLOAT32_APPLE 0x8816
#define GL_INTENSITY_FLOAT32_APPLE 0x8817
#define GL_LUMINANCE_FLOAT32_APPLE 0x8818
#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
#define GL_RGBA_FLOAT16_APPLE 0x881A
#define GL_RGB_FLOAT16_APPLE 0x881B
#define GL_ALPHA_FLOAT16_APPLE 0x881C
#define GL_INTENSITY_FLOAT16_APPLE 0x881D
#define GL_LUMINANCE_FLOAT16_APPLE 0x881E
#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
#endif
#if GL_APPLE_flush_buffer_range
#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
#endif
#if GL_APPLE_object_purgeable
#define GL_RELEASED_APPLE 0x8A19
#define GL_VOLATILE_APPLE 0x8A1A
#define GL_RETAINED_APPLE 0x8A1B
#define GL_UNDEFINED_APPLE 0x8A1C
#define GL_PURGEABLE_APPLE 0x8A1D
#endif
#if GL_APPLE_pixel_buffer
#define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
#endif
#if GL_APPLE_rgb_422
#define GL_RGB_422_APPLE 0x8A1F
#endif
#if GL_APPLE_row_bytes
#define GL_PACK_ROW_BYTES_APPLE 0x8A15
#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
#define GL_PACK_IMAGE_BYTES_APPLE 0x8A17
#define GL_UNPACK_IMAGE_BYTES_APPLE 0x8A18
#endif
#if GL_APPLE_specular_vector
#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
#endif
#if GL_APPLE_texture_range
#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
#define GL_TEXTURE_MINIMIZE_STORAGE_APPLE 0x85B6
#define GL_STORAGE_PRIVATE_APPLE 0x85BD
#define GL_STORAGE_CACHED_APPLE 0x85BE
#define GL_STORAGE_SHARED_APPLE 0x85BF
#endif
#if GL_APPLE_transform_hint
#define GL_TRANSFORM_HINT_APPLE 0x85B1
#endif
#if GL_APPLE_vertex_array_object
#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
#endif
#if GL_APPLE_vertex_array_range
#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520
#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
#define GL_STORAGE_CLIENT_APPLE 0x85B4
#define GL_STORAGE_PRIVATE_APPLE 0x85BD
#define GL_STORAGE_CACHED_APPLE 0x85BE
#define GL_STORAGE_SHARED_APPLE 0x85BF
#endif
#if GL_APPLE_vertex_point_size
#define GL_VERTEX_POINT_SIZE_APPLE 0x8A26
#define GL_CURRENT_POINT_SIZE_APPLE 0x8A27
#define GL_POINT_SIZE_ARRAY_APPLE 0x8B9C
#define GL_POINT_SIZE_ARRAY_TYPE_APPLE 0x898A
#define GL_POINT_SIZE_ARRAY_STRIDE_APPLE 0x898B
#define GL_POINT_SIZE_ARRAY_POINTER_APPLE 0x898C
#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_APPLE 0x8B9F
#endif
#if GL_APPLE_vertex_program_evaluators
#define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
#define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
#endif
#if GL_APPLE_ycbcr_422
#define GL_YCBCR_422_APPLE 0x85B9
#endif
#if GL_APPLE_ycbcr_422 || GL_APPLE_rgb_422
#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
#endif
#if GL_ATI_array_rev_comps_in_4_bytes
#define GL_ARRAY_REV_COMPS_IN_4_BYTES_ATI 0x897C
#endif
#if GL_ATI_blend_equation_separate
#define GL_ALPHA_BLEND_EQUATION_ATI 0x883D
#endif
#if GL_ATI_blend_weighted_minmax
#define GL_MIN_WEIGHTED_ATI 0x877D
#define GL_MAX_WEIGHTED_ATI 0x877E
#endif
#if GL_ATI_pn_triangles
#define GL_PN_TRIANGLES_ATI 0x6090
#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x6091
#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x6092
#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x6093
#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x6094
#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x6095
#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x6096
#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x6097
#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x6098
#endif
#if GL_ATI_point_cull_mode
#define GL_POINT_CULL_MODE_ATI 0x60B3
#define GL_POINT_CULL_CENTER_ATI 0x60B4
#define GL_POINT_CULL_CLIP_ATI 0x60B5
#endif
#if GL_ATI_separate_stencil
#define GL_STENCIL_BACK_FUNC_ATI 0x8800
#define GL_STENCIL_BACK_FAIL_ATI 0x8801
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
#endif
#if GL_ATI_text_fragment_shader
#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
#endif
#if GL_ATI_texture_compression_3dc
#define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837
#endif
#if GL_ATI_texture_env_combine3
#define GL_MODULATE_ADD_ATI 0x8744
#define GL_MODULATE_SIGNED_ADD_ATI 0x8745
#define GL_MODULATE_SUBTRACT_ATI 0x8746
#endif
#if GL_ATI_texture_float
#define GL_RGBA_FLOAT32_ATI 0x8814
#define GL_RGB_FLOAT32_ATI 0x8815
#define GL_ALPHA_FLOAT32_ATI 0x8816
#define GL_INTENSITY_FLOAT32_ATI 0x8817
#define GL_LUMINANCE_FLOAT32_ATI 0x8818
#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
#define GL_RGBA_FLOAT16_ATI 0x881A
#define GL_RGB_FLOAT16_ATI 0x881B
#define GL_ALPHA_FLOAT16_ATI 0x881C
#define GL_INTENSITY_FLOAT16_ATI 0x881D
#define GL_LUMINANCE_FLOAT16_ATI 0x881E
#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
#endif
#if GL_ATI_texture_mirror_once
#define GL_MIRROR_CLAMP_ATI 0x8742
#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
#endif
#if GL_ATIX_pn_triangles
#define GL_PN_TRIANGLES_ATIX 0x6090
#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6091
#define GL_PN_TRIANGLES_POINT_MODE_ATIX 0x6092
#define GL_PN_TRIANGLES_NORMAL_MODE_ATIX 0x6093
#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6094
#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATIX 0x6095
#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATIX 0x6096
#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATIX 0x6097
#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATIX 0x6098
#endif
#if GL_HP_convolution_border_modes
#define GL_IGNORE_BORDER_HP 0x8150
#define GL_CONSTANT_BORDER_HP 0x8151
#define GL_REPLICATE_BORDER_HP 0x8153
#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
#endif
#if GL_IBM_rasterpos_clip
#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
#endif
#if GL_NV_conditional_render
#define GL_QUERY_WAIT_NV 0x8E13
#define GL_QUERY_NO_WAIT_NV 0x8E14
#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
#endif
#if GL_NV_depth_clamp
#define GL_DEPTH_CLAMP_NV 0x864F
#endif
#if GL_NV_fog_distance
#define GL_FOG_DISTANCE_MODE_NV 0x855A
#define GL_EYE_RADIAL_NV 0x855B
#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
/* reuse GL_EYE_PLANE */
#endif
#if GL_NV_fragment_program2
#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
#endif
#if GL_NV_fragment_program2 || GL_NV_vertex_program2_option
#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
#endif
#if GL_NV_light_max_exponent
#define GL_MAX_SHININESS_NV 0x8504
#define GL_MAX_SPOT_EXPONENT_NV 0x8505
#endif
#if GL_NV_multisample_filter_hint
#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
#endif
#if GL_NV_point_sprite
#define GL_POINT_SPRITE_NV 0x8861
#define GL_COORD_REPLACE_NV 0x8862
#define GL_POINT_SPRITE_R_MODE_NV 0x8863
#endif
#if GL_NV_register_combiners
#define GL_REGISTER_COMBINERS_NV 0x8522
#define GL_VARIABLE_A_NV 0x8523
#define GL_VARIABLE_B_NV 0x8524
#define GL_VARIABLE_C_NV 0x8525
#define GL_VARIABLE_D_NV 0x8526
#define GL_VARIABLE_E_NV 0x8527
#define GL_VARIABLE_F_NV 0x8528
#define GL_VARIABLE_G_NV 0x8529
#define GL_CONSTANT_COLOR0_NV 0x852A
#define GL_CONSTANT_COLOR1_NV 0x852B
#define GL_PRIMARY_COLOR_NV 0x852C
#define GL_SECONDARY_COLOR_NV 0x852D
#define GL_SPARE0_NV 0x852E
#define GL_SPARE1_NV 0x852F
#define GL_DISCARD_NV 0x8530
#define GL_E_TIMES_F_NV 0x8531
#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
#define GL_UNSIGNED_IDENTITY_NV 0x8536
#define GL_UNSIGNED_INVERT_NV 0x8537
#define GL_EXPAND_NORMAL_NV 0x8538
#define GL_EXPAND_NEGATE_NV 0x8539
#define GL_HALF_BIAS_NORMAL_NV 0x853A
#define GL_HALF_BIAS_NEGATE_NV 0x853B
#define GL_SIGNED_IDENTITY_NV 0x853C
#define GL_SIGNED_NEGATE_NV 0x853D
#define GL_SCALE_BY_TWO_NV 0x853E
#define GL_SCALE_BY_FOUR_NV 0x853F
#define GL_SCALE_BY_ONE_HALF_NV 0x8540
#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
#define GL_COMBINER_INPUT_NV 0x8542
#define GL_COMBINER_MAPPING_NV 0x8543
#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
#define GL_COMBINER_MUX_SUM_NV 0x8547
#define GL_COMBINER_SCALE_NV 0x8548
#define GL_COMBINER_BIAS_NV 0x8549
#define GL_COMBINER_AB_OUTPUT_NV 0x854A
#define GL_COMBINER_CD_OUTPUT_NV 0x854B
#define GL_COMBINER_SUM_OUTPUT_NV 0x854C
#define GL_MAX_GENERAL_COMBINERS_NV 0x854D
#define GL_NUM_GENERAL_COMBINERS_NV 0x854E
#define GL_COLOR_SUM_CLAMP_NV 0x854F
#define GL_COMBINER0_NV 0x8550
#define GL_COMBINER1_NV 0x8551
#define GL_COMBINER2_NV 0x8552
#define GL_COMBINER3_NV 0x8553
#define GL_COMBINER4_NV 0x8554
#define GL_COMBINER5_NV 0x8555
#define GL_COMBINER6_NV 0x8556
#define GL_COMBINER7_NV 0x8557
/* reuse GL_TEXTURE0_ARB */
/* reuse GL_TEXTURE1_ARB */
/* reuse GL_ZERO */
/* reuse GL_NONE */
/* reuse GL_FOG */
#endif
#if GL_NV_register_combiners2
#define GL_PER_STAGE_CONSTANTS_NV 0x8535
#endif
#if GL_NV_texgen_reflection
#define GL_NORMAL_MAP_NV 0x8511
#define GL_REFLECTION_MAP_NV 0x8512
#endif
#if GL_NV_texture_shader
#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
#define GL_DSDT_MAG_INTENSITY_NV 0x86DC
#define GL_TEXTURE_SHADER_NV 0x86DE
#define GL_SHADER_OPERATION_NV 0x86DF
#define GL_CULL_MODES_NV 0x86E0
#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
#define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
#define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
#define GL_CONST_EYE_NV 0x86E5
#define GL_SHADER_CONSISTENT_NV 0x86DD
#define GL_PASS_THROUGH_NV 0x86E6
#define GL_CULL_FRAGMENT_NV 0x86E7
#define GL_OFFSET_TEXTURE_2D_NV 0x86E8
#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
#define GL_DOT_PRODUCT_NV 0x86EC
#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
#define GL_HILO_NV 0x86F4
#define GL_DSDT_NV 0x86F5
#define GL_DSDT_MAG_NV 0x86F6
#define GL_DSDT_MAG_VIB_NV 0x86F7
#define GL_HILO16_NV 0x86F8
#define GL_SIGNED_HILO_NV 0x86F9
#define GL_SIGNED_HILO16_NV 0x86FA
#define GL_SIGNED_RGBA_NV 0x86FB
#define GL_SIGNED_RGBA8_NV 0x86FC
#define GL_SIGNED_RGB_NV 0x86FE
#define GL_SIGNED_RGB8_NV 0x86FF
#define GL_SIGNED_LUMINANCE_NV 0x8701
#define GL_SIGNED_LUMINANCE8_NV 0x8702
#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
#define GL_SIGNED_ALPHA_NV 0x8705
#define GL_SIGNED_ALPHA8_NV 0x8706
#define GL_SIGNED_INTENSITY_NV 0x8707
#define GL_SIGNED_INTENSITY8_NV 0x8708
#define GL_DSDT8_NV 0x8709
#define GL_DSDT8_MAG8_NV 0x870A
#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
#define GL_HI_SCALE_NV 0x870E
#define GL_LO_SCALE_NV 0x870F
#define GL_DS_SCALE_NV 0x8710
#define GL_DT_SCALE_NV 0x8711
#define GL_MAGNITUDE_SCALE_NV 0x8712
#define GL_VIBRANCE_SCALE_NV 0x8713
#define GL_HI_BIAS_NV 0x8714
#define GL_LO_BIAS_NV 0x8715
#define GL_DS_BIAS_NV 0x8716
#define GL_DT_BIAS_NV 0x8717
#define GL_MAGNITUDE_BIAS_NV 0x8718
#define GL_VIBRANCE_BIAS_NV 0x8719
#define GL_TEXTURE_BORDER_VALUES_NV 0x871A
#define GL_TEXTURE_HI_SIZE_NV 0x871B
#define GL_TEXTURE_LO_SIZE_NV 0x871C
#define GL_TEXTURE_DS_SIZE_NV 0x871D
#define GL_TEXTURE_DT_SIZE_NV 0x871E
#define GL_TEXTURE_MAG_SIZE_NV 0x871F
#endif
#if GL_NV_texture_shader2
#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
#endif
#if GL_NV_texture_shader3
#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
#define GL_HILO8_NV 0x885E
#define GL_SIGNED_HILO8_NV 0x885F
#define GL_FORCE_BLUE_TO_ONE_NV 0x8860
#endif
#if GL_NV_vertex_array_range
#define GL_VERTEX_ARRAY_RANGE_NV 0x851D
#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
#endif
#if GL_NV_vertex_array_range2
#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
#endif
#if GL_NV_vertex_program
#define GL_VERTEX_PROGRAM_NV 0x8620
#define GL_VERTEX_STATE_PROGRAM_NV 0x8621
#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
#define GL_CURRENT_ATTRIB_NV 0x8626
#define GL_PROGRAM_LENGTH_NV 0x8627
#define GL_PROGRAM_STRING_NV 0x8628
#define GL_MODELVIEW_PROJECTION_NV 0x8629
#define GL_IDENTITY_NV 0x862A
#define GL_INVERSE_NV 0x862B
#define GL_TRANSPOSE_NV 0x862C
#define GL_INVERSE_TRANSPOSE_NV 0x862D
#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
#define GL_MAX_TRACK_MATRICES_NV 0x862F
#define GL_MATRIX0_NV 0x8630
#define GL_MATRIX1_NV 0x8631
#define GL_MATRIX2_NV 0x8632
#define GL_MATRIX3_NV 0x8633
#define GL_MATRIX4_NV 0x8634
#define GL_MATRIX5_NV 0x8635
#define GL_MATRIX6_NV 0x8636
#define GL_MATRIX7_NV 0x8637
#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
#define GL_CURRENT_MATRIX_NV 0x8641
#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
#define GL_PROGRAM_PARAMETER_NV 0x8644
#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
#define GL_PROGRAM_TARGET_NV 0x8646
#define GL_PROGRAM_RESIDENT_NV 0x8647
#define GL_TRACK_MATRIX_NV 0x8648
#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
#define GL_PROGRAM_ERROR_POSITION_NV 0x864B
#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
#endif
#if GL_SGI_color_matrix
#define GL_COLOR_MATRIX_SGI 0x80B1
#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
#endif
#if GL_SGI_color_table
#define GL_COLOR_TABLE_SGI 0x80D0
#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
#define GL_PROXY_COLOR_TABLE_SGI 0x80D3
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
#define GL_COLOR_TABLE_SCALE_SGI 0x80D6
#define GL_COLOR_TABLE_BIAS_SGI 0x80D7
#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
#endif
#if GL_SGIS_generate_mipmap
#define GL_GENERATE_MIPMAP_SGIS 0x8191
#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
#endif
#if GL_SGIS_point_parameters
#define GL_POINT_SIZE_MIN_SGIS 0x8126
#define GL_POINT_SIZE_MAX_SGIS 0x8127
#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
#define GL_DISTANCE_ATTENUATION_SGIS 0x8129
#endif
#if GL_SGIS_texture_edge_clamp
#define GL_CLAMP_TO_EDGE_SGIS 0x812F
#endif
#if GL_SGIS_texture_border_clamp
#define GL_CLAMP_TO_BORDER_SGIS 0x812D
#endif
#if GL_SGIS_texture_lod
#define GL_TEXTURE_MIN_LOD_SGIS 0x813A
#define GL_TEXTURE_MAX_LOD_SGIS 0x813B
#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
#endif
#if GL_SGIX_depth_texture
#define GL_DEPTH_COMPONENT16_SGIX 0x81A5
#define GL_DEPTH_COMPONENT24_SGIX 0x81A6
#define GL_DEPTH_COMPONENT32_SGIX 0x81A7
#endif
/*************************************************************/
#if GL_ARB_color_buffer_float
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glClampColorARBProcPtr) (GLenum target, GLenum clamp);
#else
extern void glClampColorARB(GLenum target, GLenum clamp);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_draw_buffers
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glDrawBuffersARBProcPtr) (GLsizei n, const GLenum *bufs);
#else
extern void glDrawBuffersARB(GLsizei n, const GLenum *bufs);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_draw_elements_base_vertex
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glDrawElementsBaseVertexProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex);
typedef void (* glDrawRangeElementsBaseVertexProcPtr) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex);
typedef void (* glDrawElementsInstancedBaseVertexProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint base_vertex);
typedef void (* glMultiDrawElementsBaseVertexProcPtr) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *base_vertex);
#else
extern void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex);
extern void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex);
extern void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint base_vertex);
extern void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *base_vertex);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_draw_instanced
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glDrawArraysInstancedARBProcPtr) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
typedef void (* glDrawElementsInstancedARBProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
#else
extern void glDrawArraysInstancedARB(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
extern void glDrawElementsInstancedARB(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_framebuffer_object
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef GLboolean (* glIsRenderbufferProcPtr) (GLuint renderbuffer);
typedef void (* glBindRenderbufferProcPtr) (GLenum target, GLuint renderbuffer);
typedef void (* glDeleteRenderbuffersProcPtr) (GLsizei n, const GLuint *renderbuffers);
typedef void (* glGenRenderbuffersProcPtr) (GLsizei n, GLuint *renderbuffers);
typedef void (* glRenderbufferStorageProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
typedef void (* glGetRenderbufferParameterivProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef GLboolean (* glIsFramebufferProcPtr) (GLuint framebuffer);
typedef void (* glBindFramebufferProcPtr) (GLenum target, GLuint framebuffer);
typedef void (* glDeleteFramebuffersProcPtr) (GLsizei n, const GLuint *framebuffers);
typedef void (* glGenFramebuffersProcPtr) (GLsizei n, GLuint *framebuffers);
typedef GLenum (* glCheckFramebufferStatusProcPtr) (GLenum target);
typedef void (* glFramebufferTexture1DProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
typedef void (* glFramebufferTexture2DProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
typedef void (* glFramebufferTexture3DProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
typedef void (* glFramebufferRenderbufferProcPtr) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
typedef void (* glGetFramebufferAttachmentParameterivProcPtr) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
typedef void (* glGenerateMipmapProcPtr) (GLenum target);
typedef void (* glBlitFramebufferProcPtr) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
typedef void (* glRenderbufferStorageMultisampleProcPtr) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
typedef void (* glFramebufferTextureLayerProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
#else
extern GLboolean glIsRenderbuffer(GLuint renderbuffer);
extern void glBindRenderbuffer(GLenum target, GLuint renderbuffer);
extern void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
extern void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
extern void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
extern void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
extern GLboolean glIsFramebuffer(GLuint framebuffer);
extern void glBindFramebuffer(GLenum target, GLuint framebuffer);
extern void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
extern void glGenFramebuffers(GLsizei n, GLuint *framebuffers);
extern GLenum glCheckFramebufferStatus(GLenum target);
extern void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
extern void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
extern void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
extern void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
extern void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params);
extern void glGenerateMipmap(GLenum target);
extern void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
extern void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
extern void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_instanced_arrays
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glVertexAttribDivisorARBProcPtr) (GLuint index, GLuint divisor);
#else
extern void glVertexAttribDivisorARB(GLuint index, GLuint divisor);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_multisample
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glSampleCoverageARBProcPtr) (GLclampf value, GLboolean invert);
#else
extern void glSampleCoverageARB(GLclampf value, GLboolean invert);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_multitexture
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glActiveTextureARBProcPtr) (GLenum texture);
typedef void (* glClientActiveTextureARBProcPtr) (GLenum texture);
typedef void (* glMultiTexCoord1dARBProcPtr) (GLenum target, GLdouble s);
typedef void (* glMultiTexCoord1dvARBProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord1fARBProcPtr) (GLenum target, GLfloat s);
typedef void (* glMultiTexCoord1fvARBProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord1iARBProcPtr) (GLenum target, GLint s);
typedef void (* glMultiTexCoord1ivARBProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord1sARBProcPtr) (GLenum target, GLshort s);
typedef void (* glMultiTexCoord1svARBProcPtr) (GLenum target, const GLshort *v);
typedef void (* glMultiTexCoord2dARBProcPtr) (GLenum target, GLdouble s, GLdouble t);
typedef void (* glMultiTexCoord2dvARBProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord2fARBProcPtr) (GLenum target, GLfloat s, GLfloat t);
typedef void (* glMultiTexCoord2fvARBProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord2iARBProcPtr) (GLenum target, GLint s, GLint t);
typedef void (* glMultiTexCoord2ivARBProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord2sARBProcPtr) (GLenum target, GLshort s, GLshort t);
typedef void (* glMultiTexCoord2svARBProcPtr) (GLenum target, const GLshort *v);
typedef void (* glMultiTexCoord3dARBProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
typedef void (* glMultiTexCoord3dvARBProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord3fARBProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
typedef void (* glMultiTexCoord3fvARBProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord3iARBProcPtr) (GLenum target, GLint s, GLint t, GLint r);
typedef void (* glMultiTexCoord3ivARBProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord3sARBProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r);
typedef void (* glMultiTexCoord3svARBProcPtr) (GLenum target, const GLshort *v);
typedef void (* glMultiTexCoord4dARBProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
typedef void (* glMultiTexCoord4dvARBProcPtr) (GLenum target, const GLdouble *v);
typedef void (* glMultiTexCoord4fARBProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
typedef void (* glMultiTexCoord4fvARBProcPtr) (GLenum target, const GLfloat *v);
typedef void (* glMultiTexCoord4iARBProcPtr) (GLenum target, GLint s, GLint t, GLint r, GLint q);
typedef void (* glMultiTexCoord4ivARBProcPtr) (GLenum target, const GLint *v);
typedef void (* glMultiTexCoord4sARBProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
typedef void (* glMultiTexCoord4svARBProcPtr) (GLenum target, const GLshort *v);
#else
extern void glActiveTextureARB(GLenum texture);
extern void glClientActiveTextureARB(GLenum texture);
extern void glMultiTexCoord1dARB(GLenum target, GLdouble s);
extern void glMultiTexCoord1dvARB(GLenum target, const GLdouble *v);
extern void glMultiTexCoord1fARB(GLenum target, GLfloat s);
extern void glMultiTexCoord1fvARB(GLenum target, const GLfloat *v);
extern void glMultiTexCoord1iARB(GLenum target, GLint s);
extern void glMultiTexCoord1ivARB(GLenum target, const GLint *v);
extern void glMultiTexCoord1sARB(GLenum target, GLshort s);
extern void glMultiTexCoord1svARB(GLenum target, const GLshort *v);
extern void glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
extern void glMultiTexCoord2dvARB(GLenum target, const GLdouble *v);
extern void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
extern void glMultiTexCoord2fvARB(GLenum target, const GLfloat *v);
extern void glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
extern void glMultiTexCoord2ivARB(GLenum target, const GLint *v);
extern void glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
extern void glMultiTexCoord2svARB(GLenum target, const GLshort *v);
extern void glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
extern void glMultiTexCoord3dvARB(GLenum target, const GLdouble *v);
extern void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
extern void glMultiTexCoord3fvARB(GLenum target, const GLfloat *v);
extern void glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
extern void glMultiTexCoord3ivARB(GLenum target, const GLint *v);
extern void glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
extern void glMultiTexCoord3svARB(GLenum target, const GLshort *v);
extern void glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
extern void glMultiTexCoord4dvARB(GLenum target, const GLdouble *v);
extern void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
extern void glMultiTexCoord4fvARB(GLenum target, const GLfloat *v);
extern void glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
extern void glMultiTexCoord4ivARB(GLenum target, const GLint *v);
extern void glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
extern void glMultiTexCoord4svARB(GLenum target, const GLshort *v);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_occlusion_query
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glGenQueriesARBProcPtr) (GLsizei n, GLuint *ids);
typedef void (* glDeleteQueriesARBProcPtr) (GLsizei n, const GLuint *ids);
typedef GLboolean (* glIsQueryARBProcPtr) (GLuint id);
typedef void (* glBeginQueryARBProcPtr) (GLenum target, GLuint id);
typedef void (* glEndQueryARBProcPtr) (GLenum target);
typedef void (* glGetQueryivARBProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetQueryObjectivARBProcPtr) (GLuint id, GLenum pname, GLint *params);
typedef void (* glGetQueryObjectuivARBProcPtr) (GLuint id, GLenum pname, GLuint *params);
#else
extern void glGenQueriesARB(GLsizei n, GLuint *ids);
extern void glDeleteQueriesARB(GLsizei n, const GLuint *ids);
extern GLboolean glIsQueryARB(GLuint id);
extern void glBeginQueryARB(GLenum target, GLuint id);
extern void glEndQueryARB(GLenum target);
extern void glGetQueryivARB(GLenum target, GLenum pname, GLint *params);
extern void glGetQueryObjectivARB(GLuint id, GLenum pname, GLint *params);
extern void glGetQueryObjectuivARB(GLuint id, GLenum pname, GLuint *params);
#endif
#endif
#if GL_ARB_point_parameters
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glPointParameterfARBProcPtr) (GLenum pname, GLfloat param);
typedef void (* glPointParameterfvARBProcPtr) (GLenum pname, const GLfloat *params);
#else
extern void glPointParameterfARB(GLenum pname, GLfloat param);
extern void glPointParameterfvARB(GLenum pname, const GLfloat *params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_provoking_vertex
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glProvokingVertexProcPtr) (GLenum mode);
#else
extern void glProvokingVertex(GLenum mode);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_shader_objects
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glDeleteObjectARBProcPtr) (GLhandleARB obj);
typedef GLhandleARB (* glGetHandleARBProcPtr) (GLenum pname);
typedef void (* glDetachObjectARBProcPtr) (GLhandleARB containerObj, GLhandleARB attachedObj);
typedef GLhandleARB (* glCreateShaderObjectARBProcPtr) (GLenum shaderType);
typedef void (* glShaderSourceARBProcPtr) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* const *string, const GLint *length);
typedef void (* glCompileShaderARBProcPtr) (GLhandleARB shaderObj);
typedef GLhandleARB (* glCreateProgramObjectARBProcPtr) (void);
typedef void (* glAttachObjectARBProcPtr) (GLhandleARB containerObj, GLhandleARB obj);
typedef void (* glLinkProgramARBProcPtr) (GLhandleARB programObj);
typedef void (* glUseProgramObjectARBProcPtr) (GLhandleARB programObj);
typedef void (* glValidateProgramARBProcPtr) (GLhandleARB programObj);
typedef void (* glUniform1fARBProcPtr) (GLint location, GLfloat v0);
typedef void (* glUniform2fARBProcPtr) (GLint location, GLfloat v0, GLfloat v1);
typedef void (* glUniform3fARBProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
typedef void (* glUniform4fARBProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
typedef void (* glUniform1iARBProcPtr) (GLint location, GLint v0);
typedef void (* glUniform2iARBProcPtr) (GLint location, GLint v0, GLint v1);
typedef void (* glUniform3iARBProcPtr) (GLint location, GLint v0, GLint v1, GLint v2);
typedef void (* glUniform4iARBProcPtr) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
typedef void (* glUniform1fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform2fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform3fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform4fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value);
typedef void (* glUniform1ivARBProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniform2ivARBProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniform3ivARBProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniform4ivARBProcPtr) (GLint location, GLsizei count, const GLint *value);
typedef void (* glUniformMatrix2fvARBProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix3fvARBProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glUniformMatrix4fvARBProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (* glGetObjectParameterfvARBProcPtr) (GLhandleARB obj, GLenum pname, GLfloat *params);
typedef void (* glGetObjectParameterivARBProcPtr) (GLhandleARB obj, GLenum pname, GLint *params);
typedef void (* glGetInfoLogARBProcPtr) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
typedef void (* glGetAttachedObjectsARBProcPtr) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
typedef GLint (* glGetUniformLocationARBProcPtr) (GLhandleARB programObj, const GLcharARB *name);
typedef void (* glGetActiveUniformARBProcPtr) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
typedef void (* glGetUniformfvARBProcPtr) (GLhandleARB programObj, GLint location, GLfloat *params);
typedef void (* glGetUniformivARBProcPtr) (GLhandleARB programObj, GLint location, GLint *params);
typedef void (* glGetShaderSourceARBProcPtr) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
#else
extern void glDeleteObjectARB(GLhandleARB obj);
extern GLhandleARB glGetHandleARB(GLenum pname);
extern void glDetachObjectARB(GLhandleARB containerObj, GLhandleARB attachedObj);
extern GLhandleARB glCreateShaderObjectARB(GLenum shaderType);
extern void glShaderSourceARB(GLhandleARB shaderObj, GLsizei count, const GLcharARB* const *string, const GLint *length);
extern void glCompileShaderARB(GLhandleARB shaderObj);
extern GLhandleARB glCreateProgramObjectARB(void);
extern void glAttachObjectARB(GLhandleARB containerObj, GLhandleARB obj);
extern void glLinkProgramARB(GLhandleARB programObj);
extern void glUseProgramObjectARB(GLhandleARB programObj);
extern void glValidateProgramARB(GLhandleARB programObj);
extern void glUniform1fARB(GLint location, GLfloat v0);
extern void glUniform2fARB(GLint location, GLfloat v0, GLfloat v1);
extern void glUniform3fARB(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
extern void glUniform4fARB(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
extern void glUniform1iARB(GLint location, GLint v0);
extern void glUniform2iARB(GLint location, GLint v0, GLint v1);
extern void glUniform3iARB(GLint location, GLint v0, GLint v1, GLint v2);
extern void glUniform4iARB(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
extern void glUniform1fvARB(GLint location, GLsizei count, const GLfloat *value);
extern void glUniform2fvARB(GLint location, GLsizei count, const GLfloat *value);
extern void glUniform3fvARB(GLint location, GLsizei count, const GLfloat *value);
extern void glUniform4fvARB(GLint location, GLsizei count, const GLfloat *value);
extern void glUniform1ivARB(GLint location, GLsizei count, const GLint *value);
extern void glUniform2ivARB(GLint location, GLsizei count, const GLint *value);
extern void glUniform3ivARB(GLint location, GLsizei count, const GLint *value);
extern void glUniform4ivARB(GLint location, GLsizei count, const GLint *value);
extern void glUniformMatrix2fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
extern void glUniformMatrix3fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
extern void glUniformMatrix4fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
extern void glGetObjectParameterfvARB(GLhandleARB obj, GLenum pname, GLfloat *params);
extern void glGetObjectParameterivARB(GLhandleARB obj, GLenum pname, GLint *params);
extern void glGetInfoLogARB(GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
extern void glGetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
extern GLint glGetUniformLocationARB(GLhandleARB programObj, const GLcharARB *name);
extern void glGetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
extern void glGetUniformfvARB(GLhandleARB programObj, GLint location, GLfloat *params);
extern void glGetUniformivARB(GLhandleARB programObj, GLint location, GLint *params);
extern void glGetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_sync
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef GLsync (* glFenceSyncProcPtr) (GLenum condition, GLbitfield flags);
typedef GLboolean (* glIsSyncProcPtr) (GLsync sync);
typedef void (* glDeleteSyncProcPtr) (GLsync sync);
typedef GLenum (* glClientWaitSyncProcPtr) (GLsync sync, GLbitfield flags, GLuint64 timeout);
typedef void (* glWaitSyncProcPtr)(GLsync sync, GLbitfield flags, GLuint64 timeout);
typedef void (* glGetInteger64vProcPtr) (GLenum pname, GLint64 *params);
typedef void (* glGetSyncivProcPtr) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
#else
extern GLsync glFenceSync(GLenum condition, GLbitfield flags);
extern GLboolean glIsSync(GLsync sync);
extern void glDeleteSync(GLsync sync);
extern GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
extern void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
extern void glGetInteger64v(GLenum pname, GLint64 *params);
extern void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_texture_compression
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glCompressedTexImage3DARBProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexImage2DARBProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexImage1DARBProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexSubImage3DARBProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexSubImage2DARBProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (* glCompressedTexSubImage1DARBProcPtr) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (* glGetCompressedTexImageARBProcPtr) (GLenum target, GLint level, GLvoid *data);
#else
extern void glCompressedTexImage3DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
extern void glCompressedTexImage2DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
extern void glCompressedTexImage1DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
extern void glCompressedTexSubImage3DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
extern void glCompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
extern void glCompressedTexSubImage1DARB(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
extern void glGetCompressedTexImageARB(GLenum target, GLint level, GLvoid *data);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_transpose_matrix
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glLoadTransposeMatrixfARBProcPtr) (const GLfloat *m);
typedef void (* glLoadTransposeMatrixdARBProcPtr) (const GLdouble *m);
typedef void (* glMultTransposeMatrixfARBProcPtr) (const GLfloat *m);
typedef void (* glMultTransposeMatrixdARBProcPtr) (const GLdouble *m);
#else
extern void glLoadTransposeMatrixfARB(const GLfloat *m);
extern void glLoadTransposeMatrixdARB(const GLdouble *m);
extern void glMultTransposeMatrixfARB(const GLfloat *m);
extern void glMultTransposeMatrixdARB(const GLdouble *m);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_vertex_blend
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glWeightbvARBProcPtr) (GLint size, const GLbyte *weights);
typedef void (* glWeightsvARBProcPtr) (GLint size, const GLshort *weights);
typedef void (* glWeightivARBProcPtr) (GLint size, const GLint *weights);
typedef void (* glWeightfvARBProcPtr) (GLint size, const GLfloat *weights);
typedef void (* glWeightdvARBProcPtr) (GLint size, const GLdouble *weights);
typedef void (* glWeightubvARBProcPtr) (GLint size, const GLubyte *weights);
typedef void (* glWeightusvARBProcPtr) (GLint size, const GLushort *weights);
typedef void (* glWeightuivARBProcPtr) (GLint size, const GLuint *weights);
typedef void (* glWeightPointerARBProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glVertexBlendARBProcPtr) (GLint count);
#else
extern void glWeightbvARB(GLint size, const GLbyte *weights);
extern void glWeightsvARB(GLint size, const GLshort *weights);
extern void glWeightivARB(GLint size, const GLint *weights);
extern void glWeightfvARB(GLint size, const GLfloat *weights);
extern void glWeightdvARB(GLint size, const GLdouble *weights);
extern void glWeightubvARB(GLint size, const GLubyte *weights);
extern void glWeightusvARB(GLint size, const GLushort *weights);
extern void glWeightuivARB(GLint size, const GLuint *weights);
extern void glWeightPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
extern void glVertexBlendARB(GLint count);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_vertex_buffer_object
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBindBufferARBProcPtr) (GLenum target, GLuint buffer);
typedef void (* glDeleteBuffersARBProcPtr) (GLsizei n, const GLuint *buffers);
typedef void (* glGenBuffersARBProcPtr) (GLsizei n, GLuint *buffers);
typedef GLboolean (* glIsBufferARBProcPtr) (GLuint buffer);
typedef void (* glBufferDataARBProcPtr) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
typedef void (* glBufferSubDataARBProcPtr) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
typedef void (* glGetBufferSubDataARBProcPtr) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
typedef GLvoid *(* glMapBufferARBProcPtr) (GLenum target, GLenum access);
typedef GLboolean (* glUnmapBufferARBProcPtr) (GLenum target);
typedef void (* glGetBufferParameterivARBProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef void (* glGetBufferPointervARBProcPtr) (GLenum target, GLenum pname, GLvoid **params);
#else
extern void glBindBufferARB(GLenum target, GLuint buffer);
extern void glDeleteBuffersARB(GLsizei n, const GLuint *buffers);
extern void glGenBuffersARB(GLsizei n, GLuint *buffers);
extern GLboolean glIsBufferARB(GLuint buffer);
extern void glBufferDataARB(GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
extern void glBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
extern void glGetBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
extern GLvoid *glMapBufferARB(GLenum target, GLenum access);
extern GLboolean glUnmapBufferARB(GLenum target);
extern void glGetBufferParameterivARB(GLenum target, GLenum pname, GLint *params);
extern void glGetBufferPointervARB(GLenum target, GLenum pname, GLvoid **params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_vertex_program
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBindProgramARBProcPtr) (GLenum target, GLuint program);
typedef void (* glDeleteProgramsARBProcPtr) (GLsizei n, const GLuint *programs);
typedef void (* glGenProgramsARBProcPtr) (GLsizei n, GLuint *programs);
typedef GLboolean (* glIsProgramARBProcPtr) (GLuint program);
typedef void (* glProgramEnvParameter4dARBProcPtr) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glProgramEnvParameter4dvARBProcPtr) (GLenum target, GLuint index, const GLdouble *params);
typedef void (* glProgramEnvParameter4fARBProcPtr) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glProgramEnvParameter4fvARBProcPtr) (GLenum target, GLuint index, const GLfloat *params);
typedef void (* glProgramLocalParameter4dARBProcPtr) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glProgramLocalParameter4dvARBProcPtr) (GLenum target, GLuint index, const GLdouble *params);
typedef void (* glProgramLocalParameter4fARBProcPtr) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glProgramLocalParameter4fvARBProcPtr) (GLenum target, GLuint index, const GLfloat *params);
#if GL_EXT_gpu_program_parameters
typedef void (* glProgramEnvParameters4fvEXTProcPtr) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
typedef void (* glProgramLocalParameters4fvEXTProcPtr) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
#endif
typedef void (* glGetProgramEnvParameterdvARBProcPtr) (GLenum target, GLuint index, GLdouble *params);
typedef void (* glGetProgramEnvParameterfvARBProcPtr) (GLenum target, GLuint index, GLfloat *params);
typedef void (* glGetProgramLocalParameterdvARBProcPtr) (GLenum target, GLuint index, GLdouble *params);
typedef void (* glGetProgramLocalParameterfvARBProcPtr) (GLenum target, GLuint index, GLfloat *params);
typedef void (* glProgramStringARBProcPtr) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
typedef void (* glGetProgramStringARBProcPtr) (GLenum target, GLenum pname, GLvoid *string);
typedef void (* glGetProgramivARBProcPtr) (GLenum target, GLenum pname, GLint *params);
#else
extern void glBindProgramARB(GLenum target, GLuint program);
extern void glDeleteProgramsARB(GLsizei n, const GLuint *programs);
extern void glGenProgramsARB(GLsizei n, GLuint *programs);
extern GLboolean glIsProgramARB(GLuint program);
extern void glProgramEnvParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
extern void glProgramEnvParameter4dvARB(GLenum target, GLuint index, const GLdouble *params);
extern void glProgramEnvParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
extern void glProgramEnvParameter4fvARB(GLenum target, GLuint index, const GLfloat *params);
extern void glProgramLocalParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
extern void glProgramLocalParameter4dvARB(GLenum target, GLuint index, const GLdouble *params);
extern void glProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
extern void glProgramLocalParameter4fvARB(GLenum target, GLuint index, const GLfloat *params);
extern void glGetProgramEnvParameterdvARB(GLenum target, GLuint index, GLdouble *params);
extern void glGetProgramEnvParameterfvARB(GLenum target, GLuint index, GLfloat *params);
#if GL_EXT_gpu_program_parameters
extern void glProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params);
extern void glProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params);
#endif
extern void glGetProgramLocalParameterdvARB(GLenum target, GLuint index, GLdouble *params);
extern void glGetProgramLocalParameterfvARB(GLenum target, GLuint index, GLfloat *params);
extern void glProgramStringARB(GLenum target, GLenum format, GLsizei len, const GLvoid *string);
extern void glGetProgramStringARB(GLenum target, GLenum pname, GLvoid *string);
extern void glGetProgramivARB(GLenum target, GLenum pname, GLint *params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_vertex_shader
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBindAttribLocationARBProcPtr) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
typedef void (* glGetActiveAttribARBProcPtr) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
typedef GLint (* glGetAttribLocationARBProcPtr) (GLhandleARB programObj, const GLcharARB *name);
#else
extern void glBindAttribLocationARB(GLhandleARB programObj, GLuint index, const GLcharARB *name);
extern void glGetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
extern GLint glGetAttribLocationARB(GLhandleARB programObj, const GLcharARB *name);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_vertex_shader || GL_ARB_vertex_program
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glVertexAttrib1dARBProcPtr) (GLuint index, GLdouble x);
typedef void (* glVertexAttrib1dvARBProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib1fARBProcPtr) (GLuint index, GLfloat x);
typedef void (* glVertexAttrib1fvARBProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib1sARBProcPtr) (GLuint index, GLshort x);
typedef void (* glVertexAttrib1svARBProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib2dARBProcPtr) (GLuint index, GLdouble x, GLdouble y);
typedef void (* glVertexAttrib2dvARBProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib2fARBProcPtr) (GLuint index, GLfloat x, GLfloat y);
typedef void (* glVertexAttrib2fvARBProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib2sARBProcPtr) (GLuint index, GLshort x, GLshort y);
typedef void (* glVertexAttrib2svARBProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib3dARBProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
typedef void (* glVertexAttrib3dvARBProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib3fARBProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
typedef void (* glVertexAttrib3fvARBProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib3sARBProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z);
typedef void (* glVertexAttrib3svARBProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib4NbvARBProcPtr) (GLuint index, const GLbyte *v);
typedef void (* glVertexAttrib4NivARBProcPtr) (GLuint index, const GLint *v);
typedef void (* glVertexAttrib4NsvARBProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib4NubARBProcPtr) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
typedef void (* glVertexAttrib4NubvARBProcPtr) (GLuint index, const GLubyte *v);
typedef void (* glVertexAttrib4NuivARBProcPtr) (GLuint index, const GLuint *v);
typedef void (* glVertexAttrib4NusvARBProcPtr) (GLuint index, const GLushort *v);
typedef void (* glVertexAttrib4bvARBProcPtr) (GLuint index, const GLbyte *v);
typedef void (* glVertexAttrib4dARBProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glVertexAttrib4dvARBProcPtr) (GLuint index, const GLdouble *v);
typedef void (* glVertexAttrib4fARBProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glVertexAttrib4fvARBProcPtr) (GLuint index, const GLfloat *v);
typedef void (* glVertexAttrib4ivARBProcPtr) (GLuint index, const GLint *v);
typedef void (* glVertexAttrib4sARBProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
typedef void (* glVertexAttrib4svARBProcPtr) (GLuint index, const GLshort *v);
typedef void (* glVertexAttrib4ubvARBProcPtr) (GLuint index, const GLubyte *v);
typedef void (* glVertexAttrib4uivARBProcPtr) (GLuint index, const GLuint *v);
typedef void (* glVertexAttrib4usvARBProcPtr) (GLuint index, const GLushort *v);
typedef void (* glVertexAttribPointerARBProcPtr) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
typedef void (* glDisableVertexAttribArrayARBProcPtr) (GLuint index);
typedef void (* glEnableVertexAttribArrayARBProcPtr) (GLuint index);
typedef void (* glGetVertexAttribPointervARBProcPtr) (GLuint index, GLenum pname, GLvoid **pointer);
typedef void (* glGetVertexAttribdvARBProcPtr) (GLuint index, GLenum pname, GLdouble *params);
typedef void (* glGetVertexAttribfvARBProcPtr) (GLuint index, GLenum pname, GLfloat *params);
typedef void (* glGetVertexAttribivARBProcPtr) (GLuint index, GLenum pname, GLint *params);
#else
extern void glVertexAttrib1dARB(GLuint index, GLdouble x);
extern void glVertexAttrib1dvARB(GLuint index, const GLdouble *v);
extern void glVertexAttrib1fARB(GLuint index, GLfloat x);
extern void glVertexAttrib1fvARB(GLuint index, const GLfloat *v);
extern void glVertexAttrib1sARB(GLuint index, GLshort x);
extern void glVertexAttrib1svARB(GLuint index, const GLshort *v);
extern void glVertexAttrib2dARB(GLuint index, GLdouble x, GLdouble y);
extern void glVertexAttrib2dvARB(GLuint index, const GLdouble *v);
extern void glVertexAttrib2fARB(GLuint index, GLfloat x, GLfloat y);
extern void glVertexAttrib2fvARB(GLuint index, const GLfloat *v);
extern void glVertexAttrib2sARB(GLuint index, GLshort x, GLshort y);
extern void glVertexAttrib2svARB(GLuint index, const GLshort *v);
extern void glVertexAttrib3dARB(GLuint index, GLdouble x, GLdouble y, GLdouble z);
extern void glVertexAttrib3dvARB(GLuint index, const GLdouble *v);
extern void glVertexAttrib3fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z);
extern void glVertexAttrib3fvARB(GLuint index, const GLfloat *v);
extern void glVertexAttrib3sARB(GLuint index, GLshort x, GLshort y, GLshort z);
extern void glVertexAttrib3svARB(GLuint index, const GLshort *v);
extern void glVertexAttrib4NbvARB(GLuint index, const GLbyte *v);
extern void glVertexAttrib4NivARB(GLuint index, const GLint *v);
extern void glVertexAttrib4NsvARB(GLuint index, const GLshort *v);
extern void glVertexAttrib4NubARB(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
extern void glVertexAttrib4NubvARB(GLuint index, const GLubyte *v);
extern void glVertexAttrib4NuivARB(GLuint index, const GLuint *v);
extern void glVertexAttrib4NusvARB(GLuint index, const GLushort *v);
extern void glVertexAttrib4bvARB(GLuint index, const GLbyte *v);
extern void glVertexAttrib4dARB(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
extern void glVertexAttrib4dvARB(GLuint index, const GLdouble *v);
extern void glVertexAttrib4fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
extern void glVertexAttrib4fvARB(GLuint index, const GLfloat *v);
extern void glVertexAttrib4ivARB(GLuint index, const GLint *v);
extern void glVertexAttrib4sARB(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
extern void glVertexAttrib4svARB(GLuint index, const GLshort *v);
extern void glVertexAttrib4ubvARB(GLuint index, const GLubyte *v);
extern void glVertexAttrib4uivARB(GLuint index, const GLuint *v);
extern void glVertexAttrib4usvARB(GLuint index, const GLushort *v);
extern void glVertexAttribPointerARB(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
extern void glDisableVertexAttribArrayARB(GLuint index);
extern void glEnableVertexAttribArrayARB(GLuint index);
extern void glGetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer);
extern void glGetVertexAttribdvARB(GLuint index, GLenum pname, GLdouble *params);
extern void glGetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params);
extern void glGetVertexAttribivARB(GLuint index, GLenum pname, GLint *params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ARB_window_pos
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glWindowPos2dARBProcPtr) (GLdouble x, GLdouble y);
typedef void (* glWindowPos2dvARBProcPtr) (const GLdouble *p);
typedef void (* glWindowPos2fARBProcPtr) (GLfloat x, GLfloat y);
typedef void (* glWindowPos2fvARBProcPtr) (const GLfloat *p);
typedef void (* glWindowPos2iARBProcPtr) (GLint x, GLint y);
typedef void (* glWindowPos2ivARBProcPtr) (const GLint *p);
typedef void (* glWindowPos2sARBProcPtr) (GLshort x, GLshort y);
typedef void (* glWindowPos2svARBProcPtr) (const GLshort *p);
typedef void (* glWindowPos3dARBProcPtr) (GLdouble x, GLdouble y, GLdouble z);
typedef void (* glWindowPos3dvARBProcPtr) (const GLdouble *p);
typedef void (* glWindowPos3fARBProcPtr) (GLfloat x, GLfloat y, GLfloat z);
typedef void (* glWindowPos3fvARBProcPtr) (const GLfloat *p);
typedef void (* glWindowPos3iARBProcPtr) (GLint x, GLint y, GLint z);
typedef void (* glWindowPos3ivARBProcPtr) (const GLint *p);
typedef void (* glWindowPos3sARBProcPtr) (GLshort x, GLshort y, GLshort z);
typedef void (* glWindowPos3svARBProcPtr) (const GLshort *p);
#else
extern void glWindowPos2dARB(GLdouble x, GLdouble y);
extern void glWindowPos2dvARB(const GLdouble *p);
extern void glWindowPos2fARB(GLfloat x, GLfloat y);
extern void glWindowPos2fvARB(const GLfloat *p);
extern void glWindowPos2iARB(GLint x, GLint y);
extern void glWindowPos2ivARB(const GLint *p);
extern void glWindowPos2sARB(GLshort x, GLshort y);
extern void glWindowPos2svARB(const GLshort *p);
extern void glWindowPos3dARB(GLdouble x, GLdouble y, GLdouble z);
extern void glWindowPos3dvARB(const GLdouble *p);
extern void glWindowPos3fARB(GLfloat x, GLfloat y, GLfloat z);
extern void glWindowPos3fvARB(const GLfloat *p);
extern void glWindowPos3iARB(GLint x, GLint y, GLint z);
extern void glWindowPos3ivARB(const GLint *p);
extern void glWindowPos3sARB(GLshort x, GLshort y, GLshort z);
extern void glWindowPos3svARB(const GLshort *p);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_bindable_uniform
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (*glUniformBufferEXTProcPtr) (GLuint program, GLint location, GLuint buffer);
typedef GLint (*glGetUniformBufferSizeEXTProcPtr) (GLuint program, GLint location);
typedef GLintptr (*glGetUniformOffsetEXTProcPtr) (GLuint program, GLint location);
#else
extern void glUniformBufferEXT(GLuint program, GLint location, GLuint buffer);
extern GLint glGetUniformBufferSizeEXT(GLuint program, GLint location);
extern GLintptr glGetUniformOffsetEXT(GLuint program, GLint location);
#endif
#endif /* GL_EXT_bindable_uniform */
#if GL_EXT_blend_color
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBlendColorEXTProcPtr) (GLclampf red, GLclampf blue, GLclampf green, GLclampf alpha);
#else
extern void glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_blend_equation_separate
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBlendEquationSeparateEXTProcPtr) (GLenum modeRGB, GLenum modeAlpha);
#else
extern void glBlendEquationSeparateEXT(GLenum modeRGB, GLenum modeAlpha);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_blend_func_separate
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBlendFuncSeparateEXTProcPtr) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
#else
extern void glBlendFuncSeparateEXT(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_blend_minmax
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBlendEquationEXTProcPtr) (GLenum mode);
#else
extern void glBlendEquationEXT(GLenum mode);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_color_subtable
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glColorSubTableEXTProcPtr) (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
typedef void (* glCopyColorSubTableEXTProcPtr) (GLenum, GLsizei, GLint, GLint, GLsizei);
#else
extern void glColorSubTableEXT(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
extern void glCopyColorSubTableEXT(GLenum, GLsizei, GLint, GLint, GLsizei);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_compiled_vertex_array
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glLockArraysEXTProcPtr) (GLint first, GLsizei count);
typedef void (* glUnlockArraysEXTProcPtr) (void);
#else
extern void glLockArraysEXT(GLint first, GLsizei count);
extern void glUnlockArraysEXT(void);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_convolution
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glConvolutionFilter1DEXTProcPtr) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
typedef void (* glConvolutionFilter2DEXTProcPtr) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
typedef void (* glConvolutionParameterfEXTProcPtr) (GLenum, GLenum, GLfloat);
typedef void (* glConvolutionParameterfvEXTProcPtr) (GLenum, GLenum, const GLfloat *);
typedef void (* glConvolutionParameteriEXTProcPtr) (GLenum, GLenum, GLint);
typedef void (* glConvolutionParameterivEXTProcPtr) (GLenum, GLenum, const GLint *);
typedef void (* glCopyConvolutionFilter1DEXTProcPtr) (GLenum, GLenum, GLint, GLint, GLsizei);
typedef void (* glCopyConvolutionFilter2DEXTProcPtr) (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
typedef void (* glGetConvolutionFilterEXTProcPtr) (GLenum, GLenum, GLenum, GLvoid *);
typedef void (* glGetConvolutionParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *);
typedef void (* glGetConvolutionParameterivEXTProcPtr) (GLenum, GLenum, GLint *);
typedef void (* glGetSeparableFilterEXTProcPtr) (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
typedef void (* glSeparableFilter2DEXTProcPtr) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
#else
extern void glConvolutionFilter1DEXT(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
extern void glConvolutionFilter2DEXT(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
extern void glConvolutionParameterfEXT(GLenum, GLenum, GLfloat);
extern void glConvolutionParameterfvEXT(GLenum, GLenum, const GLfloat *);
extern void glConvolutionParameteriEXT(GLenum, GLenum, GLint);
extern void glConvolutionParameterivEXT(GLenum, GLenum, const GLint *);
extern void glCopyConvolutionFilter1DEXT(GLenum, GLenum, GLint, GLint, GLsizei);
extern void glCopyConvolutionFilter2DEXT(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
extern void glGetConvolutionFilterEXT(GLenum, GLenum, GLenum, GLvoid *);
extern void glGetConvolutionParameterfvEXT(GLenum, GLenum, GLfloat *);
extern void glGetConvolutionParameterivEXT(GLenum, GLenum, GLint *);
extern void glGetSeparableFilterEXT(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
extern void glSeparableFilter2DEXT(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_copy_texture
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glCopyTexImage1DEXTProcPtr) (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
typedef void (* glCopyTexImage2DEXTProcPtr) (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
typedef void (* glCopyTexSubImage1DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLsizei);
typedef void (* glCopyTexSubImage2DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
typedef void (* glCopyTexSubImage3DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#else
extern void glCopyTexImage1DEXT(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
extern void glCopyTexImage2DEXT(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
extern void glCopyTexSubImage1DEXT(GLenum, GLint, GLint, GLint, GLint, GLsizei);
extern void glCopyTexSubImage2DEXT(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
extern void glCopyTexSubImage3DEXT(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_debug_label
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glLabelObjectEXTProcPtr) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
typedef void (* glGetObjectLabelEXTProcPtr) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
#else
extern void glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label);
extern void glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_debug_marker
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glInsertEventMarkerEXTProcPtr) (GLsizei length, const char *marker);
typedef void (* glPushGroupMarkerEXTProcPtr) (GLsizei length, const char *marker);
typedef void (* glPopGroupMarkerEXTProcPtr) (void);
#else
extern void glInsertEventMarkerEXT(GLsizei length, const char *marker);
extern void glPushGroupMarkerEXT(GLsizei length, const char *marker);
extern void glPopGroupMarkerEXT(void);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_depth_bounds_test
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glDepthBoundsEXTProcPtr) (GLclampd zmin, GLclampd zmax);
#else
extern void glDepthBoundsEXT(GLclampd zmin, GLclampd zmax);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_draw_buffers2
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glColorMaskIndexedEXTProcPtr) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
typedef void (* glEnableIndexedEXTProcPtr) (GLenum target, GLuint index);
typedef void (* glDisableIndexedEXTProcPtr) (GLenum target, GLuint index);
typedef GLboolean (* glIsEnabledIndexedEXTProcPtr) (GLenum target, GLuint index);
#else
extern void glColorMaskIndexedEXT(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
extern void glEnableIndexedEXT(GLenum target, GLuint index);
extern void glDisableIndexedEXT(GLenum target, GLuint index);
extern GLboolean glIsEnabledIndexedEXT(GLenum target, GLuint index);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_draw_range_elements
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glDrawRangeElementsEXTProcPtr) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
#else
extern void glDrawRangeElementsEXT(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_fog_coord
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glFogCoordfEXTProcPtr) (GLfloat coord);
typedef void (* glFogCoordfvEXTProcPtr) (const GLfloat *coord);
typedef void (* glFogCoorddEXTProcPtr) (GLdouble coord);
typedef void (* glFogCoorddvEXTProcPtr) (const GLdouble *coord);
typedef void (* glFogCoordPointerEXTProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer);
#else
extern void glFogCoordfEXT(GLfloat coord);
extern void glFogCoordfvEXT(const GLfloat *coord);
extern void glFogCoorddEXT(GLdouble coord);
extern void glFogCoorddvEXT(const GLdouble *coord);
extern void glFogCoordPointerEXT(GLenum type, GLsizei stride, const GLvoid *pointer);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_framebuffer_blit
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBlitFramebufferEXTProcPtr) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
#else
extern void glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_framebuffer_multisample
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glRenderbufferStorageMultisampleEXTProcPtr) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
#else
extern void glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_framebuffer_object
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef GLboolean (* glIsRenderbufferEXTProcPtr) (GLuint renderbuffer);
typedef void (* glBindRenderbufferEXTProcPtr) (GLenum target, GLuint renderbuffer);
typedef void (* glDeleteRenderbuffersEXTProcPtr) (GLsizei n, const GLuint *renderbuffers);
typedef void (* glGenRenderbuffersEXTProcPtr) (GLsizei n, GLuint *renderbuffers);
typedef void (* glRenderbufferStorageEXTProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
typedef void (* glGetRenderbufferParameterivEXTProcPtr) (GLenum target, GLenum pname, GLint *params);
typedef GLboolean (* glIsFramebufferEXTProcPtr) (GLuint framebuffer);
typedef void (* glBindFramebufferEXTProcPtr) (GLenum target, GLuint framebuffer);
typedef void (* glDeleteFramebuffersEXTProcPtr) (GLsizei n, const GLuint *framebuffers);
typedef void (* glGenFramebuffersEXTProcPtr) (GLsizei n, GLuint *framebuffers);
typedef GLenum (* glCheckFramebufferStatusEXTProcPtr) (GLenum target);
typedef void (* glFramebufferTexture1DEXTProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
typedef void (* glFramebufferTexture2DEXTProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
typedef void (* glFramebufferTexture3DEXTProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
typedef void (* glFramebufferRenderbufferEXTProcPtr) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
typedef void (* glGetFramebufferAttachmentParameterivEXTProcPtr) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
typedef void (* glGenerateMipmapEXTProcPtr) (GLenum target);
#else
extern GLboolean glIsRenderbufferEXT(GLuint renderbuffer);
extern void glBindRenderbufferEXT(GLenum target, GLuint renderbuffer);
extern void glDeleteRenderbuffersEXT(GLsizei n, const GLuint *renderbuffers);
extern void glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers);
extern void glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
extern void glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint *params);
extern GLboolean glIsFramebufferEXT(GLuint framebuffer);
extern void glBindFramebufferEXT(GLenum target, GLuint framebuffer);
extern void glDeleteFramebuffersEXT(GLsizei n, const GLuint *framebuffers);
extern void glGenFramebuffersEXT(GLsizei n, GLuint *framebuffers);
extern GLenum glCheckFramebufferStatusEXT(GLenum target);
extern void glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
extern void glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
extern void glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
extern void glFramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
extern void glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params);
extern void glGenerateMipmapEXT(GLenum target);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_geometry_shader4
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glProgramParameteriEXTProcPtr) (GLuint program, GLenum pname, GLint value);
typedef void (* glFramebufferTextureEXTProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level);
typedef void (* glFramebufferTextureFaceEXTProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
#else
extern void glProgramParameteriEXT(GLuint program, GLenum pname, GLint value);
extern void glFramebufferTextureEXT(GLenum target, GLenum attachment, GLuint texture, GLint level);
extern void glFramebufferTextureFaceEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_geometry_shader4 || GL_EXT_texture_array
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glFramebufferTextureLayerEXTProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
#else
extern void glFramebufferTextureLayerEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
#endif
#endif
#if GL_EXT_gpu_shader4
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (*glVertexAttribI1iEXTProcPtr) (GLuint index, GLint x);
typedef void (*glVertexAttribI2iEXTProcPtr) (GLuint index, GLint x, GLint y);
typedef void (*glVertexAttribI3iEXTProcPtr) (GLuint index, GLint x, GLint y, GLint z);
typedef void (*glVertexAttribI4iEXTProcPtr) (GLuint index, GLint x, GLint y, GLint z, GLint w);
typedef void (*glVertexAttribI1uiEXTProcPtr) (GLuint index, GLuint x);
typedef void (*glVertexAttribI2uiEXTProcPtr) (GLuint index, GLuint x, GLuint y);
typedef void (*glVertexAttribI3uiEXTProcPtr) (GLuint index, GLuint x, GLuint y, GLuint z);
typedef void (*glVertexAttribI4uiEXTProcPtr) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
typedef void (*glVertexAttribI1ivEXTProcPtr) (GLuint index, const GLint *v);
typedef void (*glVertexAttribI2ivEXTProcPtr) (GLuint index, const GLint *v);
typedef void (*glVertexAttribI3ivEXTProcPtr) (GLuint index, const GLint *v);
typedef void (*glVertexAttribI4ivEXTProcPtr) (GLuint index, const GLint *v);
typedef void (*glVertexAttribI1uivEXTProcPtr) (GLuint index, const GLuint *v);
typedef void (*glVertexAttribI2uivEXTProcPtr) (GLuint index, const GLuint *v);
typedef void (*glVertexAttribI3uivEXTProcPtr) (GLuint index, const GLuint *v);
typedef void (*glVertexAttribI4uivEXTProcPtr) (GLuint index, const GLuint *v);
typedef void (*glVertexAttribI4bvEXTProcPtr) (GLuint index, const GLbyte *v);
typedef void (*glVertexAttribI4svEXTProcPtr) (GLuint index, const GLshort *v);
typedef void (*glVertexAttribI4ubvEXTProcPtr) (GLuint index, const GLubyte *v);
typedef void (*glVertexAttribI4usvEXTProcPtr) (GLuint index, const GLushort *v);
typedef void (*glVertexAttribIPointerEXTProcPtr) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (*glGetVertexAttribIivEXTProcPtr) (GLuint index, GLenum pname, GLint *params);
typedef void (*glGetVertexAttribIuivEXTProcPtr) (GLuint index, GLenum pname, GLuint *params);
typedef void (*glUniform1uiEXTProcPtr) (GLint location, GLuint v0);
typedef void (*glUniform2uiEXTProcPtr) (GLint location, GLuint v0, GLuint v1);
typedef void (*glUniform3uiEXTProcPtr) (GLint location, GLuint v0, GLuint v1, GLuint v2);
typedef void (*glUniform4uiEXTProcPtr) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
typedef void (*glUniform1uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value);
typedef void (*glUniform2uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value);
typedef void (*glUniform3uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value);
typedef void (*glUniform4uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value);
typedef void (*glGetUniformuivEXTProcPtr) (GLuint program, GLint location, GLuint *params);
typedef void (*glBindFragDataLocationEXTProcPtr) (GLuint program, GLuint colorNumber, const GLchar *name);
typedef GLint (*glGetFragDataLocationEXTProcPtr) (GLuint program, const GLchar *name);
#else
extern void glVertexAttribI1iEXT(GLuint index, GLint x);
extern void glVertexAttribI2iEXT(GLuint index, GLint x, GLint y);
extern void glVertexAttribI3iEXT(GLuint index, GLint x, GLint y, GLint z);
extern void glVertexAttribI4iEXT(GLuint index, GLint x, GLint y, GLint z, GLint w);
extern void glVertexAttribI1uiEXT(GLuint index, GLuint x);
extern void glVertexAttribI2uiEXT(GLuint index, GLuint x, GLuint y);
extern void glVertexAttribI3uiEXT(GLuint index, GLuint x, GLuint y, GLuint z);
extern void glVertexAttribI4uiEXT(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
extern void glVertexAttribI1ivEXT(GLuint index, const GLint *v);
extern void glVertexAttribI2ivEXT(GLuint index, const GLint *v);
extern void glVertexAttribI3ivEXT(GLuint index, const GLint *v);
extern void glVertexAttribI4ivEXT(GLuint index, const GLint *v);
extern void glVertexAttribI1uivEXT(GLuint index, const GLuint *v);
extern void glVertexAttribI2uivEXT(GLuint index, const GLuint *v);
extern void glVertexAttribI3uivEXT(GLuint index, const GLuint *v);
extern void glVertexAttribI4uivEXT(GLuint index, const GLuint *v);
extern void glVertexAttribI4bvEXT(GLuint index, const GLbyte *v);
extern void glVertexAttribI4svEXT(GLuint index, const GLshort *v);
extern void glVertexAttribI4ubvEXT(GLuint index, const GLubyte *v);
extern void glVertexAttribI4usvEXT(GLuint index, const GLushort *v);
extern void glVertexAttribIPointerEXT(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
extern void glGetVertexAttribIivEXT(GLuint index, GLenum pname, GLint *params);
extern void glGetVertexAttribIuivEXT(GLuint index, GLenum pname, GLuint *params);
extern void glUniform1uiEXT(GLint location, GLuint v0);
extern void glUniform2uiEXT(GLint location, GLuint v0, GLuint v1);
extern void glUniform3uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2);
extern void glUniform4uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
extern void glUniform1uivEXT(GLint location, GLsizei count, const GLuint *value);
extern void glUniform2uivEXT(GLint location, GLsizei count, const GLuint *value);
extern void glUniform3uivEXT(GLint location, GLsizei count, const GLuint *value);
extern void glUniform4uivEXT(GLint location, GLsizei count, const GLuint *value);
extern void glGetUniformuivEXT(GLuint program, GLint location, GLuint *params);
extern void glBindFragDataLocationEXT(GLuint program, GLuint colorNumber, const GLchar *name);
extern GLint glGetFragDataLocationEXT(GLuint program, const GLchar *name);
#endif
#endif /* GL_EXT_gpu_shader4 */
#if GL_EXT_histogram
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glGetHistogramEXTProcPtr) (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
typedef void (* glGetHistogramParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *);
typedef void (* glGetHistogramParameterivEXTProcPtr) (GLenum, GLenum, GLint *);
typedef void (* glGetMinmaxEXTProcPtr) (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
typedef void (* glGetMinmaxParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *);
typedef void (* glGetMinmaxParameterivEXTProcPtr) (GLenum, GLenum, GLint *);
typedef void (* glHistogramEXTProcPtr) (GLenum, GLsizei, GLenum, GLboolean);
typedef void (* glMinmaxEXTProcPtr) (GLenum, GLenum, GLboolean);
typedef void (* glResetHistogramEXTProcPtr) (GLenum);
typedef void (* glResetMinmaxEXTProcPtr) (GLenum);
#else
extern void glGetHistogramEXT(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
extern void glGetHistogramParameterfvEXT(GLenum, GLenum, GLfloat *);
extern void glGetHistogramParameterivEXT(GLenum, GLenum, GLint *);
extern void glGetMinmaxEXT(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
extern void glGetMinmaxParameterfvEXT(GLenum, GLenum, GLfloat *);
extern void glGetMinmaxParameterivEXT(GLenum, GLenum, GLint *);
extern void glHistogramEXT(GLenum, GLsizei, GLenum, GLboolean);
extern void glMinmaxEXT(GLenum, GLenum, GLboolean);
extern void glResetHistogramEXT(GLenum);
extern void glResetMinmaxEXT(GLenum);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_multi_draw_arrays
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glMultiDrawArraysEXTProcPtr) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
typedef void (* glMultiDrawElementsEXTProcPtr) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount);
#else
extern void glMultiDrawArraysEXT(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
extern void glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_paletted_texture
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glColorTableEXTProcPtr) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
typedef void (* glColorSubTableEXTProcPtr) (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
typedef void (* glGetColorTableEXTProcPtr) (GLenum, GLenum, GLenum, GLvoid *);
typedef void (* glGetColorTableParameterivEXTProcPtr) (GLenum, GLenum, GLint *);
typedef void (* glGetColorTableParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *);
#else
extern void glColorTableEXT(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
extern void glColorSubTableEXT(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
extern void glGetColorTableEXT(GLenum, GLenum, GLenum, GLvoid *);
extern void glGetColorTableParameterivEXT(GLenum, GLenum, GLint *);
extern void glGetColorTableParameterfvEXT(GLenum, GLenum, GLfloat *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_polygon_offset
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glPolygonOffsetEXTProcPtr) (GLfloat factor, GLfloat bias);
#else
extern void glPolygonOffsetEXT(GLfloat factor, GLfloat bias);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_provoking_vertex
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glProvokingVertexEXTProcPtr) (GLenum mode);
#else
extern void glProvokingVertexEXT(GLenum mode);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_secondary_color
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glSecondaryColor3bEXTProcPtr) (GLbyte red, GLbyte green, GLbyte blue);
typedef void (* glSecondaryColor3bvEXTProcPtr) (const GLbyte *v);
typedef void (* glSecondaryColor3dEXTProcPtr) (GLdouble red, GLdouble green, GLdouble blue);
typedef void (* glSecondaryColor3dvEXTProcPtr) (const GLdouble *v);
typedef void (* glSecondaryColor3fEXTProcPtr) (GLfloat red, GLfloat green, GLfloat blue);
typedef void (* glSecondaryColor3fvEXTProcPtr) (const GLfloat *v);
typedef void (* glSecondaryColor3iEXTProcPtr) (GLint red, GLint green, GLint blue);
typedef void (* glSecondaryColor3ivEXTProcPtr) (const GLint *v);
typedef void (* glSecondaryColor3sEXTProcPtr) (GLshort red, GLshort green, GLshort blue);
typedef void (* glSecondaryColor3svEXTProcPtr) (const GLshort *v);
typedef void (* glSecondaryColor3ubEXTProcPtr) (GLubyte red, GLubyte green, GLubyte blue);
typedef void (* glSecondaryColor3ubvEXTProcPtr) (const GLubyte *v);
typedef void (* glSecondaryColor3uiEXTProcPtr) (GLuint red, GLuint green, GLuint blue);
typedef void (* glSecondaryColor3uivEXTProcPtr) (const GLuint *v);
typedef void (* glSecondaryColor3usEXTProcPtr) (GLushort red, GLushort green, GLushort blue);
typedef void (* glSecondaryColor3usvEXTProcPtr) (const GLushort *v);
typedef void (* glSecondaryColorPointerEXTProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
#else
extern void glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyte blue);
extern void glSecondaryColor3bvEXT(const GLbyte *v);
extern void glSecondaryColor3dEXT(GLdouble red, GLdouble green, GLdouble blue);
extern void glSecondaryColor3dvEXT(const GLdouble *v);
extern void glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLfloat blue);
extern void glSecondaryColor3fvEXT(const GLfloat *v);
extern void glSecondaryColor3iEXT(GLint red, GLint green, GLint blue);
extern void glSecondaryColor3ivEXT(const GLint *v);
extern void glSecondaryColor3sEXT(GLshort red, GLshort green, GLshort blue);
extern void glSecondaryColor3svEXT(const GLshort *v);
extern void glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GLubyte blue);
extern void glSecondaryColor3ubvEXT(const GLubyte *v);
extern void glSecondaryColor3uiEXT(GLuint red, GLuint green, GLuint blue);
extern void glSecondaryColor3uivEXT(const GLuint *v);
extern void glSecondaryColor3usEXT(GLushort red, GLushort green, GLushort blue);
extern void glSecondaryColor3usvEXT(const GLushort *v);
extern void glSecondaryColorPointerEXT(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_stencil_two_side
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glActiveStencilFaceEXTProcPtr) (GLenum face);
#else
extern void glActiveStencilFaceEXT(GLenum face);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_subtexture
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glTexSubImage1DEXTProcPtr) (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
typedef void (* glTexSubImage2DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#else
extern void glTexSubImage1DEXT(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
extern void glTexSubImage2DEXT(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_texture3D
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glTexImage3DEXTProcPtr) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
typedef void (* glTexSubImage3DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#else
extern void glTexImage3DEXT(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
extern void glTexSubImage3DEXT(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_texture_integer
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (*glClearColorIiEXTProcPtr) ( GLint r, GLint g, GLint b, GLint a );
typedef void (*glClearColorIuiEXTProcPtr) ( GLuint r, GLuint g, GLuint b, GLuint a );
typedef void (*glTexParameterIivEXTProcPtr)( GLenum target, GLenum pname, GLint *params );
typedef void (*glTexParameterIuivEXTProcPtr)( GLenum target, GLenum pname, GLuint *params );
typedef void (*glGetTexParameterIivEXTProcPtr) ( GLenum target, GLenum pname, GLint *params);
typedef void (*glGetTexParameterIuivEXTProcPtr) ( GLenum target, GLenum pname, GLuint *params);
#else
extern void glClearColorIiEXT( GLint r, GLint g, GLint b, GLint a );
extern void glClearColorIuiEXT( GLuint r, GLuint g, GLuint b, GLuint a );
extern void glTexParameterIivEXT( GLenum target, GLenum pname, GLint *params );
extern void glTexParameterIuivEXT( GLenum target, GLenum pname, GLuint *params );
extern void glGetTexParameterIivEXT( GLenum target, GLenum pname, GLint *params);
extern void glGetTexParameterIuivEXT( GLenum target, GLenum pname, GLuint *params);
#endif
#endif /* GL_EXT_texture_integer */
#if GL_EXT_texture_object
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef GLboolean (* glAreTexturesResidentEXTProcPtr) (GLsizei, const GLuint *, GLboolean *);
typedef void (* glBindTextureEXTProcPtr) (GLenum, GLuint);
typedef void (* glDeleteTexturesEXTProcPtr) (GLsizei, const GLuint *);
typedef void (* glGenTexturesEXTProcPtr) (GLsizei, GLuint *);
typedef GLboolean (* glIsTextureEXTProcPtr) (GLuint);
typedef void (* glPrioritizeTexturesEXTProcPtr) (GLsizei, const GLuint *, const GLclampf *);
#else
extern GLboolean glAreTexturesResidentEXT(GLsizei, const GLuint *, GLboolean *);
extern void glBindTextureEXT(GLenum, GLuint);
extern void glDeleteTexturesEXT(GLsizei, const GLuint *);
extern void glGenTexturesEXT(GLsizei, GLuint *);
extern GLboolean glIsTextureEXT(GLuint);
extern void glPrioritizeTexturesEXT(GLsizei, const GLuint *, const GLclampf *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_timer_query
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glGetQueryObjecti64vEXTProcPtr)(GLuint id, GLenum pname, GLint64EXT *params);
typedef void (* glGetQueryObjectui64vEXTProcPtr)(GLuint id, GLenum pname, GLuint64EXT *params);
#else
extern void glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64EXT *params);
extern void glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64EXT *params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_EXT_transform_feedback
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBindBufferRangeEXTProcPtr) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
typedef void (* glBindBufferOffsetEXTProcPtr) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
typedef void (* glBindBufferBaseEXTProcPtr) (GLenum target, GLuint index, GLuint buffer);
typedef void (* glBeginTransformFeedbackEXTProcPtr) (GLenum primitiveMode);
typedef void (* glEndTransformFeedbackEXTProcPtr) (void);
typedef void (* glTransformFeedbackVaryingsEXTProcPtr) (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
typedef void (* glGetTransformFeedbackVaryingEXTProcPtr) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
#else
extern void glBindBufferRangeEXT(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
extern void glBindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer, GLintptr offset);
extern void glBindBufferBaseEXT(GLenum target, GLuint index, GLuint buffer);
extern void glBeginTransformFeedbackEXT(GLenum primitiveMode);
extern void glEndTransformFeedbackEXT(void);
extern void glTransformFeedbackVaryingsEXT(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
extern void glGetTransformFeedbackVaryingEXT(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
#endif
#endif /* GL_EXT_transform_feedback */
#if GL_EXT_transform_feedback || GL_EXT_draw_buffers2
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glGetIntegerIndexedvEXTProcPtr) (GLenum param, GLint index, GLint *values);
typedef void (* glGetBooleanIndexedvEXTProcPtr) (GLenum param, GLint index, GLboolean *values);
#else
extern void glGetIntegerIndexedvEXT(GLenum param, GLuint index, GLint *values);
extern void glGetBooleanIndexedvEXT(GLenum param, GLuint index, GLboolean *values);
#endif
#endif /* GL_EXT_transform_feedback || GL_EXT_draw_buffers2 */
#if GL_EXT_vertex_array
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glArrayElementEXTProcPtr) (GLint);
typedef void (* glColorPointerEXTProcPtr) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
typedef void (* glDrawArraysEXTProcPtr) (GLenum, GLint, GLsizei);
typedef void (* glEdgeFlagPointerEXTProcPtr) (GLsizei, GLsizei, const GLvoid *);
typedef void (* glGetPointervEXTProcPtr) (GLenum, GLvoid **);
typedef void (* glIndexPointerEXTProcPtr) (GLenum, GLsizei, GLsizei, const GLvoid *);
typedef void (* glNormalPointerEXTProcPtr) (GLenum, GLsizei, GLsizei, const GLvoid *);
typedef void (* glTexCoordPointerEXTProcPtr) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
typedef void (* glVertexPointerEXTProcPtr) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
#else
extern void glArrayElementEXT(GLint);
extern void glColorPointerEXT(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
extern void glDrawArraysEXT(GLenum, GLint, GLsizei);
extern void glEdgeFlagPointerEXT(GLsizei, GLsizei, const GLvoid *);
extern void glGetPointervEXT(GLenum, GLvoid **);
extern void glIndexPointerEXT(GLenum, GLsizei, GLsizei, const GLvoid *);
extern void glNormalPointerEXT(GLenum, GLsizei, GLsizei, const GLvoid *);
extern void glTexCoordPointerEXT(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
extern void glVertexPointerEXT(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_element_array
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glElementPointerAPPLEProcPtr) (GLenum type, const GLvoid *pointer);
typedef void (* glDrawElementArrayAPPLEProcPtr) (GLenum mode, GLint first, GLsizei count);
typedef void (* glDrawRangeElementArrayAPPLEProcPtr) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
typedef void (* glMultiDrawElementArrayAPPLEProcPtr) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
typedef void (* glMultiDrawRangeElementArrayAPPLEProcPtr) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
#else
extern void glElementPointerAPPLE(GLenum type, const GLvoid *pointer);
extern void glDrawElementArrayAPPLE(GLenum mode, GLint first, GLsizei count);
extern void glDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
extern void glMultiDrawElementArrayAPPLE(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
extern void glMultiDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_fence
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glGenFencesAPPLEProcPtr) (GLsizei n, GLuint *fences);
typedef void (* glDeleteFencesAPPLEProcPtr) (GLsizei n, const GLuint *fences);
typedef void (* glSetFenceAPPLEProcPtr) (GLuint fence);
typedef GLboolean (* glIsFenceAPPLEProcPtr) (GLuint fence);
typedef GLboolean (* glTestFenceAPPLEProcPtr) (GLuint fence);
typedef void (* glFinishFenceAPPLEProcPtr) (GLuint fence);
typedef GLboolean (* glTestObjectAPPLEProcPtr) (GLenum object, GLuint name);
typedef void (* glFinishObjectAPPLEProcPtr) (GLenum object, GLuint name);
#else
extern void glGenFencesAPPLE(GLsizei n, GLuint *fences);
extern void glDeleteFencesAPPLE(GLsizei n, const GLuint *fences);
extern void glSetFenceAPPLE(GLuint fence);
extern GLboolean glIsFenceAPPLE(GLuint fence);
extern GLboolean glTestFenceAPPLE(GLuint fence);
extern void glFinishFenceAPPLE(GLuint fence);
extern GLboolean glTestObjectAPPLE(GLenum object, GLuint name);
extern void glFinishObjectAPPLE(GLenum object, GLuint name);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_flush_buffer_range
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBufferParameteriAPPLEProcPtr) (GLenum target, GLenum pname, GLint param);
typedef void (* glFlushMappedBufferRangeAPPLEProcPtr) (GLenum target, GLintptr offset, GLsizeiptr size);
#else
extern void glBufferParameteriAPPLE(GLenum target, GLenum pname, GLint param);
extern void glFlushMappedBufferRangeAPPLE(GLenum target, GLintptr offset, GLsizeiptr size);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_flush_render
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glFlushRenderAPPLEProcPtr) (void);
typedef void (* glFinishRenderAPPLEProcPtr) (void);
typedef void (* glSwapAPPLEProcPtr) (void);
#else
extern void glFlushRenderAPPLE(void);
extern void glFinishRenderAPPLE(void);
extern void glSwapAPPLE(void);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_object_purgeable
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef GLenum (* glObjectPurgeableAPPLEProcPtr) (GLenum objectType, GLuint name, GLenum option);
typedef GLenum (* glObjectUnpurgeableAPPLEProcPtr) (GLenum objectType, GLuint name, GLenum option);
typedef void (* glGetObjectParameterivAPPLEProcPtr) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
#else
extern GLenum glObjectPurgeableAPPLE(GLenum objectType, GLuint name, GLenum option);
extern GLenum glObjectUnpurgeableAPPLE(GLenum objectType, GLuint name, GLenum option);
extern void glGetObjectParameterivAPPLE(GLenum objectType, GLuint name, GLenum pname, GLint *params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_texture_range
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glTextureRangeAPPLEProcPtr) (GLenum target, GLsizei length, const GLvoid *pointer);
typedef void (* glGetTexParameterPointervAPPLEProcPtr) (GLenum target, GLenum pname, GLvoid **params);
#else
extern void glTextureRangeAPPLE(GLenum target, GLsizei length, const GLvoid *pointer);
extern void glGetTexParameterPointervAPPLE(GLenum target, GLenum pname, GLvoid **params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_vertex_array_object
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBindVertexArrayAPPLEProcPtr) (GLuint id);
typedef void (* glDeleteVertexArraysAPPLEProcPtr) (GLsizei n, const GLuint *ids);
typedef void (* glGenVertexArraysAPPLEProcPtr) (GLsizei n, GLuint *ids);
typedef GLboolean (* glIsVertexArrayAPPLEProcPtr) (GLuint id);
#else
extern void glBindVertexArrayAPPLE(GLuint id);
extern void glDeleteVertexArraysAPPLE(GLsizei n, const GLuint *ids);
extern void glGenVertexArraysAPPLE(GLsizei n, GLuint *ids);
extern GLboolean glIsVertexArrayAPPLE(GLuint id);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_vertex_array_range
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glVertexArrayRangeAPPLEProcPtr) (GLsizei length, const GLvoid *pointer);
typedef void (* glFlushVertexArrayRangeAPPLEProcPtr) (GLsizei length, const GLvoid *pointer);
typedef void (* glVertexArrayParameteriAPPLEProcPtr) (GLenum pname, GLint param);
#else
extern void glVertexArrayRangeAPPLE(GLsizei length, const GLvoid *pointer);
extern void glFlushVertexArrayRangeAPPLE(GLsizei length, const GLvoid *pointer);
extern void glVertexArrayParameteriAPPLE(GLenum pname, GLint param);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_APPLE_vertex_point_size
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glPointSizePointerAPPLEProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glVertexPointSizefAPPLEProcPtr) (GLfloat size);
#else
extern void glPointSizePointerAPPLE(GLenum type, GLsizei stride, const GLvoid *pointer);
extern void glVertexPointSizefAPPLE(GLfloat size);
#endif
#endif
#if GL_APPLE_vertex_program_evaluators
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glEnableVertexAttribAPPLEProcPtr) (GLuint index, GLenum pname);
typedef void (* glDisableVertexAttribAPPLEProcPtr) (GLuint index, GLenum pname);
typedef GLboolean (* glIsVertexAttribEnabledAPPLEProcPtr) (GLuint index, GLenum pname);
typedef void (* glMapVertexAttrib1dAPPLEProcPtr) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
typedef void (* glMapVertexAttrib1fAPPLEProcPtr) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
typedef void (* glMapVertexAttrib2dAPPLEProcPtr) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
typedef void (* glMapVertexAttrib2fAPPLEProcPtr) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
#else
extern void glEnableVertexAttribAPPLE(GLuint index, GLenum pname);
extern void glDisableVertexAttribAPPLE(GLuint index, GLenum pname);
extern GLboolean glIsVertexAttribEnabledAPPLE(GLuint index, GLenum pname);
extern void glMapVertexAttrib1dAPPLE(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
extern void glMapVertexAttrib1fAPPLE(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
extern void glMapVertexAttrib2dAPPLE(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
extern void glMapVertexAttrib2fAPPLE(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ATI_blend_equation_separate
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBlendEquationSeparateATIProcPtr) (GLenum equationRGB, GLenum equationAlpha);
#else
extern void glBlendEquationSeparateATI(GLenum equationRGB, GLenum equationAlpha);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ATI_pn_triangles
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glPNTrianglesiATIProcPtr) (GLenum pname, GLint param);
typedef void (* glPNTrianglesfATIProcPtr) (GLenum pname, GLfloat param);
#else
extern void glPNTrianglesiATI(GLenum pname, GLint param);
extern void glPNTrianglesfATI(GLenum pname, GLfloat param);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ATI_separate_stencil
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glStencilOpSeparateATIProcPtr) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
typedef void (* glStencilFuncSeparateATIProcPtr) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
#else
extern void glStencilOpSeparateATI(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
extern void glStencilFuncSeparateATI(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_ATIX_pn_triangles
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glPNTrianglesiATIXProcPtr) (GLenum pname, GLint param);
typedef void (* glPNTrianglesfATIXProcPtr) (GLenum pname, GLfloat param);
#else
extern void glPNTrianglesiATIX(GLenum pname, GLint param);
extern void glPNTrianglesfATIX(GLenum pname, GLfloat param);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_NV_conditional_render
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBeginConditionalRenderNVProcPtr) (GLuint id, GLenum mode);
typedef void (* glEndConditionalRenderNVProcPtr) (void);
#else
extern void glBeginConditionalRenderNV(GLuint id, GLenum mode);
extern void glEndConditionalRenderNV(void);
#endif
#endif
#if GL_NV_point_sprite
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glPointParameteriNVProcPtr) (GLenum pname, GLint param);
typedef void (* glPointParameterivNVProcPtr) (GLenum pname, const GLint *params);
#else
extern void glPointParameteriNV(GLenum pname, GLint param);
extern void glPointParameterivNV(GLenum pname, const GLint *params);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_NV_register_combiners
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glCombinerParameterfvNVProcPtr) (GLenum, const GLfloat *);
typedef void (* glCombinerParameterfNVProcPtr) (GLenum, GLfloat);
typedef void (* glCombinerParameterivNVProcPtr) (GLenum, const GLint *);
typedef void (* glCombinerParameteriNVProcPtr) (GLenum, GLint);
typedef void (* glCombinerInputNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
typedef void (* glCombinerOutputNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
typedef void (* glFinalCombinerInputNVProcPtr) (GLenum, GLenum, GLenum, GLenum);
typedef void (* glGetCombinerInputParameterfvNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLfloat *);
typedef void (* glGetCombinerInputParameterivNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLint *);
typedef void (* glGetCombinerOutputParameterfvNVProcPtr) (GLenum, GLenum, GLenum, GLfloat *);
typedef void (* glGetCombinerOutputParameterivNVProcPtr) (GLenum, GLenum, GLenum, GLint *);
typedef void (* glGetFinalCombinerInputParameterfvNVProcPtr) (GLenum, GLenum, GLfloat *);
typedef void (* glGetFinalCombinerInputParameterivNVProcPtr) (GLenum, GLenum, GLint *);
#else
extern void glCombinerParameterfvNV (GLenum, const GLfloat *);
extern void glCombinerParameterfNV (GLenum, GLfloat);
extern void glCombinerParameterivNV (GLenum, const GLint *);
extern void glCombinerParameteriNV (GLenum, GLint);
extern void glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
extern void glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
extern void glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
extern void glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
extern void glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
extern void glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
extern void glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
extern void glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
extern void glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_NV_register_combiners2
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glCombinerStageParameterfvNVProcPtr) (GLenum, GLenum, const GLfloat *);
typedef void (* glGetCombinerStageParameterfvNVProcPtr) (GLenum, GLenum, GLfloat *);
#else
extern void glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *);
extern void glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_NV_texture_barrier
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glTextureBarrierNVProcPtr) (void);
#else
extern void glTextureBarrierNV (void);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_NV_vertex_array_range
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glFlushVertexArrayRangeNVProcPtr) (void);
typedef void (* glVertexArrayRangeNVProcPtr) (GLsizei, const GLvoid *);
#else
extern void glFlushVertexArrayRangeNV (void);
extern void glVertexArrayRangeNV (GLsizei, const GLvoid *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_NV_vertex_program
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glBindProgramNVProcPtr) (GLenum target, GLuint id);
typedef void (* glDeleteProgramsNVProcPtr) (GLsizei n, const GLuint *ids);
typedef void (* glExecuteProgramNVProcPtr) (GLenum target, GLuint id, const GLfloat *params);
typedef void (* glGenProgramsNVProcPtr) (GLsizei n, GLuint *ids);
typedef GLboolean (* glAreProgramsResidentNVProcPtr) (GLsizei n, const GLuint *ids, GLboolean *residences);
typedef void (* glRequestResidentProgramsNVProcPtr) (GLsizei n, GLuint *ids);
typedef void (* glGetProgramParameterfvNVProcPtr) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
typedef void (* glGetProgramParameterdvNVProcPtr) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
typedef void (* glGetProgramivNVProcPtr) (GLuint id, GLenum pname, GLint *params);
typedef void (* glGetProgramStringNVProcPtr) (GLuint id, GLenum pname, GLubyte *program);
typedef void (* glGetTrackMatrixivNVProcPtr) (GLenum target, GLuint address, GLenum pname, GLint *params);
typedef void (* glGetVertexAttribdvNVProcPtr) (GLuint index, GLenum pname, GLdouble *params);
typedef void (* glGetVertexAttribfvNVProcPtr) (GLuint index, GLenum pname, GLfloat *params);
typedef void (* glGetVertexAttribivNVProcPtr) (GLuint index, GLenum pname, GLint *params);
typedef void (* glGetVertexAttribPointervNVProcPtr) (GLuint index, GLenum pname, GLvoid **pointer);
typedef GLboolean (* glIsProgramNVProcPtr) (GLuint id);
typedef void (* glLoadProgramNVProcPtr) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
typedef void (* glProgramParameter4fNVProcPtr) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glProgramParameter4dNVProcPtr) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glProgramParameter4dvNVProcPtr) (GLenum target, GLuint index, const GLdouble *params);
typedef void (* glProgramParameter4fvNVProcPtr) (GLenum target, GLuint index, const GLfloat *params);
typedef void (* glProgramParameters4dvNVProcPtr) (GLenum target, GLuint index, GLuint num, const GLdouble *params);
typedef void (* glProgramParameters4fvNVProcPtr) (GLenum target, GLuint index, GLuint num, const GLfloat *params);
typedef void (* glTrackMatrixNVProcPtr) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
typedef void (* glVertexAttribPointerNVProcPtr) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (* glVertexAttrib1sNVProcPtr) (GLuint index, GLshort x);
typedef void (* glVertexAttrib1fNVProcPtr) (GLuint index, GLfloat x);
typedef void (* glVertexAttrib1dNVProcPtr) (GLuint index, GLdouble x);
typedef void (* glVertexAttrib2sNVProcPtr) (GLuint index, GLshort x, GLshort y);
typedef void (* glVertexAttrib2fNVProcPtr) (GLuint index, GLfloat x, GLfloat y);
typedef void (* glVertexAttrib2dNVProcPtr) (GLuint index, GLdouble x, GLdouble y);
typedef void (* glVertexAttrib3sNVProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z);
typedef void (* glVertexAttrib3fNVProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
typedef void (* glVertexAttrib3dNVProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
typedef void (* glVertexAttrib4sNVProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
typedef void (* glVertexAttrib4fNVProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (* glVertexAttrib4dNVProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (* glVertexAttrib4ubNVProcPtr) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
typedef void (* glVertexAttrib1svNVProcPtr) (GLuint index, GLshort *v);
typedef void (* glVertexAttrib1fvNVProcPtr) (GLuint index, GLfloat *v);
typedef void (* glVertexAttrib1dvNVProcPtr) (GLuint index, GLdouble *v);
typedef void (* glVertexAttrib2svNVProcPtr) (GLuint index, GLshort *v);
typedef void (* glVertexAttrib2fvNVProcPtr) (GLuint index, GLfloat *v);
typedef void (* glVertexAttrib2dvNVProcPtr) (GLuint index, GLdouble *v);
typedef void (* glVertexAttrib3svNVProcPtr) (GLuint index, GLshort *v);
typedef void (* glVertexAttrib3fvNVProcPtr) (GLuint index, GLfloat *v);
typedef void (* glVertexAttrib3dvNVProcPtr) (GLuint index, GLdouble *v);
typedef void (* glVertexAttrib4svNVProcPtr) (GLuint index, GLshort *v);
typedef void (* glVertexAttrib4fvNVProcPtr) (GLuint index, GLfloat *v);
typedef void (* glVertexAttrib4dvNVProcPtr) (GLuint index, GLdouble *v);
typedef void (* glVertexAttrib4ubvNVProcPtr) (GLuint index, GLubyte *v);
typedef void (* glVertexAttribs1svNVProcPtr) (GLuint index, GLsizei n, GLshort *v);
typedef void (* glVertexAttribs1fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v);
typedef void (* glVertexAttribs1dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v);
typedef void (* glVertexAttribs2svNVProcPtr) (GLuint index, GLsizei n, GLshort *v);
typedef void (* glVertexAttribs2fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v);
typedef void (* glVertexAttribs2dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v);
typedef void (* glVertexAttribs3svNVProcPtr) (GLuint index, GLsizei n, GLshort *v);
typedef void (* glVertexAttribs3fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v);
typedef void (* glVertexAttribs3dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v);
typedef void (* glVertexAttribs4svNVProcPtr) (GLuint index, GLsizei n, GLshort *v);
typedef void (* glVertexAttribs4fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v);
typedef void (* glVertexAttribs4dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v);
typedef void (* glVertexAttribs4ubvNVProcPtr) (GLuint index, GLsizei n, GLubyte *v);
#else
extern void glBindProgramNV(GLenum target, GLuint id);
extern void glDeleteProgramsNV(GLsizei n, const GLuint *ids);
extern void glExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params);
extern void glGenProgramsNV(GLsizei n, GLuint *ids);
extern GLboolean glAreProgramsResidentNV(GLsizei n, const GLuint *ids, GLboolean *residences);
extern void glRequestResidentProgramsNV(GLsizei n, GLuint *ids);
extern void glGetProgramParameterfvNV(GLenum target, GLuint index, GLenum pname, GLfloat *params);
extern void glGetProgramParameterdvNV(GLenum target, GLuint index, GLenum pname, GLdouble *params);
extern void glGetProgramivNV(GLuint id, GLenum pname, GLint *params);
extern void glGetProgramStringNV(GLuint id, GLenum pname, GLubyte *program);
extern void glGetTrackMatrixivNV(GLenum target, GLuint address, GLenum pname, GLint *params);
extern void glGetVertexAttribdvNV(GLuint index, GLenum pname, GLdouble *params);
extern void glGetVertexAttribfvNV(GLuint index, GLenum pname, GLfloat *params);
extern void glGetVertexAttribivNV(GLuint index, GLenum pname, GLint *params);
extern void glGetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer);
extern GLboolean glIsProgramNV(GLuint id);
extern void glLoadProgramNV(GLenum target, GLuint id, GLsizei len, const GLubyte *program);
extern void glProgramParameter4fNV(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
extern void glProgramParameter4dNV(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
extern void glProgramParameter4dvNV(GLenum target, GLuint index, const GLdouble *params);
extern void glProgramParameter4fvNV(GLenum target, GLuint index, const GLfloat *params);
extern void glProgramParameters4dvNV(GLenum target, GLuint index, GLuint num, const GLdouble *params);
extern void glProgramParameters4fvNV(GLenum target, GLuint index, GLuint num, const GLfloat *params);
extern void glTrackMatrixNV(GLenum target, GLuint address, GLenum matrix, GLenum transform);
extern void glVertexAttribPointerNV(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
extern void glVertexAttrib1sNV(GLuint index, GLshort x);
extern void glVertexAttrib1fNV(GLuint index, GLfloat x);
extern void glVertexAttrib1dNV(GLuint index, GLdouble x);
extern void glVertexAttrib2sNV(GLuint index, GLshort x, GLshort y);
extern void glVertexAttrib2fNV(GLuint index, GLfloat x, GLfloat y);
extern void glVertexAttrib2dNV(GLuint index, GLdouble x, GLdouble y);
extern void glVertexAttrib3sNV(GLuint index, GLshort x, GLshort y, GLshort z);
extern void glVertexAttrib3fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z);
extern void glVertexAttrib3dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z);
extern void glVertexAttrib4sNV(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
extern void glVertexAttrib4fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
extern void glVertexAttrib4dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
extern void glVertexAttrib4ubNV(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
extern void glVertexAttrib1svNV(GLuint index, GLshort *v);
extern void glVertexAttrib1fvNV(GLuint index, GLfloat *v);
extern void glVertexAttrib1dvNV(GLuint index, GLdouble *v);
extern void glVertexAttrib2svNV(GLuint index, GLshort *v);
extern void glVertexAttrib2fvNV(GLuint index, GLfloat *v);
extern void glVertexAttrib2dvNV(GLuint index, GLdouble *v);
extern void glVertexAttrib3svNV(GLuint index, GLshort *v);
extern void glVertexAttrib3fvNV(GLuint index, GLfloat *v);
extern void glVertexAttrib3dvNV(GLuint index, GLdouble *v);
extern void glVertexAttrib4svNV(GLuint index, GLshort *v);
extern void glVertexAttrib4fvNV(GLuint index, GLfloat *v);
extern void glVertexAttrib4dvNV(GLuint index, GLdouble *v);
extern void glVertexAttrib4ubvNV(GLuint index, GLubyte *v);
extern void glVertexAttribs1svNV(GLuint index, GLsizei n, GLshort *v);
extern void glVertexAttribs1fvNV(GLuint index, GLsizei n, GLfloat *v);
extern void glVertexAttribs1dvNV(GLuint index, GLsizei n, GLdouble *v);
extern void glVertexAttribs2svNV(GLuint index, GLsizei n, GLshort *v);
extern void glVertexAttribs2fvNV(GLuint index, GLsizei n, GLfloat *v);
extern void glVertexAttribs2dvNV(GLuint index, GLsizei n, GLdouble *v);
extern void glVertexAttribs3svNV(GLuint index, GLsizei n, GLshort *v);
extern void glVertexAttribs3fvNV(GLuint index, GLsizei n, GLfloat *v);
extern void glVertexAttribs3dvNV(GLuint index, GLsizei n, GLdouble *v);
extern void glVertexAttribs4svNV(GLuint index, GLsizei n, GLshort *v);
extern void glVertexAttribs4fvNV(GLuint index, GLsizei n, GLfloat *v);
extern void glVertexAttribs4dvNV(GLuint index, GLsizei n, GLdouble *v);
extern void glVertexAttribs4ubvNV(GLuint index, GLsizei n, GLubyte *v);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#if GL_SGI_color_table
#ifdef GL_GLEXT_FUNCTION_POINTERS
typedef void (* glColorTableSGIProcPtr) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
typedef void (* glColorTableParameterfvSGIProcPtr) (GLenum, GLenum, const GLfloat *);
typedef void (* glColorTableParameterivSGIProcPtr) (GLenum, GLenum, const GLint *);
typedef void (* glCopyColorTableSGIProcPtr) (GLenum, GLenum, GLint, GLint, GLsizei);
typedef void (* glGetColorTableSGIProcPtr) (GLenum, GLenum, GLenum, GLvoid *);
typedef void (* glGetColorTableParameterfvSGIProcPtr) (GLenum, GLenum, GLfloat *);
typedef void (* glGetColorTableParameterivSGIProcPtr) (GLenum, GLenum, GLint *);
#else
extern void glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
extern void glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
extern void glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
extern void glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
extern void glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
extern void glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
extern void glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
#endif /* GL_GLEXT_FUNCTION_POINTERS */
#endif
#ifdef __cplusplus
}
#endif
#endif
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef _OPENGL_H
#define _OPENGL_H
#include <OpenGL/OpenGLAvailability.h>
#include <OpenGL/CGLCurrent.h>
#include <OpenGL/CGLDevice.h>
#include <OpenGL/CGLRenderers.h>
#include <OpenGL/CGLIOSurface.h>
#include <OpenGL/gltypes.h>
#ifdef __cplusplus
extern "C" {
#endif
OPENGL_ASSUME_NONNULL_BEGIN
/*
** CGL API version.
*/
#define CGL_VERSION_1_0 1
#define CGL_VERSION_1_1 1
#define CGL_VERSION_1_2 1
#define CGL_VERSION_1_3 1
/*
** Pixel format functions
*/
extern CGLError CGLChoosePixelFormat(const CGLPixelFormatAttribute *attribs, CGLPixelFormatObj OPENGL_NULLABLE * OPENGL_NONNULL pix, GLint *npix) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLDestroyPixelFormat(CGLPixelFormatObj pix) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLDescribePixelFormat(CGLPixelFormatObj pix, GLint pix_num, CGLPixelFormatAttribute attrib, GLint *value) OPENGL_DEPRECATED(10.0, 10.14);
extern void CGLReleasePixelFormat(CGLPixelFormatObj pix) OPENGL_AVAILABLE(10_5) OPENGL_DEPRECATED(10.5, 10.14);
extern CGLPixelFormatObj CGLRetainPixelFormat(CGLPixelFormatObj pix) OPENGL_AVAILABLE(10_5) OPENGL_DEPRECATED(10.5, 10.14);
extern GLuint CGLGetPixelFormatRetainCount(CGLPixelFormatObj pix) OPENGL_AVAILABLE(10_5) OPENGL_DEPRECATED(10.5, 10.14);
/*
** Renderer information functions
*/
extern CGLError CGLQueryRendererInfo(GLuint display_mask, CGLRendererInfoObj OPENGL_NULLABLE * OPENGL_NONNULL rend, GLint *nrend) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLDestroyRendererInfo(CGLRendererInfoObj rend) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLDescribeRenderer(CGLRendererInfoObj rend, GLint rend_num, CGLRendererProperty prop, GLint * OPENGL_NULLABLE value) OPENGL_DEPRECATED(10.0, 10.14);
/*
** Context functions
*/
extern CGLError CGLCreateContext(CGLPixelFormatObj pix, CGLContextObj OPENGL_NULLABLE share, CGLContextObj OPENGL_NULLABLE * OPENGL_NONNULL ctx) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLDestroyContext(CGLContextObj ctx) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLCopyContext(CGLContextObj src, CGLContextObj dst, GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.8);
extern CGLContextObj CGLRetainContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_5) OPENGL_DEPRECATED(10.4, 10.14);
extern void CGLReleaseContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_5) OPENGL_DEPRECATED(10.4, 10.14);
extern GLuint CGLGetContextRetainCount(CGLContextObj ctx) OPENGL_AVAILABLE(10_5) OPENGL_DEPRECATED(10.5, 10.14);
extern CGLPixelFormatObj OPENGL_NULLABLE CGLGetPixelFormat(CGLContextObj ctx) OPENGL_AVAILABLE(10_5) OPENGL_DEPRECATED(10.5, 10.14);
/*
** PBuffer functions
*/
extern CGLError CGLCreatePBuffer(GLsizei width, GLsizei height, GLenum target, GLenum internalFormat, GLint max_level, CGLPBufferObj OPENGL_NULLABLE * OPENGL_NONNULL pbuffer) OPENGL_DEPRECATED(10.3, 10.7);
extern CGLError CGLDestroyPBuffer(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10.3, 10.7);
extern CGLError CGLDescribePBuffer(CGLPBufferObj obj, GLsizei *width, GLsizei *height, GLenum *target, GLenum *internalFormat, GLint *mipmap) OPENGL_DEPRECATED(10.3, 10.7);
extern CGLError CGLTexImagePBuffer(CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum source) OPENGL_DEPRECATED(10.3, 10.7);
extern CGLPBufferObj CGLRetainPBuffer(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10.5, 10.7);
extern void CGLReleasePBuffer(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10.5, 10.7);
extern GLuint CGLGetPBufferRetainCount(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10.5, 10.7);
/*
** Drawable Functions
*/
extern CGLError CGLSetOffScreen(CGLContextObj ctx, GLsizei width, GLsizei height, GLint rowbytes, void *baseaddr) OPENGL_DEPRECATED(10.0, 10.7);
extern CGLError CGLGetOffScreen(CGLContextObj ctx, GLsizei *width, GLsizei *height, GLint *rowbytes, void * OPENGL_NULLABLE * OPENGL_NONNULL baseaddr) OPENGL_DEPRECATED(10.0, 10.7);
extern CGLError CGLSetFullScreen(CGLContextObj ctx) OPENGL_DEPRECATED(10.0, 10.6);
extern CGLError CGLSetFullScreenOnDisplay(CGLContextObj ctx, GLuint display_mask) OPENGL_DEPRECATED(10.5, 10.7);
extern CGLError CGLSetPBuffer(CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum face, GLint level, GLint screen) OPENGL_DEPRECATED(10.3, 10.7);
extern CGLError CGLGetPBuffer(CGLContextObj ctx, CGLPBufferObj OPENGL_NULLABLE * OPENGL_NONNULL pbuffer, GLenum *face, GLint *level, GLint *screen) OPENGL_DEPRECATED(10.3, 10.7);
extern CGLError CGLClearDrawable(CGLContextObj ctx) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLFlushDrawable(CGLContextObj ctx) OPENGL_DEPRECATED(10.0, 10.14);
/*
** Per context enables and parameters
*/
extern CGLError CGLEnable(CGLContextObj ctx, CGLContextEnable pname) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLDisable(CGLContextObj ctx, CGLContextEnable pname) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLIsEnabled(CGLContextObj ctx, CGLContextEnable pname, GLint *enable) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLSetParameter(CGLContextObj ctx, CGLContextParameter pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLGetParameter(CGLContextObj ctx, CGLContextParameter pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14);
/*
** Virtual screen functions
*/
extern CGLError CGLSetVirtualScreen(CGLContextObj ctx, GLint screen) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLGetVirtualScreen(CGLContextObj ctx, GLint *screen) OPENGL_DEPRECATED(10.0, 10.14);
extern CGLError CGLUpdateContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_7) OPENGL_DEPRECATED(10.7, 10.14);
/*
** Global library options
*/
extern CGLError CGLSetGlobalOption(CGLGlobalOption pname, const GLint * OPENGL_NULLABLE params) OPENGL_AVAILABLE(10_6) OPENGL_DEPRECATED(10.6, 10.14);
extern CGLError CGLGetGlobalOption(CGLGlobalOption pname, GLint *params) OPENGL_AVAILABLE(10_6) OPENGL_DEPRECATED(10.6, 10.14);
extern CGLError CGLSetOption(CGLGlobalOption pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); /* Use CGLSetGlobalOption */
extern CGLError CGLGetOption(CGLGlobalOption pname, GLint *param) OPENGL_DEPRECATED(10.0, 10.14); /* Use CGLGetGlobalOption */
/*
** Locking functions
*/
extern CGLError CGLLockContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_4) OPENGL_DEPRECATED(10.4, 10.14);
extern CGLError CGLUnlockContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_4) OPENGL_DEPRECATED(10.4, 10.14);
/*
** Version numbers
*/
extern void CGLGetVersion(GLint * OPENGL_NULLABLE majorvers, GLint * OPENGL_NULLABLE minorvers) OPENGL_DEPRECATED(10.0, 10.14);
/*
** Convert an error code to a string
*/
const char *CGLErrorString(CGLError error) OPENGL_DEPRECATED(10.0, 10.14);
OPENGL_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif /* _OPENGL_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/CGLContext.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef _CGLCONTEXT_H
#define _CGLCONTEXT_H
#include <OpenGL/gliContext.h>
#include <OpenGL/gliDispatch.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
** Opaque declaration for private CGLContext data.
*/
typedef struct _CGLPrivateObject *CGLPrivateObj;
/*
** CGLContext structure.
*/
struct _CGLContextObject {
GLIContext rend;
GLIFunctionDispatch disp;
CGLPrivateObj priv;
void *stak;
};
#ifdef __cplusplus
}
#endif
#endif /* _CGLCONTEXT_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/glu.h | /*
Copyright: (c) 1999-2012 Apple Inc. All rights reserved.
*/
#ifndef __glu_h__
#define __glu_h__
#include <OpenGL/OpenGLAvailability.h>
#include <OpenGL/gl.h>
#ifdef __cplusplus
extern "C" {
#endif
/*************************************************************/
/* Extensions */
#define GLU_EXT_object_space_tess 1
#define GLU_EXT_nurbs_tessellator 1
/* Boolean */
#define GLU_FALSE 0
#define GLU_TRUE 1
/* Version */
#define GLU_VERSION_1_1 1
#define GLU_VERSION_1_2 1
#define GLU_VERSION_1_3 1
/* StringName */
#define GLU_VERSION 100800
#define GLU_EXTENSIONS 100801
/* ErrorCode */
#define GLU_INVALID_ENUM 100900
#define GLU_INVALID_VALUE 100901
#define GLU_OUT_OF_MEMORY 100902
#define GLU_INCOMPATIBLE_GL_VERSION 100903
#define GLU_INVALID_OPERATION 100904
/* NurbsDisplay */
/* GLU_FILL */
#define GLU_OUTLINE_POLYGON 100240
#define GLU_OUTLINE_PATCH 100241
/* NurbsCallback */
#define GLU_NURBS_ERROR 100103
#define GLU_ERROR 100103
#define GLU_NURBS_BEGIN 100164
#define GLU_NURBS_BEGIN_EXT 100164
#define GLU_NURBS_VERTEX 100165
#define GLU_NURBS_VERTEX_EXT 100165
#define GLU_NURBS_NORMAL 100166
#define GLU_NURBS_NORMAL_EXT 100166
#define GLU_NURBS_COLOR 100167
#define GLU_NURBS_COLOR_EXT 100167
#define GLU_NURBS_TEXTURE_COORD 100168
#define GLU_NURBS_TEX_COORD_EXT 100168
#define GLU_NURBS_END 100169
#define GLU_NURBS_END_EXT 100169
#define GLU_NURBS_BEGIN_DATA 100170
#define GLU_NURBS_BEGIN_DATA_EXT 100170
#define GLU_NURBS_VERTEX_DATA 100171
#define GLU_NURBS_VERTEX_DATA_EXT 100171
#define GLU_NURBS_NORMAL_DATA 100172
#define GLU_NURBS_NORMAL_DATA_EXT 100172
#define GLU_NURBS_COLOR_DATA 100173
#define GLU_NURBS_COLOR_DATA_EXT 100173
#define GLU_NURBS_TEXTURE_COORD_DATA 100174
#define GLU_NURBS_TEX_COORD_DATA_EXT 100174
#define GLU_NURBS_END_DATA 100175
#define GLU_NURBS_END_DATA_EXT 100175
/* NurbsError */
#define GLU_NURBS_ERROR1 100251 /* spline order un-supported */
#define GLU_NURBS_ERROR2 100252 /* too few knots */
#define GLU_NURBS_ERROR3 100253 /* valid knot range is empty */
#define GLU_NURBS_ERROR4 100254 /* decreasing knot sequence */
#define GLU_NURBS_ERROR5 100255 /* knot multiplicity > spline order */
#define GLU_NURBS_ERROR6 100256 /* endcurve() must follow bgncurve() */
#define GLU_NURBS_ERROR7 100257 /* bgncurve() must precede endcurve() */
#define GLU_NURBS_ERROR8 100258 /* ctrlarray or knot vector is NULL */
#define GLU_NURBS_ERROR9 100259 /* can't draw pwlcurves */
#define GLU_NURBS_ERROR10 100260 /* missing gluNurbsCurve() */
#define GLU_NURBS_ERROR11 100261 /* missing gluNurbsSurface() */
#define GLU_NURBS_ERROR12 100262 /* endtrim() must precede endsurface() */
#define GLU_NURBS_ERROR13 100263 /* bgnsurface() must precede endsurface() */
#define GLU_NURBS_ERROR14 100264 /* curve of improper type passed as trim curve */
#define GLU_NURBS_ERROR15 100265 /* bgnsurface() must precede bgntrim() */
#define GLU_NURBS_ERROR16 100266 /* endtrim() must follow bgntrim() */
#define GLU_NURBS_ERROR17 100267 /* bgntrim() must precede endtrim()*/
#define GLU_NURBS_ERROR18 100268 /* invalid or missing trim curve*/
#define GLU_NURBS_ERROR19 100269 /* bgntrim() must precede pwlcurve() */
#define GLU_NURBS_ERROR20 100270 /* pwlcurve referenced twice*/
#define GLU_NURBS_ERROR21 100271 /* pwlcurve and nurbscurve mixed */
#define GLU_NURBS_ERROR22 100272 /* improper usage of trim data type */
#define GLU_NURBS_ERROR23 100273 /* nurbscurve referenced twice */
#define GLU_NURBS_ERROR24 100274 /* nurbscurve and pwlcurve mixed */
#define GLU_NURBS_ERROR25 100275 /* nurbssurface referenced twice */
#define GLU_NURBS_ERROR26 100276 /* invalid property */
#define GLU_NURBS_ERROR27 100277 /* endsurface() must follow bgnsurface() */
#define GLU_NURBS_ERROR28 100278 /* intersecting or misoriented trim curves */
#define GLU_NURBS_ERROR29 100279 /* intersecting trim curves */
#define GLU_NURBS_ERROR30 100280 /* UNUSED */
#define GLU_NURBS_ERROR31 100281 /* unconnected trim curves */
#define GLU_NURBS_ERROR32 100282 /* unknown knot error */
#define GLU_NURBS_ERROR33 100283 /* negative vertex count encountered */
#define GLU_NURBS_ERROR34 100284 /* negative byte-stride */
#define GLU_NURBS_ERROR35 100285 /* unknown type descriptor */
#define GLU_NURBS_ERROR36 100286 /* null control point reference */
#define GLU_NURBS_ERROR37 100287 /* duplicate point on pwlcurve */
/* NurbsProperty */
#define GLU_AUTO_LOAD_MATRIX 100200
#define GLU_CULLING 100201
#define GLU_SAMPLING_TOLERANCE 100203
#define GLU_DISPLAY_MODE 100204
#define GLU_PARAMETRIC_TOLERANCE 100202
#define GLU_SAMPLING_METHOD 100205
#define GLU_U_STEP 100206
#define GLU_V_STEP 100207
#define GLU_NURBS_MODE 100160
#define GLU_NURBS_MODE_EXT 100160
#define GLU_NURBS_TESSELLATOR 100161
#define GLU_NURBS_TESSELLATOR_EXT 100161
#define GLU_NURBS_RENDERER 100162
#define GLU_NURBS_RENDERER_EXT 100162
/* NurbsSampling */
#define GLU_OBJECT_PARAMETRIC_ERROR 100208
#define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208
#define GLU_OBJECT_PATH_LENGTH 100209
#define GLU_OBJECT_PATH_LENGTH_EXT 100209
#define GLU_PATH_LENGTH 100215
#define GLU_PARAMETRIC_ERROR 100216
#define GLU_DOMAIN_DISTANCE 100217
/* NurbsTrim */
#define GLU_MAP1_TRIM_2 100210
#define GLU_MAP1_TRIM_3 100211
/* QuadricDrawStyle */
#define GLU_POINT 100010
#define GLU_LINE 100011
#define GLU_FILL 100012
#define GLU_SILHOUETTE 100013
/* QuadricCallback */
/* GLU_ERROR */
/* QuadricNormal */
#define GLU_SMOOTH 100000
#define GLU_FLAT 100001
#define GLU_NONE 100002
/* QuadricOrientation */
#define GLU_OUTSIDE 100020
#define GLU_INSIDE 100021
/* TessCallback */
#define GLU_TESS_BEGIN 100100
#define GLU_BEGIN 100100
#define GLU_TESS_VERTEX 100101
#define GLU_VERTEX 100101
#define GLU_TESS_END 100102
#define GLU_END 100102
#define GLU_TESS_ERROR 100103
#define GLU_TESS_EDGE_FLAG 100104
#define GLU_EDGE_FLAG 100104
#define GLU_TESS_COMBINE 100105
#define GLU_TESS_BEGIN_DATA 100106
#define GLU_TESS_VERTEX_DATA 100107
#define GLU_TESS_END_DATA 100108
#define GLU_TESS_ERROR_DATA 100109
#define GLU_TESS_EDGE_FLAG_DATA 100110
#define GLU_TESS_COMBINE_DATA 100111
/* TessContour */
#define GLU_CW 100120
#define GLU_CCW 100121
#define GLU_INTERIOR 100122
#define GLU_EXTERIOR 100123
#define GLU_UNKNOWN 100124
/* TessProperty */
#define GLU_TESS_WINDING_RULE 100140
#define GLU_TESS_BOUNDARY_ONLY 100141
#define GLU_TESS_TOLERANCE 100142
/* TessError */
#define GLU_TESS_ERROR1 100151
#define GLU_TESS_ERROR2 100152
#define GLU_TESS_ERROR3 100153
#define GLU_TESS_ERROR4 100154
#define GLU_TESS_ERROR5 100155
#define GLU_TESS_ERROR6 100156
#define GLU_TESS_ERROR7 100157
#define GLU_TESS_ERROR8 100158
#define GLU_TESS_MISSING_BEGIN_POLYGON 100151
#define GLU_TESS_MISSING_BEGIN_CONTOUR 100152
#define GLU_TESS_MISSING_END_POLYGON 100153
#define GLU_TESS_MISSING_END_CONTOUR 100154
#define GLU_TESS_COORD_TOO_LARGE 100155
#define GLU_TESS_NEED_COMBINE_CALLBACK 100156
/* TessWinding */
#define GLU_TESS_WINDING_ODD 100130
#define GLU_TESS_WINDING_NONZERO 100131
#define GLU_TESS_WINDING_POSITIVE 100132
#define GLU_TESS_WINDING_NEGATIVE 100133
#define GLU_TESS_WINDING_ABS_GEQ_TWO 100134
/*************************************************************/
#ifdef __cplusplus
class GLUnurbs;
class GLUquadric;
class GLUtesselator;
typedef class GLUnurbs GLUnurbsObj OPENGL_DEPRECATED(10.0, 10.9);
typedef class GLUquadric GLUquadricObj OPENGL_DEPRECATED(10.0, 10.9);
typedef class GLUtesselator GLUtesselatorObj OPENGL_DEPRECATED(10.0, 10.9);
typedef class GLUtesselator GLUtriangulatorObj OPENGL_DEPRECATED(10.0, 10.9);
#else
typedef struct GLUnurbs GLUnurbs OPENGL_DEPRECATED(10.0, 10.9);
typedef struct GLUquadric GLUquadric OPENGL_DEPRECATED(10.0, 10.9);
typedef struct GLUtesselator GLUtesselator OPENGL_DEPRECATED(10.0, 10.9);
typedef struct GLUnurbs GLUnurbsObj OPENGL_DEPRECATED(10.0, 10.9);
typedef struct GLUquadric GLUquadricObj OPENGL_DEPRECATED(10.0, 10.9);
typedef struct GLUtesselator GLUtesselatorObj OPENGL_DEPRECATED(10.0, 10.9);
typedef struct GLUtesselator GLUtriangulatorObj OPENGL_DEPRECATED(10.0, 10.9);
#endif
#define GLU_TESS_MAX_COORD 1.0e150
extern void gluBeginCurve (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluBeginPolygon (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluBeginSurface (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluBeginTrim (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9);
extern GLint gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) OPENGL_DEPRECATED_MSG(10_2, 10_9, "Use glGenerateMipmap");
extern GLint gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use glGenerateMipmap");
extern GLint gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) OPENGL_DEPRECATED_MSG(10_2, 10_9, "Use glGenerateMipmap");
extern GLint gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use glGenerateMipmap");
extern GLint gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data) OPENGL_DEPRECATED_MSG(10_2, 10_9, "Use glGenerateMipmap");
extern GLint gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED_MSG(10_2, 10_9, "Use glGenerateMipmap");
extern GLboolean gluCheckExtension (const GLubyte *extName, const GLubyte *extString) OPENGL_DEPRECATED(10.2, 10.9);
extern void gluCylinder (GLUquadric* quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluDeleteNurbsRenderer (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluDeleteQuadric (GLUquadric* quad) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluDeleteTess (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluEndCurve (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluEndPolygon (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluEndSurface (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluEndTrim (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9);
extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluGetNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat* data) OPENGL_DEPRECATED(10.0, 10.9);
extern const GLubyte * gluGetString (GLenum name) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluGetTessProperty (GLUtesselator* tess, GLenum which, GLdouble* data) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluLoadSamplingMatrices (GLUnurbs* nurb, const GLfloat *model, const GLfloat *perspective, const GLint *view) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluLookAt (GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakeLookAt");
extern GLUnurbs* gluNewNurbsRenderer (void) OPENGL_DEPRECATED(10.0, 10.9);
extern GLUquadric* gluNewQuadric (void) OPENGL_DEPRECATED(10.0, 10.9);
extern GLUtesselator* gluNewTess (void) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluNextContour (GLUtesselator* tess, GLenum type) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluNurbsCallback (GLUnurbs* nurb, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluNurbsCallbackData (GLUnurbs* nurb, GLvoid* userData) OPENGL_DEPRECATED(10.2, 10.9);
extern void gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluNurbsCurve (GLUnurbs* nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat value) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluNurbsSurface (GLUnurbs* nurb, GLint sKnotCount, GLfloat* sKnots, GLint tKnotCount, GLfloat* tKnots, GLint sStride, GLint tStride, GLfloat* control, GLint sOrder, GLint tOrder, GLenum type) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakeOrtho");
extern void gluPartialDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakePerspective");
extern void gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport) OPENGL_DEPRECATED(10.0, 10.9);
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
extern void gluPwlCurve (GLUnurbs* nurb, GLint count, GLfloat* data, GLint stride, GLenum type) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluQuadricCallback (GLUquadric* quad, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluQuadricDrawStyle (GLUquadric* quad, GLenum draw) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluQuadricNormals (GLUquadric* quad, GLenum normal) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluQuadricOrientation (GLUquadric* quad, GLenum orientation) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluQuadricTexture (GLUquadric* quad, GLboolean texture) OPENGL_DEPRECATED(10.0, 10.9);
extern GLint gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid* dataOut) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluSphere (GLUquadric* quad, GLdouble radius, GLint slices, GLint stacks) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessBeginContour (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessBeginPolygon (GLUtesselator* tess, GLvoid* data) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessEndContour (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessEndPolygon (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessNormal (GLUtesselator* tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessProperty (GLUtesselator* tess, GLenum which, GLdouble data) OPENGL_DEPRECATED(10.0, 10.9);
extern void gluTessVertex (GLUtesselator* tess, GLdouble *location, GLvoid* data) OPENGL_DEPRECATED(10.0, 10.9);
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathUnproject");
extern GLint gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearPlane, GLdouble farPlane, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW) OPENGL_DEPRECATED_MSG(10_2, 10_9, "Use GLKMathUnproject");
#ifdef __cplusplus
}
#endif
#endif /* __glu_h__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/CGLTypes.h | /*
Copyright: (c) 1999-2013 Apple Inc. All rights reserved.
*/
#ifndef _CGLTYPES_H
#define _CGLTYPES_H
#include <OpenGL/OpenGLAvailability.h>
#ifdef __cplusplus
extern "C" {
#endif
#if __has_feature(assume_nonnull)
#define OPENGL_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
#define OPENGL_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
#else
#define OPENGL_ASSUME_NONNULL_BEGIN
#define OPENGL_ASSUME_NONNULL_END
#endif
#if __has_feature(nullability)
#define OPENGL_NULLABLE __nullable
#define OPENGL_NONNULL __nonnull
#else
#define OPENGL_NULLABLE
#define OPENGL_NONNULL
#endif
#if __has_attribute(objc_bridge) && __has_feature(objc_bridge_id) && __has_feature(objc_bridge_id_on_typedefs)
#define OPENGL_BRIDGED_TYPE(T) __attribute__((objc_bridge(T)))
#else
#define OPENGL_BRIDGED_TYPE(T)
#endif
#if __has_feature(objc_class_property)
#define OPENGL_SWIFT_NAME(name) __attribute__((swift_name(#name)))
#else
#define OPENGL_SWIFT_NAME(name)
#endif
/*
** CGL opaque data.
*/
typedef struct _CGLContextObject *CGLContextObj;
typedef struct _CGLPixelFormatObject *CGLPixelFormatObj;
typedef struct _CGLRendererInfoObject *CGLRendererInfoObj;
typedef struct _CGLPBufferObject *CGLPBufferObj OPENGL_DEPRECATED(10.3, 10.7);
/*
** Attribute names for CGLChoosePixelFormat and CGLDescribePixelFormat.
*/
typedef enum _CGLPixelFormatAttribute {
kCGLPFAAllRenderers = 1, /* choose from all available renderers */
kCGLPFATripleBuffer OPENGL_ENUM_AVAILABLE(10_7) = 3, /* choose a triple buffered pixel format */
kCGLPFADoubleBuffer = 5, /* choose a double buffered pixel format */
kCGLPFAColorSize = 8, /* number of color buffer bits */
kCGLPFAAlphaSize = 11, /* number of alpha component bits */
kCGLPFADepthSize = 12, /* number of depth buffer bits */
kCGLPFAStencilSize = 13, /* number of stencil buffer bits */
kCGLPFAMinimumPolicy = 51, /* never choose smaller buffers than requested */
kCGLPFAMaximumPolicy = 52, /* choose largest buffers of type requested */
kCGLPFASampleBuffers OPENGL_ENUM_AVAILABLE(10_2) = 55, /* number of multi sample buffers */
kCGLPFASamples OPENGL_ENUM_AVAILABLE(10_2) = 56, /* number of samples per multi sample buffer */
kCGLPFAColorFloat OPENGL_ENUM_AVAILABLE(10_2) = 58, /* color buffers store floating point pixels */
kCGLPFAMultisample OPENGL_ENUM_AVAILABLE(10_3) = 59, /* choose multisampling */
kCGLPFASupersample OPENGL_ENUM_AVAILABLE(10_3) = 60, /* choose supersampling */
kCGLPFASampleAlpha OPENGL_ENUM_AVAILABLE(10_3) = 61, /* request alpha filtering */
kCGLPFARendererID = 70, /* request renderer by ID */
kCGLPFANoRecovery = 72, /* disable all failure recovery systems */
kCGLPFAAccelerated = 73, /* choose a hardware accelerated renderer */
kCGLPFAClosestPolicy = 74, /* choose the closest color buffer to request */
kCGLPFABackingStore = 76, /* back buffer contents are valid after swap */
kCGLPFABackingVolatile OPENGL_ENUM_AVAILABLE(10_7) = 77, /* back buffer contents are volatile after swap */
kCGLPFADisplayMask = 84, /* mask limiting supported displays */
kCGLPFAAllowOfflineRenderers OPENGL_ENUM_AVAILABLE(10_5) = 96, /* show offline renderers in pixel formats */
kCGLPFAAcceleratedCompute OPENGL_ENUM_AVAILABLE(10_6) = 97, /* choose a hardware accelerated compute device */
kCGLPFAOpenGLProfile OPENGL_ENUM_AVAILABLE(10_7) = 99, /* specify an OpenGL Profile to use */
kCGLPFASupportsAutomaticGraphicsSwitching OPENGL_ENUM_AVAILABLE(10_8) = 101, /* responds to display changes */
kCGLPFAVirtualScreenCount = 128, /* number of virtual screens in this format */
/* Note: the following attributes are deprecated in Core Profile */
kCGLPFAAuxBuffers = 7, /* number of aux buffers */
kCGLPFAAccumSize = 14, /* number of accum buffer bits */
kCGLPFAAuxDepthStencil OPENGL_ENUM_AVAILABLE(10_2) = 57, /* each aux buffer has its own depth stencil */
kCGLPFAStereo OPENGL_ENUM_DEPRECATED(10_0, 10_11) = 6,
kCGLPFAOffScreen OPENGL_ENUM_DEPRECATED(10_0, 10_7) = 53,
kCGLPFAWindow OPENGL_ENUM_DEPRECATED(10_0, 10_9) = 80,
kCGLPFACompliant OPENGL_ENUM_DEPRECATED(10_0, 10_9) = 83,
kCGLPFAPBuffer OPENGL_ENUM_DEPRECATED(10_3, 10_7) = 90,
kCGLPFARemotePBuffer OPENGL_ENUM_DEPRECATED(10_3, 10_9) = 91,
kCGLPFASingleRenderer OPENGL_ENUM_DEPRECATED(10_0, 10_9) = 71,
kCGLPFARobust OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 75,
kCGLPFAMPSafe OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 78,
kCGLPFAMultiScreen OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 81,
kCGLPFAFullScreen OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 54,
} CGLPixelFormatAttribute;
/*
** Property names for CGLDescribeRenderer.
*/
typedef enum _CGLRendererProperty {
kCGLRPOffScreen = 53,
kCGLRPRendererID = 70,
kCGLRPAccelerated = 73,
kCGLRPBackingStore = 76,
kCGLRPWindow = 80,
kCGLRPCompliant = 83,
kCGLRPDisplayMask = 84,
kCGLRPBufferModes = 100, /* a bitfield of supported buffer modes */
kCGLRPColorModes = 103, /* a bitfield of supported color buffer formats */
kCGLRPAccumModes = 104, /* a bitfield of supported accum buffer formats */
kCGLRPDepthModes = 105, /* a bitfield of supported depth buffer depths */
kCGLRPStencilModes = 106, /* a bitfield of supported stencil buffer depths */
kCGLRPMaxAuxBuffers = 107, /* maximum number of auxilliary buffers */
kCGLRPMaxSampleBuffers OPENGL_ENUM_AVAILABLE(10_2) = 108, /* maximum number of sample buffers */
kCGLRPMaxSamples OPENGL_ENUM_AVAILABLE(10_2) = 109, /* maximum number of samples */
kCGLRPSampleModes OPENGL_ENUM_AVAILABLE(10_3) = 110, /* a bitfield of supported sample modes */
kCGLRPSampleAlpha OPENGL_ENUM_AVAILABLE(10_3) = 111, /* support for alpha sampling */
kCGLRPGPUVertProcCapable OPENGL_ENUM_AVAILABLE(10_4) = 122, /* renderer capable of GPU vertex processing */
kCGLRPGPUFragProcCapable OPENGL_ENUM_AVAILABLE(10_4) = 123, /* renderer capable of GPU fragment processing */
kCGLRPRendererCount = 128, /* the number of renderers in this renderer info */
kCGLRPOnline OPENGL_ENUM_AVAILABLE(10_5) = 129, /* a boolean stating if renderer is on/offline */
kCGLRPAcceleratedCompute OPENGL_ENUM_AVAILABLE(10_6) = 130, /* hardware accelerated compute device */
kCGLRPVideoMemoryMegabytes OPENGL_ENUM_AVAILABLE(10_7) = 131, /* total video memory (in megabytes) */
kCGLRPTextureMemoryMegabytes OPENGL_ENUM_AVAILABLE(10_7) = 132, /* video memory useable for textures (in megabytes) */
kCGLRPMajorGLVersion OPENGL_ENUM_AVAILABLE(10_9) = 133, /* maximum supported major GL revision */
kCGLRPRegistryIDLow OPENGL_ENUM_AVAILABLE(10_13) = 140, /* Low 32-bits of registryID */
kCGLRPRegistryIDHigh OPENGL_ENUM_AVAILABLE(10_13) = 141, /* High 32-bits of registryID */
kCGLRPRemovable OPENGL_ENUM_AVAILABLE(10_13) = 142, /* renderer is removable (eGPU) */
kCGLRPRobust OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 75,
kCGLRPMPSafe OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 78,
kCGLRPMultiScreen OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 81,
kCGLRPFullScreen OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 54,
kCGLRPVideoMemory OPENGL_ENUM_DEPRECATED_MSG(10_0, 10_7, "Use kCGLRPVideoMemoryMegabytes") = 120,
kCGLRPTextureMemory OPENGL_ENUM_DEPRECATED_MSG(10_0, 10_7, "Use kCGLRPTextureMemoryMegabytes") = 121,
} CGLRendererProperty;
/*
** Enable names for CGLEnable, CGLDisable, and CGLIsEnabled.
*/
typedef enum _CGLContextEnable {
kCGLCESwapRectangle = 201, /* Enable or disable the swap rectangle */
kCGLCESwapLimit OPENGL_ENUM_AVAILABLE(10_2) = 203, /* Enable or disable the swap async limit */
kCGLCERasterization = 221, /* Enable or disable all rasterization */
kCGLCEStateValidation = 301, /* Validate state for multi-screen functionality */
kCGLCESurfaceBackingSize OPENGL_ENUM_AVAILABLE(10_3) = 305, /* Enable or disable surface backing size override */
kCGLCEDisplayListOptimization OPENGL_ENUM_AVAILABLE(10_3) = 307, /* Ability to turn off display list optimizer */
kCGLCEMPEngine OPENGL_ENUM_AVAILABLE(10_4) = 313, /* Enable or disable multi-threaded GL engine */
kCGLCECrashOnRemovedFunctions OPENGL_ENUM_AVAILABLE(10_7) = 316 /* Die on call to function removed from Core Profile */
} CGLContextEnable;
/*
** GPURestartStatus names
*/
typedef enum _CGLGPURestartStatus { /* GPU Restart Status */
kCGLCPGPURestartStatusNone = 0, /* current context has not caused recent GPU restart */
kCGLCPGPURestartStatusCaused = 1, /* current context caused recent GPU restart (auto-clear on query) */
kCGLCPGPURestartStatusBlacklisted OPENGL_ENUM_DEPRECATED(10_0, 10_10) = 2, /* current context is being ignored for excessive GPU restarts (won't clear on query) */
kCGLCPGPURestartStatusDenied = 2, /* current context is being ignored for excessive GPU restarts (won't clear on query) */
} CGLGPURestartStatus;
/*
** Parameter names for CGLSetParameter and CGLGetParameter.
*/
typedef enum _CGLContextParameter {
kCGLCPSwapRectangle = 200, /* 4 params. Set or get the swap rectangle {x, y, w, h} */
kCGLCPSwapInterval = 222, /* 1 param. 0 -> Don't sync, 1 -> Sync to vertical retrace */
kCGLCPDispatchTableSize OPENGL_ENUM_AVAILABLE(10_3) = 224, /* 1 param. Get the dispatch table size */
/* Note: kCGLCPClientStorage is always a pointer-sized parameter, even though the API claims GLint. */
kCGLCPClientStorage = 226, /* 1 param. Context specific generic storage */
kCGLCPSurfaceTexture OPENGL_ENUM_DEPRECATED(10_3, 10_9) = 228, /* 3 params. Context, target, internal_format */
/* - Used by AGL - */
/* AGL_STATE_VALIDATION 230 */
/* AGL_BUFFER_NAME 231 */
/* AGL_ORDER_CONTEXT_TO_FRONT 232 */
/* AGL_CONTEXT_SURFACE_ID 233 */
/* AGL_CONTEXT_DISPLAY_ID 234 */
kCGLCPSurfaceOrder OPENGL_ENUM_AVAILABLE(10_2) = 235, /* 1 param. 1 -> Above window, -1 -> Below Window */
kCGLCPSurfaceOpacity OPENGL_ENUM_AVAILABLE(10_2) = 236, /* 1 param. 1 -> Surface is opaque (default), 0 -> non-opaque */
/* - Used by AGL - */
/* AGL_CLIP_REGION 254 */
/* AGL_FS_CAPTURE_SINGLE 255 */
kCGLCPSurfaceBackingSize OPENGL_ENUM_AVAILABLE(10_3) = 304, /* 2 params. Width/height of surface backing size */
/* AGL_SURFACE_VOLATILE 306 */
kCGLCPSurfaceSurfaceVolatile OPENGL_ENUM_AVAILABLE(10_3) = 306, /* 1 param. Surface volatile state */
kCGLCPReclaimResources OPENGL_ENUM_AVAILABLE(10_4) = 308, /* 0 params. */
kCGLCPCurrentRendererID OPENGL_ENUM_AVAILABLE(10_4) = 309, /* 1 param. Retrieves the current renderer ID */
kCGLCPGPUVertexProcessing OPENGL_ENUM_AVAILABLE(10_4) = 310, /* 1 param. Currently processing vertices with GPU (get) */
kCGLCPGPUFragmentProcessing OPENGL_ENUM_AVAILABLE(10_4) = 311, /* 1 param. Currently processing fragments with GPU (get) */
kCGLCPHasDrawable OPENGL_ENUM_AVAILABLE(10_5) = 314, /* 1 param. Boolean returned if drawable is attached */
kCGLCPMPSwapsInFlight OPENGL_ENUM_AVAILABLE(10_5) = 315, /* 1 param. Max number of swaps queued by the MP GL engine */
kCGLCPGPURestartStatus OPENGL_ENUM_AVAILABLE(10_10) = 317, /* 1 param. Retrieves and clears the current CGLGPURestartStatus */
kCGLCPAbortOnGPURestartStatusBlacklisted OPENGL_ENUM_DEPRECATED(10_0, 10_10) = 318, /* 1 param. Establish action to take upon blacklisting */
kCGLCPAbortOnGPURestartStatusDenied OPENGL_ENUM_AVAILABLE(10_10) = 318, /* 1 param. Establish action to take upon blacklisting */
kCGLCPSupportGPURestart OPENGL_ENUM_AVAILABLE(10_10) = 319, /* 1 param. Does driver support auto-restart of GPU on hang/crash? */
kCGLCPSupportSeparateAddressSpace OPENGL_ENUM_AVAILABLE(10_10) = 320, /* 1 param. Does context get its own GPU address space? */
kCGLCPContextPriorityRequest OPENGL_ENUM_AVAILABLE(10_10) = 608, /* 1 param. kCGLCPContextPriorityRequest[High|Normal|Low] 0|1|2 */
} CGLContextParameter;
typedef enum
{
kCGLCPContextPriorityRequestHigh = 0,
kCGLCPContextPriorityRequestNormal = 1,
kCGLCPContextPriorityRequestLow = 2
} CGLCPContextPriorityRequest;
/*
** Option names for CGLSetOption and CGLGetOption.
*/
typedef enum _CGLGlobalOption {
kCGLGOFormatCacheSize = 501, /* Set the size of the pixel format cache */
kCGLGOClearFormatCache = 502, /* Reset the pixel format cache if true */
kCGLGORetainRenderers = 503, /* Whether to retain loaded renderers in memory */
kCGLGOUseBuildCache OPENGL_ENUM_AVAILABLE(10_5) = 506, /* Enable the function compilation block cache. */
/* Off by default. Must be enabled at startup. */
kCGLGOResetLibrary OPENGL_ENUM_DEPRECATED(10_0, 10_4) = 504,
kCGLGOUseErrorHandler OPENGL_ENUM_DEPRECATED(10_0, 10_7) = 505,
} CGLGlobalOption;
/*
** OpenGL Implementation Profiles
*/
typedef enum _CGLOpenGLProfile {
kCGLOGLPVersion_Legacy OPENGL_ENUM_AVAILABLE(10_7) = 0x1000, /* choose a renderer compatible with GL1.0 */
kCGLOGLPVersion_3_2_Core OPENGL_ENUM_AVAILABLE(10_7) = 0x3200, /* choose a renderer capable of GL3.2 or later */
kCGLOGLPVersion_GL3_Core OPENGL_ENUM_AVAILABLE(10_7) = 0x3200, /* choose a renderer capable of GL3.2 or later */
kCGLOGLPVersion_GL4_Core OPENGL_ENUM_AVAILABLE(10_9) = 0x4100, /* choose a renderer capable of GL4.1 or later */
} CGLOpenGLProfile OPENGL_AVAILABLE(10_7);
/*
** Error return values from CGLGetError.
*/
typedef enum _CGLError {
kCGLNoError = 0, /* no error */
kCGLBadAttribute = 10000, /* invalid pixel format attribute */
kCGLBadProperty = 10001, /* invalid renderer property */
kCGLBadPixelFormat = 10002, /* invalid pixel format */
kCGLBadRendererInfo = 10003, /* invalid renderer info */
kCGLBadContext = 10004, /* invalid context */
kCGLBadDrawable = 10005, /* invalid drawable */
kCGLBadDisplay = 10006, /* invalid graphics device */
kCGLBadState = 10007, /* invalid context state */
kCGLBadValue = 10008, /* invalid numerical value */
kCGLBadMatch = 10009, /* invalid share context */
kCGLBadEnumeration = 10010, /* invalid enumerant */
kCGLBadOffScreen = 10011, /* invalid offscreen drawable */
kCGLBadFullScreen = 10012, /* invalid fullscreen drawable */
kCGLBadWindow = 10013, /* invalid window */
kCGLBadAddress = 10014, /* invalid pointer */
kCGLBadCodeModule = 10015, /* invalid code module */
kCGLBadAlloc = 10016, /* invalid memory allocation */
kCGLBadConnection = 10017 /* invalid CoreGraphics connection */
} CGLError;
/*
** Buffer modes
*/
#define kCGLMonoscopicBit 0x00000001
#define kCGLStereoscopicBit 0x00000002
#define kCGLSingleBufferBit 0x00000004
#define kCGLDoubleBufferBit 0x00000008
#define kCGLTripleBufferBit 0x00000010
/*
** Depth and stencil buffer depths
*/
#define kCGL0Bit 0x00000001
#define kCGL1Bit 0x00000002
#define kCGL2Bit 0x00000004
#define kCGL3Bit 0x00000008
#define kCGL4Bit 0x00000010
#define kCGL5Bit 0x00000020
#define kCGL6Bit 0x00000040
#define kCGL8Bit 0x00000080
#define kCGL10Bit 0x00000100
#define kCGL12Bit 0x00000200
#define kCGL16Bit 0x00000400
#define kCGL24Bit 0x00000800
#define kCGL32Bit 0x00001000
#define kCGL48Bit 0x00002000
#define kCGL64Bit 0x00004000
#define kCGL96Bit 0x00008000
#define kCGL128Bit 0x00010000
/*
** Color and accumulation buffer formats.
*/
#define kCGLRGB444Bit 0x00000040 /* 16 rgb bit/pixel, R=11:8, G=7:4, B=3:0 */
#define kCGLARGB4444Bit 0x00000080 /* 16 argb bit/pixel, A=15:12, R=11:8, G=7:4, B=3:0 */
#define kCGLRGB444A8Bit 0x00000100 /* 8-16 argb bit/pixel, A=7:0, R=11:8, G=7:4, B=3:0 */
#define kCGLRGB555Bit 0x00000200 /* 16 rgb bit/pixel, R=14:10, G=9:5, B=4:0 */
#define kCGLARGB1555Bit 0x00000400 /* 16 argb bit/pixel, A=15, R=14:10, G=9:5, B=4:0 */
#define kCGLRGB555A8Bit 0x00000800 /* 8-16 argb bit/pixel, A=7:0, R=14:10, G=9:5, B=4:0 */
#define kCGLRGB565Bit 0x00001000 /* 16 rgb bit/pixel, R=15:11, G=10:5, B=4:0 */
#define kCGLRGB565A8Bit 0x00002000 /* 8-16 argb bit/pixel, A=7:0, R=15:11, G=10:5, B=4:0 */
#define kCGLRGB888Bit 0x00004000 /* 32 rgb bit/pixel, R=23:16, G=15:8, B=7:0 */
#define kCGLARGB8888Bit 0x00008000 /* 32 argb bit/pixel, A=31:24, R=23:16, G=15:8, B=7:0 */
#define kCGLRGB888A8Bit 0x00010000 /* 8-32 argb bit/pixel, A=7:0, R=23:16, G=15:8, B=7:0 */
#define kCGLRGB101010Bit 0x00020000 /* 32 rgb bit/pixel, R=29:20, G=19:10, B=9:0 */
#define kCGLARGB2101010Bit 0x00040000 /* 32 argb bit/pixel, A=31:30 R=29:20, G=19:10, B=9:0 */
#define kCGLRGB101010_A8Bit 0x00080000 /* 8-32 argb bit/pixel, A=7:0 R=29:20, G=19:10, B=9:0 */
#define kCGLRGB121212Bit 0x00100000 /* 48 rgb bit/pixel, R=35:24, G=23:12, B=11:0 */
#define kCGLARGB12121212Bit 0x00200000 /* 48 argb bit/pixel, A=47:36, R=35:24, G=23:12, B=11:0 */
#define kCGLRGB161616Bit 0x00400000 /* 64 rgb bit/pixel, R=63:48, G=47:32, B=31:16 */
#define kCGLRGBA16161616Bit 0x00800000 /* 64 argb bit/pixel, R=63:48, G=47:32, B=31:16, A=15:0 */
#define kCGLRGBFloat64Bit 0x01000000 /* 64 rgb bit/pixel, half float */
#define kCGLRGBAFloat64Bit 0x02000000 /* 64 argb bit/pixel, half float */
#define kCGLRGBFloat128Bit 0x04000000 /* 128 rgb bit/pixel, ieee float */
#define kCGLRGBAFloat128Bit 0x08000000 /* 128 argb bit/pixel, ieee float */
#define kCGLRGBFloat256Bit 0x10000000 /* 256 rgb bit/pixel, ieee double */
#define kCGLRGBAFloat256Bit 0x20000000 /* 256 argb bit/pixel, ieee double */
/*
** Sampling modes
*/
#define kCGLSupersampleBit 0x00000001
#define kCGLMultisampleBit 0x00000002
/* Obsolete */
#define kCGLARGB16161616Bit kCGLRGBA16161616Bit
#ifdef __cplusplus
}
#endif
#endif /* _CGLTYPES_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h | #ifndef __gl3_h_
#define __gl3_h_
/* Allow multiple GL version headers to be included when we're working
with modules. */
#ifdef __has_feature
# if __has_feature(modules)
# ifndef GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 1
# endif
# endif
#endif
#if defined __gl_h_ && !(defined GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED)
#warning gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality.
#endif
#ifdef _CGLMACRO_H
# ifndef __has_feature
# define __has_feature(X) 0
# endif
# if !__has_feature(modules)
# error Can not include both gl3.h and CGLMacro.h simultaneously
# endif
#endif
/*
** Copyright (c) 2007-2012 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, including
** without limitation the rights to use, copy, modify, merge, publish,
** distribute, sublicense, and/or sell copies of the Materials, and to
** permit persons to whom the Materials are furnished to do so, subject to
** the following conditions:
**
** The above copyright notice and this permission notice shall be included
** in all copies or substantial portions of the Materials.
**
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
/* This is a draft release of gl3.h, a header for use with OpenGL 3.1, and
* 3.2 and later core profile implementations. The current version is
* available at http://www.opengl.org/registry/ . Please don't package
* gl3.h for release with other software until it's out of draft status.
* The structure of the file may change significantly, and the details
* will probably change slightly as we make sure exactly the right set
* of interfaces is included.
*
* gl3.h last updated on $Date: 2012-01-26 02:57:23 -0800 (Thu, 26 Jan 2012) $
*
* RELEASE NOTES - 2012/01/26
*
* gl3.h should be placed under a directory 'GL3' and included as
* '<GL3/gl3.h>'.
*
* gl3.h is supposed to only include APIs in a OpenGL 3.1 (without
* GL_ARB_compatibility) or OpenGL 3.2 or later core profile
* implementation, as well as interfaces for newer ARB extensions which
* can be supported by the core profile. It does not, and never will
* include functionality removed from the core profile, such as
* fixed-function vertex and fragment processing.
*
* Implementations of OpenGL 3.1 supporting the optional
* GL_ARB_compatibility extension continue to provide that functionality,
* as do implementations of the OpenGL 3.2+ compatibility profiles, and
* source code requiring it should use the traditional <GL/gl.h> and
* <GL/glext.h> headers instead of <GL3/gl3.h>.
*
* It is not possible to #include both <GL3/gl3.h> and either of
* <GL/gl.h> or <GL/glext.h> in the same source file.
*
* We welcome feedback on gl3.h. Please register for the Khronos Bugzilla
* (www.khronos.org/bugzilla) and file issues there under product
* "OpenGL", category "Registry". Feedback on the opengl.org forums
* may not be responded to in a timely fashion.
*/
/* Function declaration macros - to move into glplatform.h */
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
#endif
#if defined(__APPLE__)
#define GL3_PROTOTYPES
#endif
#ifndef APIENTRY
#define APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
#endif
#ifndef GLAPI
#define GLAPI extern
#endif
/* Base GL types */
#include <OpenGL/gltypes.h>
#include <OpenGL/OpenGLAvailability.h>
#ifdef __cplusplus
extern "C" {
#endif
/*************************************************************/
#ifndef GL_VERSION_1_1
/* AttribMask */
#define GL_DEPTH_BUFFER_BIT 0x00000100
#define GL_STENCIL_BUFFER_BIT 0x00000400
#define GL_COLOR_BUFFER_BIT 0x00004000
/* Boolean */
#define GL_FALSE 0
#define GL_TRUE 1
/* BeginMode */
#define GL_POINTS 0x0000
#define GL_LINES 0x0001
#define GL_LINE_LOOP 0x0002
#define GL_LINE_STRIP 0x0003
#define GL_TRIANGLES 0x0004
#define GL_TRIANGLE_STRIP 0x0005
#define GL_TRIANGLE_FAN 0x0006
/* AlphaFunction */
#define GL_NEVER 0x0200
#define GL_LESS 0x0201
#define GL_EQUAL 0x0202
#define GL_LEQUAL 0x0203
#define GL_GREATER 0x0204
#define GL_NOTEQUAL 0x0205
#define GL_GEQUAL 0x0206
#define GL_ALWAYS 0x0207
/* BlendingFactorDest */
#define GL_ZERO 0
#define GL_ONE 1
#define GL_SRC_COLOR 0x0300
#define GL_ONE_MINUS_SRC_COLOR 0x0301
#define GL_SRC_ALPHA 0x0302
#define GL_ONE_MINUS_SRC_ALPHA 0x0303
#define GL_DST_ALPHA 0x0304
#define GL_ONE_MINUS_DST_ALPHA 0x0305
/* BlendingFactorSrc */
#define GL_DST_COLOR 0x0306
#define GL_ONE_MINUS_DST_COLOR 0x0307
#define GL_SRC_ALPHA_SATURATE 0x0308
/* DrawBufferMode */
#define GL_NONE 0
#define GL_FRONT_LEFT 0x0400
#define GL_FRONT_RIGHT 0x0401
#define GL_BACK_LEFT 0x0402
#define GL_BACK_RIGHT 0x0403
#define GL_FRONT 0x0404
#define GL_BACK 0x0405
#define GL_LEFT 0x0406
#define GL_RIGHT 0x0407
#define GL_FRONT_AND_BACK 0x0408
/* ErrorCode */
#define GL_NO_ERROR 0
#define GL_INVALID_ENUM 0x0500
#define GL_INVALID_VALUE 0x0501
#define GL_INVALID_OPERATION 0x0502
#define GL_OUT_OF_MEMORY 0x0505
/* FrontFaceDirection */
#define GL_CW 0x0900
#define GL_CCW 0x0901
/* GetPName */
#define GL_POINT_SIZE 0x0B11
#define GL_POINT_SIZE_RANGE 0x0B12
#define GL_POINT_SIZE_GRANULARITY 0x0B13
#define GL_LINE_SMOOTH 0x0B20
#define GL_LINE_WIDTH 0x0B21
#define GL_LINE_WIDTH_RANGE 0x0B22
#define GL_LINE_WIDTH_GRANULARITY 0x0B23
#define GL_POLYGON_MODE 0x0B40
#define GL_POLYGON_SMOOTH 0x0B41
#define GL_CULL_FACE 0x0B44
#define GL_CULL_FACE_MODE 0x0B45
#define GL_FRONT_FACE 0x0B46
#define GL_DEPTH_RANGE 0x0B70
#define GL_DEPTH_TEST 0x0B71
#define GL_DEPTH_WRITEMASK 0x0B72
#define GL_DEPTH_CLEAR_VALUE 0x0B73
#define GL_DEPTH_FUNC 0x0B74
#define GL_STENCIL_TEST 0x0B90
#define GL_STENCIL_CLEAR_VALUE 0x0B91
#define GL_STENCIL_FUNC 0x0B92
#define GL_STENCIL_VALUE_MASK 0x0B93
#define GL_STENCIL_FAIL 0x0B94
#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
#define GL_STENCIL_REF 0x0B97
#define GL_STENCIL_WRITEMASK 0x0B98
#define GL_VIEWPORT 0x0BA2
#define GL_DITHER 0x0BD0
#define GL_BLEND_DST 0x0BE0
#define GL_BLEND_SRC 0x0BE1
#define GL_BLEND 0x0BE2
#define GL_LOGIC_OP_MODE 0x0BF0
#define GL_COLOR_LOGIC_OP 0x0BF2
#define GL_DRAW_BUFFER 0x0C01
#define GL_READ_BUFFER 0x0C02
#define GL_SCISSOR_BOX 0x0C10
#define GL_SCISSOR_TEST 0x0C11
#define GL_COLOR_CLEAR_VALUE 0x0C22
#define GL_COLOR_WRITEMASK 0x0C23
#define GL_DOUBLEBUFFER 0x0C32
#define GL_STEREO 0x0C33
#define GL_LINE_SMOOTH_HINT 0x0C52
#define GL_POLYGON_SMOOTH_HINT 0x0C53
#define GL_UNPACK_SWAP_BYTES 0x0CF0
#define GL_UNPACK_LSB_FIRST 0x0CF1
#define GL_UNPACK_ROW_LENGTH 0x0CF2
#define GL_UNPACK_SKIP_ROWS 0x0CF3
#define GL_UNPACK_SKIP_PIXELS 0x0CF4
#define GL_UNPACK_ALIGNMENT 0x0CF5
#define GL_PACK_SWAP_BYTES 0x0D00
#define GL_PACK_LSB_FIRST 0x0D01
#define GL_PACK_ROW_LENGTH 0x0D02
#define GL_PACK_SKIP_ROWS 0x0D03
#define GL_PACK_SKIP_PIXELS 0x0D04
#define GL_PACK_ALIGNMENT 0x0D05
#define GL_MAX_TEXTURE_SIZE 0x0D33
#define GL_MAX_VIEWPORT_DIMS 0x0D3A
#define GL_SUBPIXEL_BITS 0x0D50
#define GL_TEXTURE_1D 0x0DE0
#define GL_TEXTURE_2D 0x0DE1
#define GL_POLYGON_OFFSET_UNITS 0x2A00
#define GL_POLYGON_OFFSET_POINT 0x2A01
#define GL_POLYGON_OFFSET_LINE 0x2A02
#define GL_POLYGON_OFFSET_FILL 0x8037
#define GL_POLYGON_OFFSET_FACTOR 0x8038
#define GL_TEXTURE_BINDING_1D 0x8068
#define GL_TEXTURE_BINDING_2D 0x8069
/* GetTextureParameter */
#define GL_TEXTURE_WIDTH 0x1000
#define GL_TEXTURE_HEIGHT 0x1001
#define GL_TEXTURE_INTERNAL_FORMAT 0x1003
#define GL_TEXTURE_BORDER_COLOR 0x1004
#define GL_TEXTURE_RED_SIZE 0x805C
#define GL_TEXTURE_GREEN_SIZE 0x805D
#define GL_TEXTURE_BLUE_SIZE 0x805E
#define GL_TEXTURE_ALPHA_SIZE 0x805F
/* HintMode */
#define GL_DONT_CARE 0x1100
#define GL_FASTEST 0x1101
#define GL_NICEST 0x1102
/* DataType */
#define GL_BYTE 0x1400
#define GL_UNSIGNED_BYTE 0x1401
#define GL_SHORT 0x1402
#define GL_UNSIGNED_SHORT 0x1403
#define GL_INT 0x1404
#define GL_UNSIGNED_INT 0x1405
#define GL_FLOAT 0x1406
#define GL_DOUBLE 0x140A
/* LogicOp */
#define GL_CLEAR 0x1500
#define GL_AND 0x1501
#define GL_AND_REVERSE 0x1502
#define GL_COPY 0x1503
#define GL_AND_INVERTED 0x1504
#define GL_NOOP 0x1505
#define GL_XOR 0x1506
#define GL_OR 0x1507
#define GL_NOR 0x1508
#define GL_EQUIV 0x1509
#define GL_INVERT 0x150A
#define GL_OR_REVERSE 0x150B
#define GL_COPY_INVERTED 0x150C
#define GL_OR_INVERTED 0x150D
#define GL_NAND 0x150E
#define GL_SET 0x150F
/* MatrixMode (for gl3.h, FBO attachment type) */
#define GL_TEXTURE 0x1702
/* PixelCopyType */
#define GL_COLOR 0x1800
#define GL_DEPTH 0x1801
#define GL_STENCIL 0x1802
/* PixelFormat */
#define GL_STENCIL_INDEX 0x1901
#define GL_DEPTH_COMPONENT 0x1902
#define GL_RED 0x1903
#define GL_GREEN 0x1904
#define GL_BLUE 0x1905
#define GL_ALPHA 0x1906
#define GL_RGB 0x1907
#define GL_RGBA 0x1908
/* PolygonMode */
#define GL_POINT 0x1B00
#define GL_LINE 0x1B01
#define GL_FILL 0x1B02
/* StencilOp */
#define GL_KEEP 0x1E00
#define GL_REPLACE 0x1E01
#define GL_INCR 0x1E02
#define GL_DECR 0x1E03
/* StringName */
#define GL_VENDOR 0x1F00
#define GL_RENDERER 0x1F01
#define GL_VERSION 0x1F02
#define GL_EXTENSIONS 0x1F03
/* TextureMagFilter */
#define GL_NEAREST 0x2600
#define GL_LINEAR 0x2601
/* TextureMinFilter */
#define GL_NEAREST_MIPMAP_NEAREST 0x2700
#define GL_LINEAR_MIPMAP_NEAREST 0x2701
#define GL_NEAREST_MIPMAP_LINEAR 0x2702
#define GL_LINEAR_MIPMAP_LINEAR 0x2703
/* TextureParameterName */
#define GL_TEXTURE_MAG_FILTER 0x2800
#define GL_TEXTURE_MIN_FILTER 0x2801
#define GL_TEXTURE_WRAP_S 0x2802
#define GL_TEXTURE_WRAP_T 0x2803
/* TextureTarget */
#define GL_PROXY_TEXTURE_1D 0x8063
#define GL_PROXY_TEXTURE_2D 0x8064
/* TextureWrapMode */
#define GL_REPEAT 0x2901
/* PixelInternalFormat */
#define GL_R3_G3_B2 0x2A10
#define GL_RGB4 0x804F
#define GL_RGB5 0x8050
#define GL_RGB8 0x8051
#define GL_RGB10 0x8052
#define GL_RGB12 0x8053
#define GL_RGB16 0x8054
#define GL_RGBA2 0x8055
#define GL_RGBA4 0x8056
#define GL_RGB5_A1 0x8057
#define GL_RGBA8 0x8058
#define GL_RGB10_A2 0x8059
#define GL_RGBA12 0x805A
#define GL_RGBA16 0x805B
#endif
#ifndef GL_VERSION_1_2
#define GL_UNSIGNED_BYTE_3_3_2 0x8032
#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
#define GL_UNSIGNED_INT_8_8_8_8 0x8035
#define GL_UNSIGNED_INT_10_10_10_2 0x8036
#define GL_TEXTURE_BINDING_3D 0x806A
#define GL_PACK_SKIP_IMAGES 0x806B
#define GL_PACK_IMAGE_HEIGHT 0x806C
#define GL_UNPACK_SKIP_IMAGES 0x806D
#define GL_UNPACK_IMAGE_HEIGHT 0x806E
#define GL_TEXTURE_3D 0x806F
#define GL_PROXY_TEXTURE_3D 0x8070
#define GL_TEXTURE_DEPTH 0x8071
#define GL_TEXTURE_WRAP_R 0x8072
#define GL_MAX_3D_TEXTURE_SIZE 0x8073
#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
#define GL_UNSIGNED_SHORT_5_6_5 0x8363
#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
#define GL_BGR 0x80E0
#define GL_BGRA 0x80E1
#define GL_MAX_ELEMENTS_VERTICES 0x80E8
#define GL_MAX_ELEMENTS_INDICES 0x80E9
#define GL_CLAMP_TO_EDGE 0x812F
#define GL_TEXTURE_MIN_LOD 0x813A
#define GL_TEXTURE_MAX_LOD 0x813B
#define GL_TEXTURE_BASE_LEVEL 0x813C
#define GL_TEXTURE_MAX_LEVEL 0x813D
#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
#endif
#ifndef GL_ARB_imaging
#define GL_CONSTANT_COLOR 0x8001
#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
#define GL_CONSTANT_ALPHA 0x8003
#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
#define GL_BLEND_COLOR 0x8005
#define GL_FUNC_ADD 0x8006
#define GL_MIN 0x8007
#define GL_MAX 0x8008
#define GL_BLEND_EQUATION 0x8009
#define GL_FUNC_SUBTRACT 0x800A
#define GL_FUNC_REVERSE_SUBTRACT 0x800B
#endif
#ifndef GL_VERSION_1_3
#define GL_TEXTURE0 0x84C0
#define GL_TEXTURE1 0x84C1
#define GL_TEXTURE2 0x84C2
#define GL_TEXTURE3 0x84C3
#define GL_TEXTURE4 0x84C4
#define GL_TEXTURE5 0x84C5
#define GL_TEXTURE6 0x84C6
#define GL_TEXTURE7 0x84C7
#define GL_TEXTURE8 0x84C8
#define GL_TEXTURE9 0x84C9
#define GL_TEXTURE10 0x84CA
#define GL_TEXTURE11 0x84CB
#define GL_TEXTURE12 0x84CC
#define GL_TEXTURE13 0x84CD
#define GL_TEXTURE14 0x84CE
#define GL_TEXTURE15 0x84CF
#define GL_TEXTURE16 0x84D0
#define GL_TEXTURE17 0x84D1
#define GL_TEXTURE18 0x84D2
#define GL_TEXTURE19 0x84D3
#define GL_TEXTURE20 0x84D4
#define GL_TEXTURE21 0x84D5
#define GL_TEXTURE22 0x84D6
#define GL_TEXTURE23 0x84D7
#define GL_TEXTURE24 0x84D8
#define GL_TEXTURE25 0x84D9
#define GL_TEXTURE26 0x84DA
#define GL_TEXTURE27 0x84DB
#define GL_TEXTURE28 0x84DC
#define GL_TEXTURE29 0x84DD
#define GL_TEXTURE30 0x84DE
#define GL_TEXTURE31 0x84DF
#define GL_ACTIVE_TEXTURE 0x84E0
#define GL_MULTISAMPLE 0x809D
#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
#define GL_SAMPLE_ALPHA_TO_ONE 0x809F
#define GL_SAMPLE_COVERAGE 0x80A0
#define GL_SAMPLE_BUFFERS 0x80A8
#define GL_SAMPLES 0x80A9
#define GL_SAMPLE_COVERAGE_VALUE 0x80AA
#define GL_SAMPLE_COVERAGE_INVERT 0x80AB
#define GL_TEXTURE_CUBE_MAP 0x8513
#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
#define GL_COMPRESSED_RGB 0x84ED
#define GL_COMPRESSED_RGBA 0x84EE
#define GL_TEXTURE_COMPRESSION_HINT 0x84EF
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
#define GL_TEXTURE_COMPRESSED 0x86A1
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
#define GL_CLAMP_TO_BORDER 0x812D
#endif
#ifndef GL_VERSION_1_4
#define GL_BLEND_DST_RGB 0x80C8
#define GL_BLEND_SRC_RGB 0x80C9
#define GL_BLEND_DST_ALPHA 0x80CA
#define GL_BLEND_SRC_ALPHA 0x80CB
#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
#define GL_DEPTH_COMPONENT16 0x81A5
#define GL_DEPTH_COMPONENT24 0x81A6
#define GL_DEPTH_COMPONENT32 0x81A7
#define GL_MIRRORED_REPEAT 0x8370
#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
#define GL_TEXTURE_LOD_BIAS 0x8501
#define GL_INCR_WRAP 0x8507
#define GL_DECR_WRAP 0x8508
#define GL_TEXTURE_DEPTH_SIZE 0x884A
#define GL_TEXTURE_COMPARE_MODE 0x884C
#define GL_TEXTURE_COMPARE_FUNC 0x884D
#endif
#ifndef GL_VERSION_1_5
#define GL_BUFFER_SIZE 0x8764
#define GL_BUFFER_USAGE 0x8765
#define GL_QUERY_COUNTER_BITS 0x8864
#define GL_CURRENT_QUERY 0x8865
#define GL_QUERY_RESULT 0x8866
#define GL_QUERY_RESULT_AVAILABLE 0x8867
#define GL_ARRAY_BUFFER 0x8892
#define GL_ELEMENT_ARRAY_BUFFER 0x8893
#define GL_ARRAY_BUFFER_BINDING 0x8894
#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
#define GL_READ_ONLY 0x88B8
#define GL_WRITE_ONLY 0x88B9
#define GL_READ_WRITE 0x88BA
#define GL_BUFFER_ACCESS 0x88BB
#define GL_BUFFER_MAPPED 0x88BC
#define GL_BUFFER_MAP_POINTER 0x88BD
#define GL_STREAM_DRAW 0x88E0
#define GL_STREAM_READ 0x88E1
#define GL_STREAM_COPY 0x88E2
#define GL_STATIC_DRAW 0x88E4
#define GL_STATIC_READ 0x88E5
#define GL_STATIC_COPY 0x88E6
#define GL_DYNAMIC_DRAW 0x88E8
#define GL_DYNAMIC_READ 0x88E9
#define GL_DYNAMIC_COPY 0x88EA
#define GL_SAMPLES_PASSED 0x8914
#endif
#ifndef GL_VERSION_2_0
#define GL_BLEND_EQUATION_RGB 0x8009
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
#define GL_CURRENT_VERTEX_ATTRIB 0x8626
#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
#define GL_STENCIL_BACK_FUNC 0x8800
#define GL_STENCIL_BACK_FAIL 0x8801
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
#define GL_MAX_DRAW_BUFFERS 0x8824
#define GL_DRAW_BUFFER0 0x8825
#define GL_DRAW_BUFFER1 0x8826
#define GL_DRAW_BUFFER2 0x8827
#define GL_DRAW_BUFFER3 0x8828
#define GL_DRAW_BUFFER4 0x8829
#define GL_DRAW_BUFFER5 0x882A
#define GL_DRAW_BUFFER6 0x882B
#define GL_DRAW_BUFFER7 0x882C
#define GL_DRAW_BUFFER8 0x882D
#define GL_DRAW_BUFFER9 0x882E
#define GL_DRAW_BUFFER10 0x882F
#define GL_DRAW_BUFFER11 0x8830
#define GL_DRAW_BUFFER12 0x8831
#define GL_DRAW_BUFFER13 0x8832
#define GL_DRAW_BUFFER14 0x8833
#define GL_DRAW_BUFFER15 0x8834
#define GL_BLEND_EQUATION_ALPHA 0x883D
#define GL_MAX_VERTEX_ATTRIBS 0x8869
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
#define GL_FRAGMENT_SHADER 0x8B30
#define GL_VERTEX_SHADER 0x8B31
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
#define GL_MAX_VARYING_FLOATS 0x8B4B
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
#define GL_SHADER_TYPE 0x8B4F
#define GL_FLOAT_VEC2 0x8B50
#define GL_FLOAT_VEC3 0x8B51
#define GL_FLOAT_VEC4 0x8B52
#define GL_INT_VEC2 0x8B53
#define GL_INT_VEC3 0x8B54
#define GL_INT_VEC4 0x8B55
#define GL_BOOL 0x8B56
#define GL_BOOL_VEC2 0x8B57
#define GL_BOOL_VEC3 0x8B58
#define GL_BOOL_VEC4 0x8B59
#define GL_FLOAT_MAT2 0x8B5A
#define GL_FLOAT_MAT3 0x8B5B
#define GL_FLOAT_MAT4 0x8B5C
#define GL_SAMPLER_1D 0x8B5D
#define GL_SAMPLER_2D 0x8B5E
#define GL_SAMPLER_3D 0x8B5F
#define GL_SAMPLER_CUBE 0x8B60
#define GL_SAMPLER_1D_SHADOW 0x8B61
#define GL_SAMPLER_2D_SHADOW 0x8B62
#define GL_DELETE_STATUS 0x8B80
#define GL_COMPILE_STATUS 0x8B81
#define GL_LINK_STATUS 0x8B82
#define GL_VALIDATE_STATUS 0x8B83
#define GL_INFO_LOG_LENGTH 0x8B84
#define GL_ATTACHED_SHADERS 0x8B85
#define GL_ACTIVE_UNIFORMS 0x8B86
#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
#define GL_SHADER_SOURCE_LENGTH 0x8B88
#define GL_ACTIVE_ATTRIBUTES 0x8B89
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
#define GL_CURRENT_PROGRAM 0x8B8D
#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
#define GL_LOWER_LEFT 0x8CA1
#define GL_UPPER_LEFT 0x8CA2
#define GL_STENCIL_BACK_REF 0x8CA3
#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
#define GL_STENCIL_BACK_WRITEMASK 0x8CA5
#endif
#ifndef GL_VERSION_2_1
#define GL_PIXEL_PACK_BUFFER 0x88EB
#define GL_PIXEL_UNPACK_BUFFER 0x88EC
#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
#define GL_FLOAT_MAT2x3 0x8B65
#define GL_FLOAT_MAT2x4 0x8B66
#define GL_FLOAT_MAT3x2 0x8B67
#define GL_FLOAT_MAT3x4 0x8B68
#define GL_FLOAT_MAT4x2 0x8B69
#define GL_FLOAT_MAT4x3 0x8B6A
#define GL_SRGB 0x8C40
#define GL_SRGB8 0x8C41
#define GL_SRGB_ALPHA 0x8C42
#define GL_SRGB8_ALPHA8 0x8C43
#define GL_COMPRESSED_SRGB 0x8C48
#define GL_COMPRESSED_SRGB_ALPHA 0x8C49
#endif
#ifndef GL_VERSION_3_0
#define GL_COMPARE_REF_TO_TEXTURE 0x884E
#define GL_CLIP_DISTANCE0 0x3000
#define GL_CLIP_DISTANCE1 0x3001
#define GL_CLIP_DISTANCE2 0x3002
#define GL_CLIP_DISTANCE3 0x3003
#define GL_CLIP_DISTANCE4 0x3004
#define GL_CLIP_DISTANCE5 0x3005
#define GL_CLIP_DISTANCE6 0x3006
#define GL_CLIP_DISTANCE7 0x3007
#define GL_MAX_CLIP_DISTANCES 0x0D32
#define GL_MAJOR_VERSION 0x821B
#define GL_MINOR_VERSION 0x821C
#define GL_NUM_EXTENSIONS 0x821D
#define GL_CONTEXT_FLAGS 0x821E
#define GL_COMPRESSED_RED 0x8225
#define GL_COMPRESSED_RG 0x8226
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
#define GL_RGBA32F 0x8814
#define GL_RGB32F 0x8815
#define GL_RGBA16F 0x881A
#define GL_RGB16F 0x881B
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
#define GL_CLAMP_READ_COLOR 0x891C
#define GL_FIXED_ONLY 0x891D
#define GL_MAX_VARYING_COMPONENTS 0x8B4B
#define GL_TEXTURE_1D_ARRAY 0x8C18
#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
#define GL_TEXTURE_2D_ARRAY 0x8C1A
#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
#define GL_R11F_G11F_B10F 0x8C3A
#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
#define GL_RGB9_E5 0x8C3D
#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
#define GL_TEXTURE_SHARED_SIZE 0x8C3F
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
#define GL_PRIMITIVES_GENERATED 0x8C87
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
#define GL_RASTERIZER_DISCARD 0x8C89
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
#define GL_INTERLEAVED_ATTRIBS 0x8C8C
#define GL_SEPARATE_ATTRIBS 0x8C8D
#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
#define GL_RGBA32UI 0x8D70
#define GL_RGB32UI 0x8D71
#define GL_RGBA16UI 0x8D76
#define GL_RGB16UI 0x8D77
#define GL_RGBA8UI 0x8D7C
#define GL_RGB8UI 0x8D7D
#define GL_RGBA32I 0x8D82
#define GL_RGB32I 0x8D83
#define GL_RGBA16I 0x8D88
#define GL_RGB16I 0x8D89
#define GL_RGBA8I 0x8D8E
#define GL_RGB8I 0x8D8F
#define GL_RED_INTEGER 0x8D94
#define GL_GREEN_INTEGER 0x8D95
#define GL_BLUE_INTEGER 0x8D96
#define GL_RGB_INTEGER 0x8D98
#define GL_RGBA_INTEGER 0x8D99
#define GL_BGR_INTEGER 0x8D9A
#define GL_BGRA_INTEGER 0x8D9B
#define GL_SAMPLER_1D_ARRAY 0x8DC0
#define GL_SAMPLER_2D_ARRAY 0x8DC1
#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
#define GL_SAMPLER_CUBE_SHADOW 0x8DC5
#define GL_UNSIGNED_INT_VEC2 0x8DC6
#define GL_UNSIGNED_INT_VEC3 0x8DC7
#define GL_UNSIGNED_INT_VEC4 0x8DC8
#define GL_INT_SAMPLER_1D 0x8DC9
#define GL_INT_SAMPLER_2D 0x8DCA
#define GL_INT_SAMPLER_3D 0x8DCB
#define GL_INT_SAMPLER_CUBE 0x8DCC
#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
#define GL_QUERY_WAIT 0x8E13
#define GL_QUERY_NO_WAIT 0x8E14
#define GL_QUERY_BY_REGION_WAIT 0x8E15
#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
#define GL_BUFFER_ACCESS_FLAGS 0x911F
#define GL_BUFFER_MAP_LENGTH 0x9120
#define GL_BUFFER_MAP_OFFSET 0x9121
/* Reuse tokens from ARB_depth_buffer_float */
/* reuse GL_DEPTH_COMPONENT32F */
/* reuse GL_DEPTH32F_STENCIL8 */
/* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
/* Reuse tokens from ARB_framebuffer_object */
/* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
/* reuse GL_FRAMEBUFFER_DEFAULT */
/* reuse GL_FRAMEBUFFER_UNDEFINED */
/* reuse GL_DEPTH_STENCIL_ATTACHMENT */
/* reuse GL_MAX_RENDERBUFFER_SIZE */
/* reuse GL_DEPTH_STENCIL */
/* reuse GL_UNSIGNED_INT_24_8 */
/* reuse GL_DEPTH24_STENCIL8 */
/* reuse GL_TEXTURE_STENCIL_SIZE */
/* reuse GL_TEXTURE_RED_TYPE */
/* reuse GL_TEXTURE_GREEN_TYPE */
/* reuse GL_TEXTURE_BLUE_TYPE */
/* reuse GL_TEXTURE_ALPHA_TYPE */
/* reuse GL_TEXTURE_DEPTH_TYPE */
/* reuse GL_UNSIGNED_NORMALIZED */
/* reuse GL_FRAMEBUFFER_BINDING */
/* reuse GL_DRAW_FRAMEBUFFER_BINDING */
/* reuse GL_RENDERBUFFER_BINDING */
/* reuse GL_READ_FRAMEBUFFER */
/* reuse GL_DRAW_FRAMEBUFFER */
/* reuse GL_READ_FRAMEBUFFER_BINDING */
/* reuse GL_RENDERBUFFER_SAMPLES */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
/* reuse GL_FRAMEBUFFER_COMPLETE */
/* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
/* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
/* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
/* reuse GL_FRAMEBUFFER_UNSUPPORTED */
/* reuse GL_MAX_COLOR_ATTACHMENTS */
/* reuse GL_COLOR_ATTACHMENT0 */
/* reuse GL_COLOR_ATTACHMENT1 */
/* reuse GL_COLOR_ATTACHMENT2 */
/* reuse GL_COLOR_ATTACHMENT3 */
/* reuse GL_COLOR_ATTACHMENT4 */
/* reuse GL_COLOR_ATTACHMENT5 */
/* reuse GL_COLOR_ATTACHMENT6 */
/* reuse GL_COLOR_ATTACHMENT7 */
/* reuse GL_COLOR_ATTACHMENT8 */
/* reuse GL_COLOR_ATTACHMENT9 */
/* reuse GL_COLOR_ATTACHMENT10 */
/* reuse GL_COLOR_ATTACHMENT11 */
/* reuse GL_COLOR_ATTACHMENT12 */
/* reuse GL_COLOR_ATTACHMENT13 */
/* reuse GL_COLOR_ATTACHMENT14 */
/* reuse GL_COLOR_ATTACHMENT15 */
/* reuse GL_DEPTH_ATTACHMENT */
/* reuse GL_STENCIL_ATTACHMENT */
/* reuse GL_FRAMEBUFFER */
/* reuse GL_RENDERBUFFER */
/* reuse GL_RENDERBUFFER_WIDTH */
/* reuse GL_RENDERBUFFER_HEIGHT */
/* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
/* reuse GL_STENCIL_INDEX1 */
/* reuse GL_STENCIL_INDEX4 */
/* reuse GL_STENCIL_INDEX8 */
/* reuse GL_STENCIL_INDEX16 */
/* reuse GL_RENDERBUFFER_RED_SIZE */
/* reuse GL_RENDERBUFFER_GREEN_SIZE */
/* reuse GL_RENDERBUFFER_BLUE_SIZE */
/* reuse GL_RENDERBUFFER_ALPHA_SIZE */
/* reuse GL_RENDERBUFFER_DEPTH_SIZE */
/* reuse GL_RENDERBUFFER_STENCIL_SIZE */
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
/* reuse GL_MAX_SAMPLES */
/* Reuse tokens from ARB_framebuffer_sRGB */
/* reuse GL_FRAMEBUFFER_SRGB */
/* Reuse tokens from ARB_half_float_vertex */
/* reuse GL_HALF_FLOAT */
/* Reuse tokens from ARB_map_buffer_range */
/* reuse GL_MAP_READ_BIT */
/* reuse GL_MAP_WRITE_BIT */
/* reuse GL_MAP_INVALIDATE_RANGE_BIT */
/* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
/* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
/* reuse GL_MAP_UNSYNCHRONIZED_BIT */
/* Reuse tokens from ARB_texture_compression_rgtc */
/* reuse GL_COMPRESSED_RED_RGTC1 */
/* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
/* reuse GL_COMPRESSED_RG_RGTC2 */
/* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
/* Reuse tokens from ARB_texture_rg */
/* reuse GL_RG */
/* reuse GL_RG_INTEGER */
/* reuse GL_R8 */
/* reuse GL_R16 */
/* reuse GL_RG8 */
/* reuse GL_RG16 */
/* reuse GL_R16F */
/* reuse GL_R32F */
/* reuse GL_RG16F */
/* reuse GL_RG32F */
/* reuse GL_R8I */
/* reuse GL_R8UI */
/* reuse GL_R16I */
/* reuse GL_R16UI */
/* reuse GL_R32I */
/* reuse GL_R32UI */
/* reuse GL_RG8I */
/* reuse GL_RG8UI */
/* reuse GL_RG16I */
/* reuse GL_RG16UI */
/* reuse GL_RG32I */
/* reuse GL_RG32UI */
/* Reuse tokens from ARB_vertex_array_object */
/* reuse GL_VERTEX_ARRAY_BINDING */
#endif
#ifndef GL_VERSION_3_1
#define GL_SAMPLER_2D_RECT 0x8B63
#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
#define GL_SAMPLER_BUFFER 0x8DC2
#define GL_INT_SAMPLER_2D_RECT 0x8DCD
#define GL_INT_SAMPLER_BUFFER 0x8DD0
#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
#define GL_TEXTURE_BUFFER 0x8C2A
#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
#define GL_TEXTURE_BINDING_BUFFER 0x8C2C
#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
#define GL_TEXTURE_RECTANGLE 0x84F5
#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
#define GL_R8_SNORM 0x8F94
#define GL_RG8_SNORM 0x8F95
#define GL_RGB8_SNORM 0x8F96
#define GL_RGBA8_SNORM 0x8F97
#define GL_R16_SNORM 0x8F98
#define GL_RG16_SNORM 0x8F99
#define GL_RGB16_SNORM 0x8F9A
#define GL_RGBA16_SNORM 0x8F9B
#define GL_SIGNED_NORMALIZED 0x8F9C
#define GL_PRIMITIVE_RESTART 0x8F9D
#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
/* Reuse tokens from ARB_copy_buffer */
/* reuse GL_COPY_READ_BUFFER */
/* reuse GL_COPY_WRITE_BUFFER */
/* Reuse tokens from ARB_draw_instanced (none) */
/* Reuse tokens from ARB_uniform_buffer_object */
/* reuse GL_UNIFORM_BUFFER */
/* reuse GL_UNIFORM_BUFFER_BINDING */
/* reuse GL_UNIFORM_BUFFER_START */
/* reuse GL_UNIFORM_BUFFER_SIZE */
/* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
/* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
/* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
/* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
/* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
/* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
/* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
/* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
/* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
/* reuse GL_ACTIVE_UNIFORM_BLOCKS */
/* reuse GL_UNIFORM_TYPE */
/* reuse GL_UNIFORM_SIZE */
/* reuse GL_UNIFORM_NAME_LENGTH */
/* reuse GL_UNIFORM_BLOCK_INDEX */
/* reuse GL_UNIFORM_OFFSET */
/* reuse GL_UNIFORM_ARRAY_STRIDE */
/* reuse GL_UNIFORM_MATRIX_STRIDE */
/* reuse GL_UNIFORM_IS_ROW_MAJOR */
/* reuse GL_UNIFORM_BLOCK_BINDING */
/* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
/* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
/* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
/* reuse GL_INVALID_INDEX */
#endif
#ifndef GL_VERSION_3_2
#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
#define GL_LINES_ADJACENCY 0x000A
#define GL_LINE_STRIP_ADJACENCY 0x000B
#define GL_TRIANGLES_ADJACENCY 0x000C
#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
#define GL_PROGRAM_POINT_SIZE 0x8642
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
#define GL_GEOMETRY_SHADER 0x8DD9
#define GL_GEOMETRY_VERTICES_OUT 0x8916
#define GL_GEOMETRY_INPUT_TYPE 0x8917
#define GL_GEOMETRY_OUTPUT_TYPE 0x8918
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
#define GL_CONTEXT_PROFILE_MASK 0x9126
/* reuse GL_MAX_VARYING_COMPONENTS */
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
/* Reuse tokens from ARB_depth_clamp */
/* reuse GL_DEPTH_CLAMP */
/* Reuse tokens from ARB_draw_elements_base_vertex (none) */
/* Reuse tokens from ARB_fragment_coord_conventions (none) */
/* Reuse tokens from ARB_provoking_vertex */
/* reuse GL_FIRST_VERTEX_CONVENTION */
/* reuse GL_LAST_VERTEX_CONVENTION */
/* reuse GL_PROVOKING_VERTEX */
/* Reuse tokens from ARB_seamless_cube_map */
/* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
/* Reuse tokens from ARB_sync */
/* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
/* reuse GL_OBJECT_TYPE */
/* reuse GL_SYNC_CONDITION */
/* reuse GL_SYNC_STATUS */
/* reuse GL_SYNC_FLAGS */
/* reuse GL_SYNC_FENCE */
/* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
/* reuse GL_UNSIGNALED */
/* reuse GL_SIGNALED */
/* reuse GL_ALREADY_SIGNALED */
/* reuse GL_TIMEOUT_EXPIRED */
/* reuse GL_CONDITION_SATISFIED */
/* reuse GL_WAIT_FAILED */
/* reuse GL_TIMEOUT_IGNORED */
/* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
/* reuse GL_TIMEOUT_IGNORED */
/* Reuse tokens from ARB_texture_multisample */
/* reuse GL_SAMPLE_POSITION */
/* reuse GL_SAMPLE_MASK */
/* reuse GL_SAMPLE_MASK_VALUE */
/* reuse GL_MAX_SAMPLE_MASK_WORDS */
/* reuse GL_TEXTURE_2D_MULTISAMPLE */
/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
/* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
/* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
/* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
/* reuse GL_TEXTURE_SAMPLES */
/* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
/* reuse GL_SAMPLER_2D_MULTISAMPLE */
/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
/* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
/* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
/* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
/* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
/* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
/* reuse GL_MAX_INTEGER_SAMPLES */
/* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
#endif
#ifndef GL_VERSION_3_3
#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
/* Reuse tokens from ARB_blend_func_extended */
/* reuse GL_SRC1_COLOR */
/* reuse GL_SRC1_ALPHA */
/* reuse GL_ONE_MINUS_SRC1_COLOR */
/* reuse GL_ONE_MINUS_SRC1_ALPHA */
/* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
/* Reuse tokens from ARB_explicit_attrib_location (none) */
/* Reuse tokens from ARB_occlusion_query2 */
/* reuse GL_ANY_SAMPLES_PASSED */
/* Reuse tokens from ARB_sampler_objects */
/* reuse GL_SAMPLER_BINDING */
/* Reuse tokens from ARB_shader_bit_encoding (none) */
/* Reuse tokens from ARB_texture_rgb10_a2ui */
/* reuse GL_RGB10_A2UI */
/* Reuse tokens from ARB_texture_swizzle */
/* reuse GL_TEXTURE_SWIZZLE_R */
/* reuse GL_TEXTURE_SWIZZLE_G */
/* reuse GL_TEXTURE_SWIZZLE_B */
/* reuse GL_TEXTURE_SWIZZLE_A */
/* reuse GL_TEXTURE_SWIZZLE_RGBA */
/* Reuse tokens from ARB_timer_query */
/* reuse GL_TIME_ELAPSED */
/* reuse GL_TIMESTAMP */
/* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
/* reuse GL_INT_2_10_10_10_REV */
#endif
#ifndef GL_VERSION_4_0
#define GL_SAMPLE_SHADING 0x8C36
#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
/* Reuse tokens from ARB_texture_query_lod (none) */
/* Reuse tokens from ARB_draw_indirect */
/* reuse GL_DRAW_INDIRECT_BUFFER */
/* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
/* Reuse tokens from ARB_gpu_shader5 */
/* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
/* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
/* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
/* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
/* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
/* reuse GL_MAX_VERTEX_STREAMS */
/* Reuse tokens from ARB_gpu_shader_fp64 */
/* reuse GL_DOUBLE_VEC2 */
/* reuse GL_DOUBLE_VEC3 */
/* reuse GL_DOUBLE_VEC4 */
/* reuse GL_DOUBLE_MAT2 */
/* reuse GL_DOUBLE_MAT3 */
/* reuse GL_DOUBLE_MAT4 */
/* reuse GL_DOUBLE_MAT2x3 */
/* reuse GL_DOUBLE_MAT2x4 */
/* reuse GL_DOUBLE_MAT3x2 */
/* reuse GL_DOUBLE_MAT3x4 */
/* reuse GL_DOUBLE_MAT4x2 */
/* reuse GL_DOUBLE_MAT4x3 */
/* Reuse tokens from ARB_shader_subroutine */
/* reuse GL_ACTIVE_SUBROUTINES */
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
/* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
/* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
/* reuse GL_MAX_SUBROUTINES */
/* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
/* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
/* reuse GL_COMPATIBLE_SUBROUTINES */
/* Reuse tokens from ARB_tessellation_shader */
/* reuse GL_PATCHES */
/* reuse GL_PATCH_VERTICES */
/* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
/* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
/* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
/* reuse GL_TESS_GEN_MODE */
/* reuse GL_TESS_GEN_SPACING */
/* reuse GL_TESS_GEN_VERTEX_ORDER */
/* reuse GL_TESS_GEN_POINT_MODE */
/* reuse GL_ISOLINES */
/* reuse GL_FRACTIONAL_ODD */
/* reuse GL_FRACTIONAL_EVEN */
/* reuse GL_MAX_PATCH_VERTICES */
/* reuse GL_MAX_TESS_GEN_LEVEL */
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
/* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
/* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
/* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
/* reuse GL_MAX_TESS_PATCH_COMPONENTS */
/* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
/* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
/* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
/* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
/* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
/* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
/* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
/* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
/* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
/* reuse GL_TESS_EVALUATION_SHADER */
/* reuse GL_TESS_CONTROL_SHADER */
/* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
/* Reuse tokens from ARB_transform_feedback2 */
/* reuse GL_TRANSFORM_FEEDBACK */
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
/* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
/* reuse GL_TRANSFORM_FEEDBACK_BINDING */
/* Reuse tokens from ARB_transform_feedback3 */
/* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
/* reuse GL_MAX_VERTEX_STREAMS */
#endif
#ifndef GL_VERSION_4_1
/* Reuse tokens from ARB_ES2_compatibility */
/* reuse GL_FIXED */
/* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
/* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
/* reuse GL_LOW_FLOAT */
/* reuse GL_MEDIUM_FLOAT */
/* reuse GL_HIGH_FLOAT */
/* reuse GL_LOW_INT */
/* reuse GL_MEDIUM_INT */
/* reuse GL_HIGH_INT */
/* reuse GL_SHADER_COMPILER */
/* reuse GL_NUM_SHADER_BINARY_FORMATS */
/* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
/* reuse GL_MAX_VARYING_VECTORS */
/* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
/* reuse GL_RGB565 */
/* Reuse tokens from ARB_get_program_binary */
/* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
/* reuse GL_PROGRAM_BINARY_LENGTH */
/* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
/* reuse GL_PROGRAM_BINARY_FORMATS */
/* Reuse tokens from ARB_separate_shader_objects */
/* reuse GL_VERTEX_SHADER_BIT */
/* reuse GL_FRAGMENT_SHADER_BIT */
/* reuse GL_GEOMETRY_SHADER_BIT */
/* reuse GL_TESS_CONTROL_SHADER_BIT */
/* reuse GL_TESS_EVALUATION_SHADER_BIT */
/* reuse GL_ALL_SHADER_BITS */
/* reuse GL_PROGRAM_SEPARABLE */
/* reuse GL_ACTIVE_PROGRAM */
/* reuse GL_PROGRAM_PIPELINE_BINDING */
/* Reuse tokens from ARB_shader_precision (none) */
/* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
/* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
/* reuse GL_MAX_VIEWPORTS */
/* reuse GL_VIEWPORT_SUBPIXEL_BITS */
/* reuse GL_VIEWPORT_BOUNDS_RANGE */
/* reuse GL_LAYER_PROVOKING_VERTEX */
/* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
/* reuse GL_UNDEFINED_VERTEX */
#endif
#ifndef GL_ARB_depth_buffer_float
#define GL_DEPTH_COMPONENT32F 0x8CAC
#define GL_DEPTH32F_STENCIL8 0x8CAD
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
#endif
#ifndef GL_ARB_framebuffer_object
#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
#define GL_FRAMEBUFFER_DEFAULT 0x8218
#define GL_FRAMEBUFFER_UNDEFINED 0x8219
#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
#define GL_DEPTH_STENCIL 0x84F9
#define GL_UNSIGNED_INT_24_8 0x84FA
#define GL_DEPTH24_STENCIL8 0x88F0
#define GL_TEXTURE_STENCIL_SIZE 0x88F1
#define GL_TEXTURE_RED_TYPE 0x8C10
#define GL_TEXTURE_GREEN_TYPE 0x8C11
#define GL_TEXTURE_BLUE_TYPE 0x8C12
#define GL_TEXTURE_ALPHA_TYPE 0x8C13
#define GL_TEXTURE_DEPTH_TYPE 0x8C16
#define GL_UNSIGNED_NORMALIZED 0x8C17
#define GL_FRAMEBUFFER_BINDING 0x8CA6
#define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
#define GL_RENDERBUFFER_BINDING 0x8CA7
#define GL_READ_FRAMEBUFFER 0x8CA8
#define GL_DRAW_FRAMEBUFFER 0x8CA9
#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
#define GL_RENDERBUFFER_SAMPLES 0x8CAB
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
#define GL_FRAMEBUFFER_COMPLETE 0x8CD5
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
#define GL_COLOR_ATTACHMENT0 0x8CE0
#define GL_COLOR_ATTACHMENT1 0x8CE1
#define GL_COLOR_ATTACHMENT2 0x8CE2
#define GL_COLOR_ATTACHMENT3 0x8CE3
#define GL_COLOR_ATTACHMENT4 0x8CE4
#define GL_COLOR_ATTACHMENT5 0x8CE5
#define GL_COLOR_ATTACHMENT6 0x8CE6
#define GL_COLOR_ATTACHMENT7 0x8CE7
#define GL_COLOR_ATTACHMENT8 0x8CE8
#define GL_COLOR_ATTACHMENT9 0x8CE9
#define GL_COLOR_ATTACHMENT10 0x8CEA
#define GL_COLOR_ATTACHMENT11 0x8CEB
#define GL_COLOR_ATTACHMENT12 0x8CEC
#define GL_COLOR_ATTACHMENT13 0x8CED
#define GL_COLOR_ATTACHMENT14 0x8CEE
#define GL_COLOR_ATTACHMENT15 0x8CEF
#define GL_DEPTH_ATTACHMENT 0x8D00
#define GL_STENCIL_ATTACHMENT 0x8D20
#define GL_FRAMEBUFFER 0x8D40
#define GL_RENDERBUFFER 0x8D41
#define GL_RENDERBUFFER_WIDTH 0x8D42
#define GL_RENDERBUFFER_HEIGHT 0x8D43
#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
#define GL_STENCIL_INDEX1 0x8D46
#define GL_STENCIL_INDEX4 0x8D47
#define GL_STENCIL_INDEX8 0x8D48
#define GL_STENCIL_INDEX16 0x8D49
#define GL_RENDERBUFFER_RED_SIZE 0x8D50
#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
#define GL_MAX_SAMPLES 0x8D57
#endif
#ifndef GL_ARB_framebuffer_sRGB
#define GL_FRAMEBUFFER_SRGB 0x8DB9
#endif
#ifndef GL_ARB_half_float_vertex
#define GL_HALF_FLOAT 0x140B
#endif
#ifndef GL_ARB_map_buffer_range
#define GL_MAP_READ_BIT 0x0001
#define GL_MAP_WRITE_BIT 0x0002
#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
#endif
#ifndef GL_ARB_texture_compression_rgtc
#define GL_COMPRESSED_RED_RGTC1 0x8DBB
#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
#define GL_COMPRESSED_RG_RGTC2 0x8DBD
#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
#endif
#ifndef GL_ARB_texture_rg
#define GL_RG 0x8227
#define GL_RG_INTEGER 0x8228
#define GL_R8 0x8229
#define GL_R16 0x822A
#define GL_RG8 0x822B
#define GL_RG16 0x822C
#define GL_R16F 0x822D
#define GL_R32F 0x822E
#define GL_RG16F 0x822F
#define GL_RG32F 0x8230
#define GL_R8I 0x8231
#define GL_R8UI 0x8232
#define GL_R16I 0x8233
#define GL_R16UI 0x8234
#define GL_R32I 0x8235
#define GL_R32UI 0x8236
#define GL_RG8I 0x8237
#define GL_RG8UI 0x8238
#define GL_RG16I 0x8239
#define GL_RG16UI 0x823A
#define GL_RG32I 0x823B
#define GL_RG32UI 0x823C
#endif
#ifndef GL_ARB_vertex_array_object
#define GL_VERTEX_ARRAY_BINDING 0x85B5
#endif
#ifndef GL_ARB_uniform_buffer_object
#define GL_UNIFORM_BUFFER 0x8A11
#define GL_UNIFORM_BUFFER_BINDING 0x8A28
#define GL_UNIFORM_BUFFER_START 0x8A29
#define GL_UNIFORM_BUFFER_SIZE 0x8A2A
#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
#define GL_UNIFORM_TYPE 0x8A37
#define GL_UNIFORM_SIZE 0x8A38
#define GL_UNIFORM_NAME_LENGTH 0x8A39
#define GL_UNIFORM_BLOCK_INDEX 0x8A3A
#define GL_UNIFORM_OFFSET 0x8A3B
#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
#define GL_UNIFORM_BLOCK_BINDING 0x8A3F
#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
#define GL_INVALID_INDEX 0xFFFFFFFFu
#endif
#ifndef GL_ARB_copy_buffer
#define GL_COPY_READ_BUFFER 0x8F36
#define GL_COPY_WRITE_BUFFER 0x8F37
#endif
#ifndef GL_ARB_depth_clamp
#define GL_DEPTH_CLAMP 0x864F
#endif
#ifndef GL_ARB_draw_elements_base_vertex
#endif
#ifndef GL_ARB_fragment_coord_conventions
#endif
#ifndef GL_ARB_provoking_vertex
#define GL_FIRST_VERTEX_CONVENTION 0x8E4D
#define GL_LAST_VERTEX_CONVENTION 0x8E4E
#define GL_PROVOKING_VERTEX 0x8E4F
#endif
#ifndef GL_ARB_seamless_cube_map
#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
#endif
#ifndef GL_ARB_sync
#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
#define GL_OBJECT_TYPE 0x9112
#define GL_SYNC_CONDITION 0x9113
#define GL_SYNC_STATUS 0x9114
#define GL_SYNC_FLAGS 0x9115
#define GL_SYNC_FENCE 0x9116
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
#define GL_UNSIGNALED 0x9118
#define GL_SIGNALED 0x9119
#define GL_ALREADY_SIGNALED 0x911A
#define GL_TIMEOUT_EXPIRED 0x911B
#define GL_CONDITION_SATISFIED 0x911C
#define GL_WAIT_FAILED 0x911D
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
#endif
#ifndef GL_ARB_texture_multisample
#define GL_SAMPLE_POSITION 0x8E50
#define GL_SAMPLE_MASK 0x8E51
#define GL_SAMPLE_MASK_VALUE 0x8E52
#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
#define GL_TEXTURE_2D_MULTISAMPLE 0x9100
#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
#define GL_TEXTURE_SAMPLES 0x9106
#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
#define GL_SAMPLER_2D_MULTISAMPLE 0x9108
#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
#define GL_MAX_INTEGER_SAMPLES 0x9110
#endif
#ifndef GL_ARB_vertex_array_bgra
/* reuse GL_BGRA */
#endif
#ifndef GL_ARB_texture_query_lod
#endif
#ifndef GL_ARB_blend_func_extended
#define GL_SRC1_COLOR 0x88F9
#define GL_SRC1_ALPHA 0x8589
#define GL_ONE_MINUS_SRC1_COLOR 0x88FA
#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
#endif
#ifndef GL_ARB_explicit_attrib_location
#endif
#ifndef GL_ARB_occlusion_query2
#define GL_ANY_SAMPLES_PASSED 0x8C2F
#endif
#ifndef GL_ARB_sampler_objects
#define GL_SAMPLER_BINDING 0x8919
#endif
#ifndef GL_ARB_shader_bit_encoding
#endif
#ifndef GL_ARB_texture_rgb10_a2ui
#define GL_RGB10_A2UI 0x906F
#endif
#ifndef GL_ARB_texture_swizzle
#define GL_TEXTURE_SWIZZLE_R 0x8E42
#define GL_TEXTURE_SWIZZLE_G 0x8E43
#define GL_TEXTURE_SWIZZLE_B 0x8E44
#define GL_TEXTURE_SWIZZLE_A 0x8E45
#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
#endif
#ifndef GL_ARB_timer_query
#define GL_TIME_ELAPSED 0x88BF
#define GL_TIMESTAMP 0x8E28
#endif
#ifndef GL_ARB_vertex_type_2_10_10_10_rev
/* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
#define GL_INT_2_10_10_10_REV 0x8D9F
#endif
#ifndef GL_ARB_draw_indirect
#define GL_DRAW_INDIRECT_BUFFER 0x8F3F
#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
#endif
#ifndef GL_ARB_gpu_shader5
#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
/* reuse GL_MAX_VERTEX_STREAMS */
#endif
#ifndef GL_ARB_gpu_shader_fp64
/* reuse GL_DOUBLE */
#define GL_DOUBLE_VEC2 0x8FFC
#define GL_DOUBLE_VEC3 0x8FFD
#define GL_DOUBLE_VEC4 0x8FFE
#define GL_DOUBLE_MAT2 0x8F46
#define GL_DOUBLE_MAT3 0x8F47
#define GL_DOUBLE_MAT4 0x8F48
#define GL_DOUBLE_MAT2x3 0x8F49
#define GL_DOUBLE_MAT2x4 0x8F4A
#define GL_DOUBLE_MAT3x2 0x8F4B
#define GL_DOUBLE_MAT3x4 0x8F4C
#define GL_DOUBLE_MAT4x2 0x8F4D
#define GL_DOUBLE_MAT4x3 0x8F4E
#endif
#ifndef GL_ARB_shader_subroutine
#define GL_ACTIVE_SUBROUTINES 0x8DE5
#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
#define GL_MAX_SUBROUTINES 0x8DE7
#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
#define GL_COMPATIBLE_SUBROUTINES 0x8E4B
/* reuse GL_UNIFORM_SIZE */
/* reuse GL_UNIFORM_NAME_LENGTH */
#endif
#ifndef GL_ARB_tessellation_shader
#define GL_PATCHES 0x000E
#define GL_PATCH_VERTICES 0x8E72
#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
#define GL_TESS_GEN_MODE 0x8E76
#define GL_TESS_GEN_SPACING 0x8E77
#define GL_TESS_GEN_VERTEX_ORDER 0x8E78
#define GL_TESS_GEN_POINT_MODE 0x8E79
/* reuse GL_TRIANGLES */
#define GL_QUADS 0x0007
#define GL_ISOLINES 0x8E7A
/* reuse GL_EQUAL */
#define GL_FRACTIONAL_ODD 0x8E7B
#define GL_FRACTIONAL_EVEN 0x8E7C
/* reuse GL_CCW */
/* reuse GL_CW */
#define GL_MAX_PATCH_VERTICES 0x8E7D
#define GL_MAX_TESS_GEN_LEVEL 0x8E7E
#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
#define GL_TESS_EVALUATION_SHADER 0x8E87
#define GL_TESS_CONTROL_SHADER 0x8E88
#endif
#ifndef GL_ARB_texture_buffer_object_rgb32
/* reuse GL_RGB32F */
/* reuse GL_RGB32UI */
/* reuse GL_RGB32I */
#endif
#ifndef GL_ARB_transform_feedback2
#define GL_TRANSFORM_FEEDBACK 0x8E22
#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
#endif
#ifndef GL_ARB_transform_feedback3
#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
#define GL_MAX_VERTEX_STREAMS 0x8E71
#endif
#ifndef GL_ARB_ES2_compatibility
#define GL_FIXED 0x140C
#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
#define GL_LOW_FLOAT 0x8DF0
#define GL_MEDIUM_FLOAT 0x8DF1
#define GL_HIGH_FLOAT 0x8DF2
#define GL_LOW_INT 0x8DF3
#define GL_MEDIUM_INT 0x8DF4
#define GL_HIGH_INT 0x8DF5
#define GL_SHADER_COMPILER 0x8DFA
#define GL_SHADER_BINARY_FORMATS 0x8DF8
#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
#define GL_MAX_VARYING_VECTORS 0x8DFC
#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
#define GL_RGB565 0x8D62
#endif
#ifndef GL_ARB_get_program_binary
#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
#define GL_PROGRAM_BINARY_LENGTH 0x8741
#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
#define GL_PROGRAM_BINARY_FORMATS 0x87FF
#endif
#ifndef GL_ARB_separate_shader_objects
#define GL_VERTEX_SHADER_BIT 0x00000001
#define GL_FRAGMENT_SHADER_BIT 0x00000002
#define GL_GEOMETRY_SHADER_BIT 0x00000004
#define GL_TESS_CONTROL_SHADER_BIT 0x00000008
#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
#define GL_ALL_SHADER_BITS 0xFFFFFFFF
#define GL_PROGRAM_SEPARABLE 0x8258
#define GL_ACTIVE_PROGRAM 0x8259
#define GL_PROGRAM_PIPELINE_BINDING 0x825A
#endif
#ifndef GL_ARB_shader_precision
#endif
#ifndef GL_ARB_vertex_attrib_64bit
/* reuse GL_DOUBLE */
/* reuse GL_DOUBLE_VEC2 */
/* reuse GL_DOUBLE_VEC3 */
/* reuse GL_DOUBLE_VEC4 */
/* reuse GL_DOUBLE_MAT2 */
/* reuse GL_DOUBLE_MAT3 */
/* reuse GL_DOUBLE_MAT4 */
/* reuse GL_DOUBLE_MAT2x3 */
/* reuse GL_DOUBLE_MAT2x4 */
/* reuse GL_DOUBLE_MAT3x2 */
/* reuse GL_DOUBLE_MAT3x4 */
/* reuse GL_DOUBLE_MAT4x2 */
/* reuse GL_DOUBLE_MAT4x3 */
#endif
#ifndef GL_ARB_viewport_array
/* reuse GL_SCISSOR_BOX */
/* reuse GL_VIEWPORT */
/* reuse GL_DEPTH_RANGE */
/* reuse GL_SCISSOR_TEST */
#define GL_MAX_VIEWPORTS 0x825B
#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
#define GL_VIEWPORT_BOUNDS_RANGE 0x825D
#define GL_LAYER_PROVOKING_VERTEX 0x825E
#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
#define GL_UNDEFINED_VERTEX 0x8260
/* reuse GL_FIRST_VERTEX_CONVENTION */
/* reuse GL_LAST_VERTEX_CONVENTION */
/* reuse GL_PROVOKING_VERTEX */
#endif
/*************************************************************/
#ifndef GL_VERSION_1_0
#define GL_VERSION_1_0 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glCullFace (GLenum mode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glFrontFace (GLenum mode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glHint (GLenum target, GLenum mode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glLineWidth (GLfloat width) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPointSize (GLfloat size) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDrawBuffer (GLenum mode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glClear (GLbitfield mask) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glClearStencil (GLint s) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glClearDepth (GLclampd depth) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glStencilMask (GLuint mask) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDepthMask (GLboolean flag) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDisable (GLenum cap) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glEnable (GLenum cap) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glFinish (void) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glFlush (void) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glLogicOp (GLenum opcode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDepthFunc (GLenum func) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glReadBuffer (GLenum mode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLenum APIENTRY glGetError (void) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI const GLubyte * APIENTRY glGetString (GLenum name) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDepthRange (GLclampd near, GLclampd far) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode);
typedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width);
typedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size);
typedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode);
typedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask);
typedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
typedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s);
typedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLclampd depth);
typedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask);
typedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
typedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag);
typedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap);
typedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap);
typedef void (APIENTRYP PFNGLFINISHPROC) (void);
typedef void (APIENTRYP PFNGLFLUSHPROC) (void);
typedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor);
typedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode);
typedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask);
typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass);
typedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func);
typedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
typedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *params);
typedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *params);
typedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void);
typedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGPROC) (GLenum name);
typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params);
typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap);
typedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLclampd near, GLclampd far);
typedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
#endif
#ifndef GL_VERSION_1_1
#define GL_VERSION_1_1 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glIsTexture (GLuint texture) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
typedef void (APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units);
typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
typedef void (APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures);
typedef void (APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures);
typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
#endif
#ifndef GL_VERSION_1_2
#define GL_VERSION_1_2 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBlendEquation (GLenum mode) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
#endif
#ifndef GL_VERSION_1_3
#define GL_VERSION_1_3 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glActiveTexture (GLenum texture) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glSampleCoverage (GLclampf value, GLboolean invert) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GLvoid *img) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
#endif
#ifndef GL_VERSION_1_4
#define GL_VERSION_1_4 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
#endif
#ifndef GL_VERSION_1_5
#define GL_VERSION_1_5 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glIsQuery (GLuint id) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glEndQuery (GLenum target) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
#endif
#ifndef GL_VERSION_2_0
#define GL_VERSION_2_0 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glCompileShader (GLuint shader) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLuint APIENTRY glCreateProgram (void) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLuint APIENTRY glCreateShader (GLenum type) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDeleteProgram (GLuint program) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDeleteShader (GLuint shader) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid* *pointer) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glIsProgram (GLuint program) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glIsShader (GLuint shader) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glLinkProgram (GLuint program) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUseProgram (GLuint program) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform1i (GLint location, GLint v0) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glValidateProgram (GLuint program) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
#endif
#ifndef GL_VERSION_2_1
#define GL_VERSION_2_1 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
#endif
#ifndef GL_VERSION_3_0
#define GL_VERSION_3_0 1
/* OpenGL 3.0 also reuses entry points from these extensions: */
/* ARB_framebuffer_object */
/* ARB_map_buffer_range */
/* ARB_vertex_array_object */
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glEnablei (GLenum target, GLuint index) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDisablei (GLenum target, GLuint index) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glEndTransformFeedback (void) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glEndConditionalRender (void) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI const GLubyte * APIENTRY glGetStringi (GLenum name, GLuint index) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
#endif
#ifndef GL_VERSION_3_1
#define GL_VERSION_3_1 1
/* OpenGL 3.1 also reuses entry points from these extensions: */
/* ARB_copy_buffer */
/* ARB_uniform_buffer_object */
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
#endif
#ifndef GL_VERSION_3_2
#define GL_VERSION_3_2 1
/* OpenGL 3.2 also reuses entry points from these extensions: */
/* ARB_draw_elements_base_vertex */
/* ARB_provoking_vertex */
/* ARB_sync */
/* ARB_texture_multisample */
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
#endif
#ifndef GL_VERSION_3_3
#define GL_VERSION_3_3 1
/* OpenGL 3.3 also reuses entry points from these extensions: */
/* ARB_blend_func_extended */
/* ARB_sampler_objects */
/* ARB_explicit_attrib_location, but it has none */
/* ARB_occlusion_query2 (no entry points) */
/* ARB_shader_bit_encoding (no entry points) */
/* ARB_texture_rgb10_a2ui (no entry points) */
/* ARB_texture_swizzle (no entry points) */
/* ARB_timer_query */
/* ARB_vertex_type_2_10_10_10_rev */
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
#endif
#ifndef GL_VERSION_4_0
#define GL_VERSION_4_0 1
/* OpenGL 4.0 also reuses entry points from these extensions: */
/* ARB_texture_query_lod (no entry points) */
/* ARB_draw_indirect */
/* ARB_gpu_shader5 (no entry points) */
/* ARB_gpu_shader_fp64 */
/* ARB_shader_subroutine */
/* ARB_tessellation_shader */
/* ARB_texture_buffer_object_rgb32 (no entry points) */
/* ARB_texture_cube_map_array (no entry points) */
/* ARB_texture_gather (no entry points) */
/* ARB_transform_feedback2 */
/* ARB_transform_feedback3 */
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glMinSampleShading (GLfloat value) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) OPENGL_DEPRECATED(10.8, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
#endif
#ifndef GL_VERSION_4_1
#define GL_VERSION_4_1 1
/* OpenGL 4.1 reuses entry points from these extensions: */
/* ARB_ES2_compatibility */
/* ARB_get_program_binary */
/* ARB_separate_shader_objects */
/* ARB_shader_precision (no entry points) */
/* ARB_vertex_attrib_64bit */
/* ARB_viewport_array */
#endif
#ifndef GL_ARB_depth_buffer_float
#define GL_ARB_depth_buffer_float 1
#endif
#ifndef GL_ARB_framebuffer_object
#define GL_ARB_framebuffer_object 1
#ifdef GL3_PROTOTYPES
GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glGenerateMipmap (GLenum target) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.8, 10.14);
GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) OPENGL_DEPRECATED(10.8, 10.14);
#endif /* GL3_PROTOTYPES */
typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
#endif
#ifndef GL_ARB_framebuffer_sRGB
#define GL_ARB_framebuffer_sRGB 1
#endif
#ifndef GL_ARB_half_float_vertex
#define GL_ARB_half_float_vertex 1
#endif
#ifndef GL_ARB_map_buffer_range
#define GL_ARB_map_buffer_range 1
#ifdef GL3_PROTOTYPES
GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
#endif /* GL3_PROTOTYPES */
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
#endif
#ifndef GL_ARB_texture_compression_rgtc
#define GL_ARB_texture_compression_rgtc 1
#endif
#ifndef GL_ARB_texture_rg
#define GL_ARB_texture_rg 1
#endif
#ifndef GL_ARB_vertex_array_object
#define GL_ARB_vertex_array_object 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glBindVertexArray (GLuint array) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
#endif
#ifndef GL_ARB_uniform_buffer_object
#define GL_ARB_uniform_buffer_object 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) OPENGL_DEPRECATED(10.5, 10.14);
GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
#endif
#ifndef GL_ARB_copy_buffer
#define GL_ARB_copy_buffer 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) OPENGL_DEPRECATED(10.5, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
#endif
#ifndef GL_ARB_depth_clamp
#define GL_ARB_depth_clamp 1
#endif
#ifndef GL_ARB_draw_elements_base_vertex
#define GL_ARB_draw_elements_base_vertex 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
#endif
#ifndef GL_ARB_fragment_coord_conventions
#define GL_ARB_fragment_coord_conventions 1
#endif
#ifndef GL_ARB_provoking_vertex
#define GL_ARB_provoking_vertex 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glProvokingVertex (GLenum mode) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
#endif
#ifndef GL_ARB_seamless_cube_map
#define GL_ARB_seamless_cube_map 1
#endif
#ifndef GL_ARB_sync
#define GL_ARB_sync 1
#ifdef GL3_PROTOTYPES
GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLboolean APIENTRY glIsSync (GLsync sync) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDeleteSync (GLsync sync) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *params);
typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
#endif
#ifndef GL_ARB_texture_multisample
#define GL_ARB_texture_multisample 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glSampleMaski (GLuint index, GLbitfield mask) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
#endif
#ifndef GL_ARB_vertex_array_bgra
#define GL_ARB_vertex_array_bgra 1
#endif
#ifndef GL_ARB_texture_query_lod
#define GL_ARB_texture_query_lod 1
#endif
#ifndef GL_ARB_blend_func_extended
#define GL_ARB_blend_func_extended 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
#endif
#ifndef GL_ARB_explicit_attrib_location
#define GL_ARB_explicit_attrib_location 1
#endif
#ifndef GL_ARB_occlusion_query2
#define GL_ARB_occlusion_query2 1
#endif
#ifndef GL_ARB_sampler_objects
#define GL_ARB_sampler_objects 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
#endif
#ifndef GL_ARB_shader_bit_encoding
#define GL_ARB_shader_bit_encoding 1
#endif
#ifndef GL_ARB_texture_rgb10_a2ui
#define GL_ARB_texture_rgb10_a2ui 1
#endif
#ifndef GL_ARB_texture_swizzle
#define GL_ARB_texture_swizzle 1
#endif
#ifndef GL_ARB_timer_query
#define GL_ARB_timer_query 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
#endif
#ifndef GL_ARB_vertex_type_2_10_10_10_rev
#define GL_ARB_vertex_type_2_10_10_10_rev 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
#endif
#ifndef GL_ARB_draw_indirect
#define GL_ARB_draw_indirect 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const GLvoid *indirect) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const GLvoid *indirect) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const GLvoid *indirect);
typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const GLvoid *indirect);
#endif
#ifndef GL_ARB_gpu_shader5
#define GL_ARB_gpu_shader5 1
#endif
#ifndef GL_ARB_gpu_shader_fp64
#define GL_ARB_gpu_shader_fp64 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
#endif
#ifndef GL_ARB_shader_subroutine
#define GL_ARB_shader_subroutine 1
#ifdef GL3_PROTOTYPES
GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
#endif
#ifndef GL_ARB_tessellation_shader
#define GL_ARB_tessellation_shader 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
#endif
#ifndef GL_ARB_texture_buffer_object_rgb32
#define GL_ARB_texture_buffer_object_rgb32 1
#endif
#ifndef GL_ARB_transform_feedback2
#define GL_ARB_transform_feedback2 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glPauseTransformFeedback (void) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glResumeTransformFeedback (void) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
#endif
#ifndef GL_ARB_transform_feedback3
#define GL_ARB_transform_feedback3 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
#endif
#ifndef GL_ARB_ES2_compatibility
#define GL_ARB_ES2_compatibility 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glReleaseShaderCompiler (void) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDepthRangef (GLclampf n, GLclampf f) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glClearDepthf (GLclampf d) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f);
typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLclampf d);
#endif
#ifndef GL_ARB_get_program_binary
#define GL_ARB_get_program_binary 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
#endif
#ifndef GL_ARB_separate_shader_objects
#define GL_ARB_separate_shader_objects 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* const *strings) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* const *strings);
typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
#endif
#ifndef GL_ARB_shader_precision
#define GL_ARB_shader_precision 1
#endif
#ifndef GL_ARB_vertex_attrib_64bit
#define GL_ARB_vertex_attrib_64bit 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
#endif
#ifndef GL_ARB_viewport_array
#define GL_ARB_viewport_array 1
#ifdef GL3_PROTOTYPES
GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLclampd *v) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLclampd n, GLclampd f) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data) OPENGL_DEPRECATED(10.7, 10.14);
GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data) OPENGL_DEPRECATED(10.7, 10.14);
#endif /* GL3_PROTOTYPES */
typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLclampd *v);
typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLclampd n, GLclampd f);
typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
#endif
#ifdef __cplusplus
}
#endif
#endif
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Headers/gliDispatch.h | /*
Copyright: (c) 1999-2013 Apple Inc. All rights reserved.
*/
#ifndef _GLIDISPATCH_H
#define _GLIDISPATCH_H
#include <OpenGL/gltypes.h>
#include <OpenGL/gliContext.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
** GL function dispatch table type
*/
typedef struct __GLIFunctionDispatchRec
{
void (*accum)(GLIContext ctx, GLenum op, GLfloat value);
void (*alpha_func)(GLIContext ctx, GLenum func, GLclampf ref);
GLboolean (*are_textures_resident)(GLIContext ctx, GLsizei n, const GLuint *textures, GLboolean *residences);
void (*array_element)(GLIContext ctx, GLint i);
void (*begin)(GLIContext ctx, GLenum mode);
void (*bind_texture)(GLIContext ctx, GLenum target, GLuint texture);
void (*bitmap)(GLIContext ctx, GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
void (*blend_func)(GLIContext ctx, GLenum sfactor, GLenum dfactor);
void (*call_list)(GLIContext ctx, GLuint list);
void (*call_lists)(GLIContext ctx, GLsizei n, GLenum type, const GLvoid *lists);
void (*clear)(GLIContext ctx, GLbitfield mask);
void (*clear_accum)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
void (*clear_color)(GLIContext ctx, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
void (*clear_depth)(GLIContext ctx, GLclampd depth);
void (*clear_index)(GLIContext ctx, GLfloat c);
void (*clear_stencil)(GLIContext ctx, GLint s);
void (*clip_plane)(GLIContext ctx, GLenum plane, const GLdouble *equation);
void (*color3b)(GLIContext ctx, GLbyte red, GLbyte green, GLbyte blue);
void (*color3bv)(GLIContext ctx, const GLbyte *v);
void (*color3d)(GLIContext ctx, GLdouble red, GLdouble green, GLdouble blue);
void (*color3dv)(GLIContext ctx, const GLdouble *v);
void (*color3f)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue);
void (*color3fv)(GLIContext ctx, const GLfloat *v);
void (*color3i)(GLIContext ctx, GLint red, GLint green, GLint blue);
void (*color3iv)(GLIContext ctx, const GLint *v);
void (*color3s)(GLIContext ctx, GLshort red, GLshort green, GLshort blue);
void (*color3sv)(GLIContext ctx, const GLshort *v);
void (*color3ub)(GLIContext ctx, GLubyte red, GLubyte green, GLubyte blue);
void (*color3ubv)(GLIContext ctx, const GLubyte *v);
void (*color3ui)(GLIContext ctx, GLuint red, GLuint green, GLuint blue);
void (*color3uiv)(GLIContext ctx, const GLuint *v);
void (*color3us)(GLIContext ctx, GLushort red, GLushort green, GLushort blue);
void (*color3usv)(GLIContext ctx, const GLushort *v);
void (*color4b)(GLIContext ctx, GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
void (*color4bv)(GLIContext ctx, const GLbyte *v);
void (*color4d)(GLIContext ctx, GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
void (*color4dv)(GLIContext ctx, const GLdouble *v);
void (*color4f)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
void (*color4fv)(GLIContext ctx, const GLfloat *v);
void (*color4i)(GLIContext ctx, GLint red, GLint green, GLint blue, GLint alpha);
void (*color4iv)(GLIContext ctx, const GLint *v);
void (*color4s)(GLIContext ctx, GLshort red, GLshort green, GLshort blue, GLshort alpha);
void (*color4sv)(GLIContext ctx, const GLshort *v);
void (*color4ub)(GLIContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
void (*color4ubv)(GLIContext ctx, const GLubyte *v);
void (*color4ui)(GLIContext ctx, GLuint red, GLuint green, GLuint blue, GLuint alpha);
void (*color4uiv)(GLIContext ctx, const GLuint *v);
void (*color4us)(GLIContext ctx, GLushort red, GLushort green, GLushort blue, GLushort alpha);
void (*color4usv)(GLIContext ctx, const GLushort *v);
void (*color_mask)(GLIContext ctx, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
void (*color_material)(GLIContext ctx, GLenum face, GLenum mode);
void (*color_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*copy_pixels)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
void (*copy_tex_image1D)(GLIContext ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
void (*copy_tex_image2D)(GLIContext ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
void (*copy_tex_sub_image1D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
void (*copy_tex_sub_image2D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
void (*cull_face)(GLIContext ctx, GLenum mode);
void (*delete_lists)(GLIContext ctx, GLuint list, GLsizei range);
void (*delete_textures)(GLIContext ctx, GLsizei n, const GLuint *textures);
void (*depth_func)(GLIContext ctx, GLenum func);
void (*depth_mask)(GLIContext ctx, GLboolean flag);
void (*depth_range)(GLIContext ctx, GLclampd zNear, GLclampd zFar);
void (*disable)(GLIContext ctx, GLenum cap);
void (*disable_client_state)(GLIContext ctx, GLenum array);
void (*draw_arrays)(GLIContext ctx, GLenum mode, GLint first, GLsizei count);
void (*draw_buffer)(GLIContext ctx, GLenum mode);
void (*draw_elements)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
void (*draw_pixels)(GLIContext ctx, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
void (*edge_flag)(GLIContext ctx, GLboolean flag);
void (*edge_flag_pointer)(GLIContext ctx, GLsizei stride, const GLvoid *pointer);
void (*edge_flagv)(GLIContext ctx, const GLboolean *flag);
void (*enable)(GLIContext ctx, GLenum cap);
void (*enable_client_state)(GLIContext ctx, GLenum array);
void (*end)(GLIContext ctx);
void (*end_list)(GLIContext ctx);
void (*eval_coord1d)(GLIContext ctx, GLdouble u);
void (*eval_coord1dv)(GLIContext ctx, const GLdouble *u);
void (*eval_coord1f)(GLIContext ctx, GLfloat u);
void (*eval_coord1fv)(GLIContext ctx, const GLfloat *u);
void (*eval_coord2d)(GLIContext ctx, GLdouble u, GLdouble v);
void (*eval_coord2dv)(GLIContext ctx, const GLdouble *u);
void (*eval_coord2f)(GLIContext ctx, GLfloat u, GLfloat v);
void (*eval_coord2fv)(GLIContext ctx, const GLfloat *u);
void (*eval_mesh1)(GLIContext ctx, GLenum mode, GLint i1, GLint i2);
void (*eval_mesh2)(GLIContext ctx, GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
void (*eval_point1)(GLIContext ctx, GLint i);
void (*eval_point2)(GLIContext ctx, GLint i, GLint j);
void (*feedback_buffer)(GLIContext ctx, GLsizei size, GLenum type, GLfloat *buffer);
void (*finish)(GLIContext ctx);
void (*flush)(GLIContext ctx);
void (*fogf)(GLIContext ctx, GLenum pname, GLfloat param);
void (*fogfv)(GLIContext ctx, GLenum pname, const GLfloat *params);
void (*fogi)(GLIContext ctx, GLenum pname, GLint param);
void (*fogiv)(GLIContext ctx, GLenum pname, const GLint *params);
void (*front_face)(GLIContext ctx, GLenum mode);
void (*frustum)(GLIContext ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
GLuint (*gen_lists)(GLIContext ctx, GLsizei range);
void (*gen_textures)(GLIContext ctx, GLsizei n, GLuint *textures);
void (*get_booleanv)(GLIContext ctx, GLenum pname, GLboolean *params);
void (*get_clip_plane)(GLIContext ctx, GLenum plane, GLdouble *equation);
void (*get_doublev)(GLIContext ctx, GLenum pname, GLdouble *params);
GLenum (*get_error)(GLIContext ctx);
void (*get_floatv)(GLIContext ctx, GLenum pname, GLfloat *params);
void (*get_integerv)(GLIContext ctx, GLenum pname, GLint *params);
void (*get_lightfv)(GLIContext ctx, GLenum light, GLenum pname, GLfloat *params);
void (*get_lightiv)(GLIContext ctx, GLenum light, GLenum pname, GLint *params);
void (*get_mapdv)(GLIContext ctx, GLenum target, GLenum query, GLdouble *v);
void (*get_mapfv)(GLIContext ctx, GLenum target, GLenum query, GLfloat *v);
void (*get_mapiv)(GLIContext ctx, GLenum target, GLenum query, GLint *v);
void (*get_materialfv)(GLIContext ctx, GLenum face, GLenum pname, GLfloat *params);
void (*get_materialiv)(GLIContext ctx, GLenum face, GLenum pname, GLint *params);
void (*get_pixel_mapfv)(GLIContext ctx, GLenum map, GLfloat *values);
void (*get_pixel_mapuiv)(GLIContext ctx, GLenum map, GLuint *values);
void (*get_pixel_mapusv)(GLIContext ctx, GLenum map, GLushort *values);
void (*get_pointerv)(GLIContext ctx, GLenum pname, GLvoid **params);
void (*get_polygon_stipple)(GLIContext ctx, GLubyte *mask);
const GLubyte* (*get_string)(GLIContext ctx, GLenum name);
void (*get_tex_envfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params);
void (*get_tex_enviv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*get_tex_gendv)(GLIContext ctx, GLenum coord, GLenum pname, GLdouble *params);
void (*get_tex_genfv)(GLIContext ctx, GLenum coord, GLenum pname, GLfloat *params);
void (*get_tex_geniv)(GLIContext ctx, GLenum coord, GLenum pname, GLint *params);
void (*get_tex_image)(GLIContext ctx, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
void (*get_tex_level_parameterfv)(GLIContext ctx, GLenum target, GLint level, GLenum pname, GLfloat *params);
void (*get_tex_level_parameteriv)(GLIContext ctx, GLenum target, GLint level, GLenum pname, GLint *params);
void (*get_tex_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params);
void (*get_tex_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*hint)(GLIContext ctx, GLenum target, GLenum mode);
void (*index_mask)(GLIContext ctx, GLuint mask);
void (*index_pointer)(GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*indexd)(GLIContext ctx, GLdouble c);
void (*indexdv)(GLIContext ctx, const GLdouble *c);
void (*indexf)(GLIContext ctx, GLfloat c);
void (*indexfv)(GLIContext ctx, const GLfloat *c);
void (*indexi)(GLIContext ctx, GLint c);
void (*indexiv)(GLIContext ctx, const GLint *c);
void (*indexs)(GLIContext ctx, GLshort c);
void (*indexsv)(GLIContext ctx, const GLshort *c);
void (*indexub)(GLIContext ctx, GLubyte c);
void (*indexubv)(GLIContext ctx, const GLubyte *c);
void (*init_names)(GLIContext ctx);
void (*interleaved_arrays)(GLIContext ctx, GLenum format, GLsizei stride, const GLvoid *pointer);
GLboolean (*is_enabled)(GLIContext ctx, GLenum cap);
GLboolean (*is_list)(GLIContext ctx, GLuint list);
GLboolean (*is_texture)(GLIContext ctx, GLuint texture);
void (*light_modelf)(GLIContext ctx, GLenum pname, GLfloat param);
void (*light_modelfv)(GLIContext ctx, GLenum pname, const GLfloat *params);
void (*light_modeli)(GLIContext ctx, GLenum pname, GLint param);
void (*light_modeliv)(GLIContext ctx, GLenum pname, const GLint *params);
void (*lightf)(GLIContext ctx, GLenum light, GLenum pname, GLfloat param);
void (*lightfv)(GLIContext ctx, GLenum light, GLenum pname, const GLfloat *params);
void (*lighti)(GLIContext ctx, GLenum light, GLenum pname, GLint param);
void (*lightiv)(GLIContext ctx, GLenum light, GLenum pname, const GLint *params);
void (*line_stipple)(GLIContext ctx, GLint factor, GLushort pattern);
void (*line_width)(GLIContext ctx, GLfloat width);
void (*list_base)(GLIContext ctx, GLuint base);
void (*load_identity)(GLIContext ctx);
void (*load_matrixd)(GLIContext ctx, const GLdouble *m);
void (*load_matrixf)(GLIContext ctx, const GLfloat *m);
void (*load_name)(GLIContext ctx, GLuint name);
void (*logic_op)(GLIContext ctx, GLenum opcode);
void (*map1d)(GLIContext ctx, GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
void (*map1f)(GLIContext ctx, GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
void (*map2d)(GLIContext ctx, GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
void (*map2f)(GLIContext ctx, GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
void (*map_grid1d)(GLIContext ctx, GLint un, GLdouble u1, GLdouble u2);
void (*map_grid1f)(GLIContext ctx, GLint un, GLfloat u1, GLfloat u2);
void (*map_grid2d)(GLIContext ctx, GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
void (*map_grid2f)(GLIContext ctx, GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
void (*materialf)(GLIContext ctx, GLenum face, GLenum pname, GLfloat param);
void (*materialfv)(GLIContext ctx, GLenum face, GLenum pname, const GLfloat *params);
void (*materiali)(GLIContext ctx, GLenum face, GLenum pname, GLint param);
void (*materialiv)(GLIContext ctx, GLenum face, GLenum pname, const GLint *params);
void (*matrix_mode)(GLIContext ctx, GLenum mode);
void (*mult_matrixd)(GLIContext ctx, const GLdouble *m);
void (*mult_matrixf)(GLIContext ctx, const GLfloat *m);
void (*new_list)(GLIContext ctx, GLuint list, GLenum mode);
void (*normal3b)(GLIContext ctx, GLbyte nx, GLbyte ny, GLbyte nz);
void (*normal3bv)(GLIContext ctx, const GLbyte *v);
void (*normal3d)(GLIContext ctx, GLdouble nx, GLdouble ny, GLdouble nz);
void (*normal3dv)(GLIContext ctx, const GLdouble *v);
void (*normal3f)(GLIContext ctx, GLfloat nx, GLfloat ny, GLfloat nz);
void (*normal3fv)(GLIContext ctx, const GLfloat *v);
void (*normal3i)(GLIContext ctx, GLint nx, GLint ny, GLint nz);
void (*normal3iv)(GLIContext ctx, const GLint *v);
void (*normal3s)(GLIContext ctx, GLshort nx, GLshort ny, GLshort nz);
void (*normal3sv)(GLIContext ctx, const GLshort *v);
void (*normal_pointer)(GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*ortho)(GLIContext ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
void (*pass_through)(GLIContext ctx, GLfloat token);
void (*pixel_mapfv)(GLIContext ctx, GLenum map, GLsizei mapsize, const GLfloat *values);
void (*pixel_mapuiv)(GLIContext ctx, GLenum map, GLsizei mapsize, const GLuint *values);
void (*pixel_mapusv)(GLIContext ctx, GLenum map, GLsizei mapsize, const GLushort *values);
void (*pixel_storef)(GLIContext ctx, GLenum pname, GLfloat param);
void (*pixel_storei)(GLIContext ctx, GLenum pname, GLint param);
void (*pixel_transferf)(GLIContext ctx, GLenum pname, GLfloat param);
void (*pixel_transferi)(GLIContext ctx, GLenum pname, GLint param);
void (*pixel_zoom)(GLIContext ctx, GLfloat xfactor, GLfloat yfactor);
void (*point_size)(GLIContext ctx, GLfloat size);
void (*polygon_mode)(GLIContext ctx, GLenum face, GLenum mode);
void (*polygon_offset)(GLIContext ctx, GLfloat factor, GLfloat units);
void (*polygon_stipple)(GLIContext ctx, const GLubyte *mask);
void (*pop_attrib)(GLIContext ctx);
void (*pop_client_attrib)(GLIContext ctx);
void (*pop_matrix)(GLIContext ctx);
void (*pop_name)(GLIContext ctx);
void (*prioritize_textures)(GLIContext ctx, GLsizei n, const GLuint *textures, const GLclampf *priorities);
void (*push_attrib)(GLIContext ctx, GLbitfield mask);
void (*push_client_attrib)(GLIContext ctx, GLbitfield mask);
void (*push_matrix)(GLIContext ctx);
void (*push_name)(GLIContext ctx, GLuint name);
void (*raster_pos2d)(GLIContext ctx, GLdouble x, GLdouble y);
void (*raster_pos2dv)(GLIContext ctx, const GLdouble *v);
void (*raster_pos2f)(GLIContext ctx, GLfloat x, GLfloat y);
void (*raster_pos2fv)(GLIContext ctx, const GLfloat *v);
void (*raster_pos2i)(GLIContext ctx, GLint x, GLint y);
void (*raster_pos2iv)(GLIContext ctx, const GLint *v);
void (*raster_pos2s)(GLIContext ctx, GLshort x, GLshort y);
void (*raster_pos2sv)(GLIContext ctx, const GLshort *v);
void (*raster_pos3d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z);
void (*raster_pos3dv)(GLIContext ctx, const GLdouble *v);
void (*raster_pos3f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z);
void (*raster_pos3fv)(GLIContext ctx, const GLfloat *v);
void (*raster_pos3i)(GLIContext ctx, GLint x, GLint y, GLint z);
void (*raster_pos3iv)(GLIContext ctx, const GLint *v);
void (*raster_pos3s)(GLIContext ctx, GLshort x, GLshort y, GLshort z);
void (*raster_pos3sv)(GLIContext ctx, const GLshort *v);
void (*raster_pos4d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*raster_pos4dv)(GLIContext ctx, const GLdouble *v);
void (*raster_pos4f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
void (*raster_pos4fv)(GLIContext ctx, const GLfloat *v);
void (*raster_pos4i)(GLIContext ctx, GLint x, GLint y, GLint z, GLint w);
void (*raster_pos4iv)(GLIContext ctx, const GLint *v);
void (*raster_pos4s)(GLIContext ctx, GLshort x, GLshort y, GLshort z, GLshort w);
void (*raster_pos4sv)(GLIContext ctx, const GLshort *v);
void (*read_buffer)(GLIContext ctx, GLenum mode);
void (*read_pixels)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
void (*rectd)(GLIContext ctx, GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
void (*rectdv)(GLIContext ctx, const GLdouble *v1, const GLdouble *v2);
void (*rectf)(GLIContext ctx, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
void (*rectfv)(GLIContext ctx, const GLfloat *v1, const GLfloat *v2);
void (*recti)(GLIContext ctx, GLint x1, GLint y1, GLint x2, GLint y2);
void (*rectiv)(GLIContext ctx, const GLint *v1, const GLint *v2);
void (*rects)(GLIContext ctx, GLshort x1, GLshort y1, GLshort x2, GLshort y2);
void (*rectsv)(GLIContext ctx, const GLshort *v1, const GLshort *v2);
GLint (*render_mode)(GLIContext ctx, GLenum mode);
void (*rotated)(GLIContext ctx, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
void (*rotatef)(GLIContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
void (*scaled)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z);
void (*scalef)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z);
void (*scissor)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height);
void (*select_buffer)(GLIContext ctx, GLsizei size, GLuint *buffer);
void (*shade_model)(GLIContext ctx, GLenum mode);
void (*stencil_func)(GLIContext ctx, GLenum func, GLint ref, GLuint mask);
void (*stencil_mask)(GLIContext ctx, GLuint mask);
void (*stencil_op)(GLIContext ctx, GLenum fail, GLenum zfail, GLenum zpass);
void (*tex_coord1d)(GLIContext ctx, GLdouble s);
void (*tex_coord1dv)(GLIContext ctx, const GLdouble *v);
void (*tex_coord1f)(GLIContext ctx, GLfloat s);
void (*tex_coord1fv)(GLIContext ctx, const GLfloat *v);
void (*tex_coord1i)(GLIContext ctx, GLint s);
void (*tex_coord1iv)(GLIContext ctx, const GLint *v);
void (*tex_coord1s)(GLIContext ctx, GLshort s);
void (*tex_coord1sv)(GLIContext ctx, const GLshort *v);
void (*tex_coord2d)(GLIContext ctx, GLdouble s, GLdouble t);
void (*tex_coord2dv)(GLIContext ctx, const GLdouble *v);
void (*tex_coord2f)(GLIContext ctx, GLfloat s, GLfloat t);
void (*tex_coord2fv)(GLIContext ctx, const GLfloat *v);
void (*tex_coord2i)(GLIContext ctx, GLint s, GLint t);
void (*tex_coord2iv)(GLIContext ctx, const GLint *v);
void (*tex_coord2s)(GLIContext ctx, GLshort s, GLshort t);
void (*tex_coord2sv)(GLIContext ctx, const GLshort *v);
void (*tex_coord3d)(GLIContext ctx, GLdouble s, GLdouble t, GLdouble r);
void (*tex_coord3dv)(GLIContext ctx, const GLdouble *v);
void (*tex_coord3f)(GLIContext ctx, GLfloat s, GLfloat t, GLfloat r);
void (*tex_coord3fv)(GLIContext ctx, const GLfloat *v);
void (*tex_coord3i)(GLIContext ctx, GLint s, GLint t, GLint r);
void (*tex_coord3iv)(GLIContext ctx, const GLint *v);
void (*tex_coord3s)(GLIContext ctx, GLshort s, GLshort t, GLshort r);
void (*tex_coord3sv)(GLIContext ctx, const GLshort *v);
void (*tex_coord4d)(GLIContext ctx, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
void (*tex_coord4dv)(GLIContext ctx, const GLdouble *v);
void (*tex_coord4f)(GLIContext ctx, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
void (*tex_coord4fv)(GLIContext ctx, const GLfloat *v);
void (*tex_coord4i)(GLIContext ctx, GLint s, GLint t, GLint r, GLint q);
void (*tex_coord4iv)(GLIContext ctx, const GLint *v);
void (*tex_coord4s)(GLIContext ctx, GLshort s, GLshort t, GLshort r, GLshort q);
void (*tex_coord4sv)(GLIContext ctx, const GLshort *v);
void (*tex_coord_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*tex_envf)(GLIContext ctx, GLenum target, GLenum pname, GLfloat param);
void (*tex_envfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params);
void (*tex_envi)(GLIContext ctx, GLenum target, GLenum pname, GLint param);
void (*tex_enviv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params);
void (*tex_gend)(GLIContext ctx, GLenum coord, GLenum pname, GLdouble param);
void (*tex_gendv)(GLIContext ctx, GLenum coord, GLenum pname, const GLdouble *params);
void (*tex_genf)(GLIContext ctx, GLenum coord, GLenum pname, GLfloat param);
void (*tex_genfv)(GLIContext ctx, GLenum coord, GLenum pname, const GLfloat *params);
void (*tex_geni)(GLIContext ctx, GLenum coord, GLenum pname, GLint param);
void (*tex_geniv)(GLIContext ctx, GLenum coord, GLenum pname, const GLint *params);
void (*tex_image1D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
void (*tex_image2D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
void (*tex_parameterf)(GLIContext ctx, GLenum target, GLenum pname, GLfloat param);
void (*tex_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params);
void (*tex_parameteri)(GLIContext ctx, GLenum target, GLenum pname, GLint param);
void (*tex_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params);
void (*tex_sub_image1D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
void (*tex_sub_image2D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
void (*translated)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z);
void (*translatef)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z);
void (*vertex2d)(GLIContext ctx, GLdouble x, GLdouble y);
void (*vertex2dv)(GLIContext ctx, const GLdouble *v);
void (*vertex2f)(GLIContext ctx, GLfloat x, GLfloat y);
void (*vertex2fv)(GLIContext ctx, const GLfloat *v);
void (*vertex2i)(GLIContext ctx, GLint x, GLint y);
void (*vertex2iv)(GLIContext ctx, const GLint *v);
void (*vertex2s)(GLIContext ctx, GLshort x, GLshort y);
void (*vertex2sv)(GLIContext ctx, const GLshort *v);
void (*vertex3d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z);
void (*vertex3dv)(GLIContext ctx, const GLdouble *v);
void (*vertex3f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z);
void (*vertex3fv)(GLIContext ctx, const GLfloat *v);
void (*vertex3i)(GLIContext ctx, GLint x, GLint y, GLint z);
void (*vertex3iv)(GLIContext ctx, const GLint *v);
void (*vertex3s)(GLIContext ctx, GLshort x, GLshort y, GLshort z);
void (*vertex3sv)(GLIContext ctx, const GLshort *v);
void (*vertex4d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*vertex4dv)(GLIContext ctx, const GLdouble *v);
void (*vertex4f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
void (*vertex4fv)(GLIContext ctx, const GLfloat *v);
void (*vertex4i)(GLIContext ctx, GLint x, GLint y, GLint z, GLint w);
void (*vertex4iv)(GLIContext ctx, const GLint *v);
void (*vertex4s)(GLIContext ctx, GLshort x, GLshort y, GLshort z, GLshort w);
void (*vertex4sv)(GLIContext ctx, const GLshort *v);
void (*vertex_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*viewport)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height);
void (*blend_func_separate)(GLIContext ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
void (*blend_color)(GLIContext ctx, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
void (*blend_equation)(GLIContext ctx, GLenum mode);
void (*lock_arrays_EXT)(GLIContext ctx, GLint first, GLsizei count);
void (*unlock_arrays_EXT)(GLIContext ctx);
void (*client_active_texture)(GLIContext ctx, GLenum target);
void (*active_texture)(GLIContext ctx, GLenum target);
void (*multi_tex_coord1d)(GLIContext ctx, GLenum target, GLdouble s);
void (*multi_tex_coord1dv)(GLIContext ctx, GLenum target, const GLdouble *v);
void (*multi_tex_coord1f)(GLIContext ctx, GLenum target, GLfloat s);
void (*multi_tex_coord1fv)(GLIContext ctx, GLenum target, const GLfloat *v);
void (*multi_tex_coord1i)(GLIContext ctx, GLenum target, GLint s);
void (*multi_tex_coord1iv)(GLIContext ctx, GLenum target, const GLint *v);
void (*multi_tex_coord1s)(GLIContext ctx, GLenum target, GLshort s);
void (*multi_tex_coord1sv)(GLIContext ctx, GLenum target, const GLshort *v);
void (*multi_tex_coord2d)(GLIContext ctx, GLenum target, GLdouble s, GLdouble t);
void (*multi_tex_coord2dv)(GLIContext ctx, GLenum target, const GLdouble *v);
void (*multi_tex_coord2f)(GLIContext ctx, GLenum target, GLfloat s, GLfloat t);
void (*multi_tex_coord2fv)(GLIContext ctx, GLenum target, const GLfloat *v);
void (*multi_tex_coord2i)(GLIContext ctx, GLenum target, GLint s, GLint t);
void (*multi_tex_coord2iv)(GLIContext ctx, GLenum target, const GLint *v);
void (*multi_tex_coord2s)(GLIContext ctx, GLenum target, GLshort s, GLshort t);
void (*multi_tex_coord2sv)(GLIContext ctx, GLenum target, const GLshort *v);
void (*multi_tex_coord3d)(GLIContext ctx, GLenum target, GLdouble s, GLdouble t, GLdouble r);
void (*multi_tex_coord3dv)(GLIContext ctx, GLenum target, const GLdouble *v);
void (*multi_tex_coord3f)(GLIContext ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r);
void (*multi_tex_coord3fv)(GLIContext ctx, GLenum target, const GLfloat *v);
void (*multi_tex_coord3i)(GLIContext ctx, GLenum target, GLint s, GLint t, GLint r);
void (*multi_tex_coord3iv)(GLIContext ctx, GLenum target, const GLint *v);
void (*multi_tex_coord3s)(GLIContext ctx, GLenum target, GLshort s, GLshort t, GLshort r);
void (*multi_tex_coord3sv)(GLIContext ctx, GLenum target, const GLshort *v);
void (*multi_tex_coord4d)(GLIContext ctx, GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
void (*multi_tex_coord4dv)(GLIContext ctx, GLenum target, const GLdouble *v);
void (*multi_tex_coord4f)(GLIContext ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
void (*multi_tex_coord4fv)(GLIContext ctx, GLenum target, const GLfloat *v);
void (*multi_tex_coord4i)(GLIContext ctx, GLenum target, GLint s, GLint t, GLint r, GLint q);
void (*multi_tex_coord4iv)(GLIContext ctx, GLenum target, const GLint *v);
void (*multi_tex_coord4s)(GLIContext ctx, GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
void (*multi_tex_coord4sv)(GLIContext ctx, GLenum target, const GLshort *v);
void (*load_transpose_matrixd)(GLIContext ctx, const GLdouble *m);
void (*load_transpose_matrixf)(GLIContext ctx, const GLfloat *m);
void (*mult_transpose_matrixd)(GLIContext ctx, const GLdouble *m);
void (*mult_transpose_matrixf)(GLIContext ctx, const GLfloat *m);
void (*compressed_tex_image3D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
void (*compressed_tex_image2D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
void (*compressed_tex_image1D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
void (*compressed_tex_sub_image3D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
void (*compressed_tex_sub_image2D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
void (*compressed_tex_sub_image1D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
void (*get_compressed_tex_image)(GLIContext ctx, GLenum target, GLint level, GLvoid *img);
void (*secondary_color3b)(GLIContext ctx, GLbyte red, GLbyte green, GLbyte blue);
void (*secondary_color3bv)(GLIContext ctx, const GLbyte *v);
void (*secondary_color3d)(GLIContext ctx, GLdouble red, GLdouble green, GLdouble blue);
void (*secondary_color3dv)(GLIContext ctx, const GLdouble *v);
void (*secondary_color3f)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue);
void (*secondary_color3fv)(GLIContext ctx, const GLfloat *v);
void (*secondary_color3i)(GLIContext ctx, GLint red, GLint green, GLint blue);
void (*secondary_color3iv)(GLIContext ctx, const GLint *v);
void (*secondary_color3s)(GLIContext ctx, GLshort red, GLshort green, GLshort blue);
void (*secondary_color3sv)(GLIContext ctx, const GLshort *v);
void (*secondary_color3ub)(GLIContext ctx, GLubyte red, GLubyte green, GLubyte blue);
void (*secondary_color3ubv)(GLIContext ctx, const GLubyte *v);
void (*secondary_color3ui)(GLIContext ctx, GLuint red, GLuint green, GLuint blue);
void (*secondary_color3uiv)(GLIContext ctx, const GLuint *v);
void (*secondary_color3us)(GLIContext ctx, GLushort red, GLushort green, GLushort blue);
void (*secondary_color3usv)(GLIContext ctx, const GLushort *v);
void (*secondary_color_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*vertex_array_range_EXT)(GLIContext ctx, GLsizei count, const GLvoid *pointer);
void (*flush_vertex_array_range_EXT)(GLIContext ctx, GLsizei count, const GLvoid *pointer);
void (*draw_range_elements)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
void (*color_table)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
void (*color_table_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params);
void (*color_table_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params);
void (*copy_color_table)(GLIContext ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
void (*get_color_table)(GLIContext ctx, GLenum target, GLenum format, GLenum type, GLvoid *table);
void (*get_color_table_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params);
void (*get_color_table_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*color_sub_table)(GLIContext ctx, GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
void (*copy_color_sub_table)(GLIContext ctx, GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
void (*convolution_filter1D)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
void (*convolution_filter2D)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
void (*convolution_parameterf)(GLIContext ctx, GLenum target, GLenum pname, GLfloat params);
void (*convolution_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params);
void (*convolution_parameteri)(GLIContext ctx, GLenum target, GLenum pname, GLint params);
void (*convolution_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params);
void (*copy_convolution_filter1D)(GLIContext ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
void (*copy_convolution_filter2D)(GLIContext ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
void (*get_convolution_filter)(GLIContext ctx, GLenum target, GLenum format, GLenum type, GLvoid *image);
void (*get_convolution_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params);
void (*get_convolution_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*get_separable_filter)(GLIContext ctx, GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
void (*separable_filter2D)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
void (*get_histogram)(GLIContext ctx, GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
void (*get_histogram_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params);
void (*get_histogram_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*get_minmax)(GLIContext ctx, GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
void (*get_minmax_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params);
void (*get_minmax_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*histogram)(GLIContext ctx, GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
void (*minmax)(GLIContext ctx, GLenum target, GLenum internalformat, GLboolean sink);
void (*reset_histogram)(GLIContext ctx, GLenum target);
void (*reset_minmax)(GLIContext ctx, GLenum target);
void (*tex_image3D)(GLIContext ctx, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
void (*tex_sub_image3D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
void (*copy_tex_sub_image3D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
void (*get_uniform_indices) (GLIContext ctx, GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint* uniformIndices);
void (*get_active_uniformsiv) (GLIContext ctx, GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params);
void (*get_active_uniform_name) (GLIContext ctx, GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName);
GLuint (*get_uniform_block_index) (GLIContext ctx, GLuint program, const GLchar* uniformBlockName);
void (*get_active_uniform_blockiv) (GLIContext ctx, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params);
void (*get_active_uniform_block_name) (GLIContext ctx, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName);
void (*uniform_block_binding) (GLIContext ctx, GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
void (*get_combiner_input_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
void (*get_combiner_input_parameteriv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
void (*get_combiner_output_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
void (*get_combiner_output_parameteriv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum pname, GLint *params);
void (*get_final_combiner_input_parameterfv_NV)(GLIContext ctx, GLenum variable, GLenum pname, GLfloat *params);
void (*get_final_combiner_input_parameteriv_NV)(GLIContext ctx, GLenum variable, GLenum pname, GLint *params);
void (*combiner_stage_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum pname, const GLfloat *params);
void (*get_combiner_stage_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum pname, GLfloat *params);
void (*texture_range_APPLE)(GLIContext ctx, GLenum target, GLsizei length, const GLvoid *pointer);
void (*get_tex_parameter_pointerv_APPLE)(GLIContext ctx, GLenum target, GLenum pname, GLvoid **params);
void (*blend_equation_separate_EXT)(GLIContext ctx, GLenum equationRGB, GLenum equationAlpha);
void (*sample_coverage)(GLIContext ctx, GLclampf value, GLboolean invert);
void (*sample_pass)(GLIContext ctx, GLenum mode);
void (*pn_trianglesi_ATI)(GLIContext ctx, GLenum pname, GLint param);
void (*pn_trianglesf_ATI)(GLIContext ctx, GLenum pname, GLfloat param);
void (*gen_fences_APPLE)(GLIContext ctx, GLsizei n, GLuint *fences);
void (*delete_fences_APPLE)(GLIContext ctx, GLsizei n, const GLuint *fences);
void (*set_fence_APPLE)(GLIContext ctx, GLuint fence);
GLboolean (*is_fence_APPLE)(GLIContext ctx, GLuint fence);
GLboolean (*test_fence_APPLE)(GLIContext ctx, GLuint fence);
void (*finish_fence_APPLE)(GLIContext ctx, GLuint fence);
GLboolean (*test_object_APPLE)(GLIContext ctx, GLenum object, GLuint name);
void (*finish_object_APPLE)(GLIContext ctx, GLenum object, GLuint name);
void (*bind_program_ARB)(GLIContext ctx, GLenum target, GLuint program);
void (*delete_programs_ARB)(GLIContext ctx, GLsizei n, const GLuint *programs);
void (*gen_programs_ARB)(GLIContext ctx, GLsizei n, GLuint *programs);
GLboolean (*is_program_ARB)(GLIContext ctx, GLuint program);
void (*vertex_attrib1s_ARB)(GLIContext ctx, GLuint index, GLshort x);
void (*vertex_attrib1f_ARB)(GLIContext ctx, GLuint index, GLfloat x);
void (*vertex_attrib1d_ARB)(GLIContext ctx, GLuint index, GLdouble x);
void (*vertex_attrib2s_ARB)(GLIContext ctx, GLuint index, GLshort x, GLshort y);
void (*vertex_attrib2f_ARB)(GLIContext ctx, GLuint index, GLfloat x, GLfloat y);
void (*vertex_attrib2d_ARB)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y);
void (*vertex_attrib3s_ARB)(GLIContext ctx, GLuint index, GLshort x, GLshort y, GLshort z);
void (*vertex_attrib3f_ARB)(GLIContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z);
void (*vertex_attrib3d_ARB)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z);
void (*vertex_attrib4s_ARB)(GLIContext ctx, GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
void (*vertex_attrib4f_ARB)(GLIContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
void (*vertex_attrib4d_ARB)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*vertex_attrib4Nub_ARB)(GLIContext ctx, GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
void (*vertex_attrib1sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v);
void (*vertex_attrib1fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v);
void (*vertex_attrib1dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attrib2sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v);
void (*vertex_attrib2fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v);
void (*vertex_attrib2dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attrib3sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v);
void (*vertex_attrib3fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v);
void (*vertex_attrib3dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attrib4bv_ARB)(GLIContext ctx, GLuint index, const GLbyte *v);
void (*vertex_attrib4sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v);
void (*vertex_attrib4iv_ARB)(GLIContext ctx, GLuint index, const GLint *v);
void (*vertex_attrib4ubv_ARB)(GLIContext ctx, GLuint index, const GLubyte *v);
void (*vertex_attrib4usv_ARB)(GLIContext ctx, GLuint index, const GLushort *v);
void (*vertex_attrib4uiv_ARB)(GLIContext ctx, GLuint index, const GLuint *v);
void (*vertex_attrib4fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v);
void (*vertex_attrib4dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attrib4Nbv_ARB)(GLIContext ctx, GLuint index, const GLbyte *v);
void (*vertex_attrib4Nsv_ARB)(GLIContext ctx, GLuint index, const GLshort *v);
void (*vertex_attrib4Niv_ARB)(GLIContext ctx, GLuint index, const GLint *v);
void (*vertex_attrib4Nubv_ARB)(GLIContext ctx, GLuint index, const GLubyte *v);
void (*vertex_attrib4Nusv_ARB)(GLIContext ctx, GLuint index, const GLushort *v);
void (*vertex_attrib4Nuiv_ARB)(GLIContext ctx, GLuint index, const GLuint *v);
void (*vertex_attrib_pointer_ARB)(GLIContext ctx, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
void (*enable_vertex_attrib_array_ARB)(GLIContext ctx, GLuint index);
void (*disable_vertex_attrib_array_ARB)(GLIContext ctx, GLuint index);
void (*get_vertex_attribdv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLdouble *params);
void (*get_vertex_attribfv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLfloat *params);
void (*get_vertex_attribiv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLint *params);
void (*get_vertex_attrib_pointerv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLvoid **pointer);
void (*program_env_parameter4d_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*program_env_parameter4dv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLdouble *params);
void (*program_env_parameter4f_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
void (*program_env_parameter4fv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLfloat *params);
void (*program_local_parameter4d_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*program_local_parameter4dv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLdouble *params);
void (*program_local_parameter4f_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
void (*program_local_parameter4fv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLfloat *params);
void (*get_program_env_parameterdv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble *params);
void (*get_program_env_parameterfv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat *params);
void (*get_program_local_parameterdv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble *params);
void (*get_program_local_parameterfv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat *params);
void (*program_string_ARB)(GLIContext ctx, GLenum target, GLenum format, GLsizei len, const GLvoid* string);
void (*get_program_string_ARB)(GLIContext ctx, GLenum target, GLenum pname, GLvoid *string);
void (*get_programiv_ARB)(GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*enable_vertex_attrib_ARB)(GLIContext ctx, GLuint index, GLenum pname);
void (*disable_vertex_attrib_ARB)(GLIContext ctx, GLuint index, GLenum pname);
GLboolean (*is_vertex_attrib_enabled_ARB)(GLIContext ctx, GLuint index, GLenum pname);
void (*map_vertex_attrib1d_ARB)(GLIContext ctx, GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
void (*map_vertex_attrib1f_ARB)(GLIContext ctx, GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
void (*map_vertex_attrib2d_ARB)(GLIContext ctx, GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
void (*map_vertex_attrib2f_ARB)(GLIContext ctx, GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
void (*point_parameterf)(GLIContext ctx, GLenum pname, GLfloat param);
void (*point_parameterfv)(GLIContext ctx, GLenum pname, const GLfloat *params);
void (*point_parameteri)(GLIContext ctx, GLenum pname, GLint param);
void (*point_parameteriv)(GLIContext ctx, GLenum pname, const GLint *params);
void (*fog_coordf)(GLIContext ctx, GLfloat coord);
void (*fog_coordfv)(GLIContext ctx, const GLfloat *coord);
void (*fog_coordd)(GLIContext ctx, GLdouble coord);
void (*fog_coorddv)(GLIContext ctx, const GLdouble *coord);
void (*fog_coord_pointer)(GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*vertex_array_parameteri_EXT)(GLIContext ctx, GLenum pname, GLint param);
void (*bind_vertex_array_EXT)(GLIContext ctx, GLuint id);
void (*delete_vertex_arrays_EXT)(GLIContext ctx, GLsizei n, const GLuint *ids);
void (*gen_vertex_arrays_EXT)(GLIContext ctx, GLsizei n, GLuint *ids);
GLboolean (*is_vertex_array_EXT)(GLIContext ctx, GLuint id);
void (*element_pointer_APPLE)(GLIContext ctx, GLenum type, const GLvoid *pointer);
void (*draw_element_array_APPLE)(GLIContext ctx, GLenum mode, GLint first, GLsizei count);
void (*draw_range_element_array_APPLE)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
void (*weightbv_ARB)(GLIContext ctx, GLint size, const GLbyte *weights);
void (*weightsv_ARB)(GLIContext ctx, GLint size, const GLshort *weights);
void (*weightiv_ARB)(GLIContext ctx, GLint size, const GLint *weights);
void (*weightfv_ARB)(GLIContext ctx, GLint size, const GLfloat *weights);
void (*weightdv_ARB)(GLIContext ctx, GLint size, const GLdouble *weights);
void (*weightubv_ARB)(GLIContext ctx, GLint size, const GLubyte *weights);
void (*weightusv_ARB)(GLIContext ctx, GLint size, const GLushort *weights);
void (*weightuiv_ARB)(GLIContext ctx, GLint size, const GLuint *weights);
void (*weight_pointer_ARB)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*vertex_blend_ARB)(GLIContext ctx, GLint count);
void (*multi_draw_arrays)(GLIContext ctx, GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
void (*multi_draw_elements)(GLIContext ctx, GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
void (*window_pos2d) (GLIContext ctx, GLdouble x, GLdouble y);
void (*window_pos2dv) (GLIContext ctx, const GLdouble *v);
void (*window_pos2f) (GLIContext ctx, GLfloat x, GLfloat y);
void (*window_pos2fv) (GLIContext ctx, const GLfloat *v);
void (*window_pos2i) (GLIContext ctx, GLint x, GLint y);
void (*window_pos2iv) (GLIContext ctx, const GLint *v);
void (*window_pos2s) (GLIContext ctx, GLshort x, GLshort y);
void (*window_pos2sv) (GLIContext ctx, const GLshort *v);
void (*window_pos3d) (GLIContext ctx, GLdouble x, GLdouble y, GLdouble z);
void (*window_pos3dv) (GLIContext ctx, const GLdouble *v);
void (*window_pos3f) (GLIContext ctx, GLfloat x, GLfloat y, GLfloat z);
void (*window_pos3fv) (GLIContext ctx, const GLfloat *v);
void (*window_pos3i) (GLIContext ctx, GLint x, GLint y, GLint z);
void (*window_pos3iv) (GLIContext ctx, const GLint *v);
void (*window_pos3s) (GLIContext ctx, GLshort x, GLshort y, GLshort z);
void (*window_pos3sv) (GLIContext ctx, const GLshort *v);
void (*active_stencil_face_EXT) (GLIContext ctx, GLenum face);
void (*stencil_op_separate_ATI) (GLIContext ctx, GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
void (*stencil_func_separate_ATI) (GLIContext ctx, GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
void (*flush_render_APPLE) (GLIContext ctx);
void (*finish_render_APPLE) (GLIContext ctx);
void (*swap_APPLE)(GLIContext ctx);
void (*delete_object_ARB) (GLIContext ctx, GLhandleARB obj);
GLhandleARB (*get_handle_ARB) (GLIContext ctx, GLenum pname);
void (*detach_object_ARB) (GLIContext ctx, GLhandleARB containerObj, GLhandleARB attachedObj);
GLhandleARB (*create_shader_object_ARB) (GLIContext ctx, GLenum shaderType);
void (*shader_source_ARB) (GLIContext ctx, GLhandleARB shaderObj, GLsizei count, const GLcharARB* const *string, const GLint *length);
void (*compile_shader_ARB) (GLIContext ctx, GLhandleARB shaderObj);
GLhandleARB (*create_program_object_ARB) (GLIContext ctx);
void (*attach_object_ARB) (GLIContext ctx, GLhandleARB containerObj, GLhandleARB obj);
void (*link_program_ARB) (GLIContext ctx, GLhandleARB programObj);
void (*use_program_object_ARB) (GLIContext ctx, GLhandleARB programObj);
void (*validate_program_ARB) (GLIContext ctx, GLhandleARB programObj);
void (*uniform1f_ARB) (GLIContext ctx, GLint location, GLfloat v0);
void (*uniform2f_ARB) (GLIContext ctx, GLint location, GLfloat v0, GLfloat v1);
void (*uniform3f_ARB) (GLIContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
void (*uniform4f_ARB) (GLIContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
void (*uniform1i_ARB) (GLIContext ctx, GLint location, GLint v0);
void (*uniform2i_ARB) (GLIContext ctx, GLint location, GLint v0, GLint v1);
void (*uniform3i_ARB) (GLIContext ctx, GLint location, GLint v0, GLint v1, GLint v2);
void (*uniform4i_ARB) (GLIContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
void (*uniform1fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value);
void (*uniform2fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value);
void (*uniform3fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value);
void (*uniform4fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value);
void (*uniform1iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value);
void (*uniform2iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value);
void (*uniform3iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value);
void (*uniform4iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value);
void (*uniform_matrix2fv_ARB) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*uniform_matrix3fv_ARB) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*uniform_matrix4fv_ARB) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*get_object_parameterfv_ARB) (GLIContext ctx, GLhandleARB obj, GLenum pname, GLfloat *params);
void (*get_object_parameteriv_ARB) (GLIContext ctx, GLhandleARB obj, GLenum pname, GLint *params);
void (*get_info_log_ARB) (GLIContext ctx, GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
void (*get_attached_objects_ARB) (GLIContext ctx, GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
GLint (*get_uniform_location_ARB) (GLIContext ctx, GLhandleARB programObj, const GLcharARB *name);
void (*get_active_uniform_ARB) (GLIContext ctx, GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
void (*get_uniformfv_ARB) (GLIContext ctx, GLhandleARB programObj, GLint location, GLfloat *params);
void (*get_uniformiv_ARB) (GLIContext ctx, GLhandleARB programObj, GLint location, GLint *params);
void (*get_shader_source_ARB) (GLIContext ctx, GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
void (*bind_attrib_location_ARB) (GLIContext ctx, GLhandleARB programObj, GLuint index, const GLcharARB *name);
void (*get_active_attrib_ARB) (GLIContext ctx, GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
GLint (*get_attrib_location_ARB) (GLIContext ctx, GLhandleARB programObj, const GLcharARB *name);
void (*clamp_color_ARB) (GLIContext ctx, GLenum target, GLenum clamp);
void (*gen_queries) (GLIContext ctx, GLsizei n, GLuint *ids);
void (*delete_queries) (GLIContext ctx, GLsizei n, const GLuint *ids);
GLboolean (*is_query) (GLIContext ctx, GLuint id);
void (*begin_query) (GLIContext ctx, GLenum target, GLuint id);
void (*end_query) (GLIContext ctx, GLenum target);
void (*get_queryiv) (GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*get_query_objectiv) (GLIContext ctx, GLuint id, GLenum pname, GLint *params);
void (*get_query_objectuiv) (GLIContext ctx, GLuint id, GLenum pname, GLuint *params);
void (*bind_buffer) (GLIContext ctx, GLenum target, GLuint buffer);
void (*delete_buffers) (GLIContext ctx, GLsizei n, const GLuint *buffers);
void (*gen_buffers) (GLIContext ctx, GLsizei n, GLuint *buffers);
GLboolean (*is_buffer) (GLIContext ctx, GLuint buffer);
void (*buffer_data) (GLIContext ctx, GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
void (*buffer_sub_data) (GLIContext ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
void (*get_buffer_sub_data) (GLIContext ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
GLvoid *(*map_buffer) (GLIContext ctx, GLenum target, GLenum access);
GLboolean (*unmap_buffer) (GLIContext ctx, GLenum target);
void (*get_buffer_parameteriv) (GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*get_buffer_pointerv) (GLIContext ctx, GLenum target, GLenum pname, GLvoid **params);
void (*depth_bounds_EXT) (GLIContext ctx, GLclampd zmin, GLclampd zmax);
void (*draw_buffers_ARB) (GLIContext ctx, GLsizei n, const GLenum *bufs);
GLboolean (*is_shader) (GLIContext ctx, GLuint shader);
GLboolean (*is_program) (GLIContext ctx, GLuint program);
void (*get_shaderiv) (GLIContext ctx, GLuint shader, GLenum pname, GLint *params);
void (*get_programiv) (GLIContext ctx, GLuint program, GLenum pname, GLint *params);
void (*get_shader_info_log) (GLIContext ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
void (*get_program_info_log) (GLIContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
void (*stencil_func_separate) (GLIContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask);
void (*stencil_mask_separate) (GLIContext ctx, GLenum face, GLuint mask);
void (*multi_draw_element_array_APPLE)(GLIContext ctx, GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
void (*multi_draw_range_element_array_APPLE)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
/* EXT_framebuffer_object */
GLboolean (*is_renderbuffer_EXT) (GLIContext ctx, GLuint renderbuffer);
void (*bind_renderbuffer_EXT) (GLIContext ctx, GLenum target, GLuint renderbuffer);
void (*delete_renderbuffers_EXT) (GLIContext ctx, GLsizei n, const GLuint *renderbuffers);
void (*gen_renderbuffers_EXT) (GLIContext ctx, GLsizei n, GLuint *renderbuffers);
void (*renderbuffer_storage_EXT) (GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
void (*get_renderbuffer_parameteriv_EXT) (GLIContext ctx, GLenum target, GLenum pname, GLint *params);
GLboolean (*is_framebuffer_EXT) (GLIContext ctx, GLuint framebuffer);
void (*bind_framebuffer_EXT) (GLIContext ctx, GLenum target, GLuint framebuffer);
void (*delete_framebuffers_EXT) (GLIContext ctx, GLsizei n, const GLuint *framebuffers);
void (*gen_framebuffers_EXT) (GLIContext ctx, GLsizei n, GLuint *framebuffers);
GLenum (*check_framebuffer_status_EXT) (GLIContext ctx, GLenum target);
void (*framebuffer_texture1D_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
void (*framebuffer_texture2D_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
void (*framebuffer_texture3D_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
void (*framebuffer_renderbuffer_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
void (*get_framebuffer_attachment_parameteriv_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum pname, GLint *params);
void (*generate_mipmap_EXT) (GLIContext ctx, GLenum target);
void (*buffer_parameteri_APPLE) (GLIContext ctx, GLenum target, GLenum pname, GLint param);
void (*flush_mapped_buffer_range_APPLE) (GLIContext ctx, GLenum target, GLintptr offset, GLsizeiptr size);
void (*program_env_parameters4fv_EXT)(GLIContext ctx, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
void (*program_local_parameters4fv_EXT)(GLIContext ctx, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
GLenum (*object_purgeable_APPLE)(GLIContext ctx, GLenum objectType, GLuint name, GLenum option);
GLenum (*object_unpurgeable_APPLE)(GLIContext ctx, GLenum objectType, GLuint name, GLenum option);
void (*get_object_parameteriv_APPLE) (GLIContext ctx, GLenum objectType, GLuint name, GLenum pname, GLint* params);
/* EXT_geometry_shader4 */
void (*program_parameteri_EXT)(GLIContext ctx, GLuint program_name, GLenum pname, GLint value);
void (*framebuffer_texture_EXT)(GLIContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level);
void (*framebuffer_texture_layer_EXT)(GLIContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
void (*framebuffer_texture_face_EXT)(GLIContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
/* EXT_transform_feedback */
void (*bind_buffer_range_EXT)(GLIContext ctx, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
void (*bind_buffer_offset_EXT)(GLIContext ctx, GLenum target, GLuint index, GLuint buffer, GLintptr offset);
void (*bind_buffer_base_EXT)(GLIContext ctx, GLenum target, GLuint index, GLuint buffer);
void (*begin_transform_feedback_EXT)(GLIContext ctx, GLenum primitiveMode);
void (*end_transform_feedback_EXT)(GLIContext ctx);
void (*transform_feedback_varyings_EXT)(GLIContext ctx, GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
void (*get_transform_feedback_varying_EXT)(GLIContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
void (*get_integer_indexedv_EXT)(GLIContext ctx, GLenum param, GLuint index, GLint *values);
void (*get_boolean_indexedv_EXT)(GLIContext ctx, GLenum param, GLuint index, GLboolean *values);
/* EXT_bindable_uniform */
void (*uniform_buffer_EXT)(GLIContext ctx, GLuint program, GLint location, GLuint buffer);
GLint (*get_uniform_buffer_size_EXT)(GLIContext ctx, GLuint program, GLint location);
GLintptr (*get_uniform_buffer_offset_EXT)(GLIContext ctx, GLuint program, GLint location);
/* EXT_texture_integer */
void (*clear_colorIi_EXT) (GLIContext ctx, GLint r, GLint g, GLint b, GLint a );
void (*clear_colorIui_EXT) (GLIContext ctx, GLuint r, GLuint g, GLuint b, GLuint a );
void (*tex_parameterIiv_EXT)(GLIContext ctx, GLenum target, GLenum pname, GLint *params );
void (*tex_parameterIuiv_EXT)(GLIContext ctx, GLenum target, GLenum pname, GLuint *params );
void (*get_tex_parameterIiv_EXT) (GLIContext ctx, GLenum target, GLenum pname, GLint *params);
void (*get_tex_parameterIuiv_EXT) (GLIContext ctx, GLenum target, GLenum pname, GLuint *params);
/* EXT_gpu_shader4 */
void (*vertex_attribI1i_EXT)(GLIContext ctx, GLuint index, GLint x);
void (*vertex_attribI2i_EXT)(GLIContext ctx, GLuint index, GLint x, GLint y);
void (*vertex_attribI3i_EXT)(GLIContext ctx, GLuint index, GLint x, GLint y, GLint z);
void (*vertex_attribI4i_EXT)(GLIContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w);
void (*vertex_attribI1ui_EXT)(GLIContext ctx, GLuint index, GLuint x);
void (*vertex_attribI2ui_EXT)(GLIContext ctx, GLuint index, GLuint x, GLuint y);
void (*vertex_attribI3ui_EXT)(GLIContext ctx, GLuint index, GLuint x, GLuint y, GLuint z);
void (*vertex_attribI4ui_EXT)(GLIContext ctx, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
void (*vertex_attribI1iv_EXT)(GLIContext ctx, GLuint index, const GLint *v);
void (*vertex_attribI2iv_EXT)(GLIContext ctx, GLuint index, const GLint *v);
void (*vertex_attribI3iv_EXT)(GLIContext ctx, GLuint index, const GLint *v);
void (*vertex_attribI4iv_EXT)(GLIContext ctx, GLuint index, const GLint *v);
void (*vertex_attribI1uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v);
void (*vertex_attribI2uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v);
void (*vertex_attribI3uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v);
void (*vertex_attribI4uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v);
void (*vertex_attribI4bv_EXT)(GLIContext ctx, GLuint index, const GLbyte *v);
void (*vertex_attribI4sv_EXT)(GLIContext ctx, GLuint index, const GLshort *v);
void (*vertex_attribI4ubv_EXT)(GLIContext ctx, GLuint index, const GLubyte *v);
void (*vertex_attribI4usv_EXT)(GLIContext ctx, GLuint index, const GLushort *v);
void (*vertex_attribI_pointer_EXT)(GLIContext ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*get_vertex_attribIiv_EXT)(GLIContext ctx, GLuint index, GLenum pname, GLint *params);
void (*get_vertex_attribIuiv_EXT)(GLIContext ctx, GLuint index, GLenum pname, GLuint *params);
void (*uniform1ui_EXT)(GLIContext ctx, GLint location, GLuint v0);
void (*uniform2ui_EXT)(GLIContext ctx, GLint location, GLuint v0, GLuint v1);
void (*uniform3ui_EXT)(GLIContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2);
void (*uniform4ui_EXT)(GLIContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
void (*uniform1uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value);
void (*uniform2uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value);
void (*uniform3uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value);
void (*uniform4uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value);
void (*get_uniformuiv_EXT)(GLIContext ctx, GLuint program, GLint location, GLuint *params);
void (*bind_frag_data_location_EXT)(GLIContext ctx, GLuint program, GLuint colorNumber, const GLchar *name);
GLint (*get_frag_data_location_EXT)(GLIContext ctx, GLuint program, const GLchar *name);
/* EXT_draw_buffers2 */
void (*color_mask_indexed_EXT) (GLIContext ctx, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
void (*enable_indexed_EXT) (GLIContext ctx, GLenum target, GLuint index);
void (*disable_indexed_EXT) (GLIContext ctx, GLenum target, GLuint index);
GLboolean (*is_enabled_indexed_EXT) (GLIContext ctx, GLenum target, GLuint index);
/* OpenGL 2.1 */
void (*uniform_matrix2x3fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*uniform_matrix3x2fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*uniform_matrix2x4fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*uniform_matrix4x2fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*uniform_matrix3x4fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*uniform_matrix4x3fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
/* EXT_framebuffer_blit and EXT_framebuffer_multisample */
void (*blit_framebuffer_EXT) (GLIContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
void (*renderbuffer_storage_multisample_EXT) (GLIContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
/* NV_conditional_render */
void (*begin_conditional_render_NV)(GLIContext ctx, GLuint id, GLenum mode);
void (*end_conditional_render_NV)(GLIContext ctx);
void (*get_attached_shaders) (GLIContext ctx, GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
/* EXT_provoking_vertex */
void (*provoking_vertex_EXT) (GLIContext ctx, GLenum mode);
/* ARB_instanced_arrays */
void (*vertex_attrib_divisor) (GLIContext ctx, GLuint index, GLuint divisor);
/* ARB_instanced_arrays and ARB_draw_instanced */
void (*draw_arrays_instanced)(GLIContext ctx, GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
void (*draw_elements_instanced)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
/* ARB_draw_elements_base_vertex */
void (*draw_elements_base_vertex)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex);
void (*draw_range_elements_base_vertex)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex);
void (*draw_elements_instanced_base_vertex)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint base_vertex);
void (*multi_draw_elements_base_vertex)(GLIContext ctx, GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *base_vertex);
/* ARB_vertex_array_object / OES_vertex_array_object */
void (*bind_vertex_array_ARB)(GLIContext ctx, GLuint array);
void (*delete_vertex_arrays_ARB)(GLIContext ctx, GLsizei n, const GLuint *arrays);
void (*gen_vertex_arrays_ARB)(GLIContext ctx, GLsizei n, GLuint *arrays);
GLboolean (*is_vertex_array_ARB)(GLIContext ctx, GLuint array);
/* APPLE_vertex_point_size */
void (*point_size_pointer) (GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer);
void (*vertex_point_sizef_APPLE) (GLIContext ctx, GLfloat size);
/* OpenGL 3.0 */
void (*clear_bufferiv)(GLIContext ctx, GLenum buffer, GLint drawbuffer, const GLint *value);
void (*clear_bufferuiv)(GLIContext ctx, GLenum buffer, GLint drawbuffer, const GLuint *value);
void (*clear_bufferfv)(GLIContext ctx, GLenum buffer, GLint drawbuffer, const GLfloat *value);
void (*clear_bufferfi)(GLIContext ctx, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
const GLubyte* (*get_stringi)(GLIContext ctx, GLenum name, GLuint index);
/* ARB_sync */
GLsync (*fence_sync) (GLIContext ctx, GLenum condition, GLbitfield flags);
GLboolean (*is_sync) (GLIContext ctx, GLsync sync);
void (*delete_sync) (GLIContext ctx, GLsync sync);
GLenum (*client_wait_sync) (GLIContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout);
void (*wait_sync) (GLIContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout);
void (*get_integer64v_sync) (GLIContext ctx, GLenum pname, GLint64 *params);
void (*get_synciv) (GLIContext ctx, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
/* ARB_texture_multisample */
void (*tex_image2D_multisample)(GLIContext ctx, GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
void (*tex_image3D_multisample)(GLIContext ctx, GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
void (*get_multisamplefv)(GLIContext ctx, GLenum pname, GLuint index, GLfloat *val);
void (*sample_maski)(GLIContext ctx, GLuint index, GLbitfield mask);
/* ARB_texture_buffer_object */
void (*tex_buffer)(GLIContext ctx, GLenum target, GLenum internalformat, GLuint buffer);
/* ARB_copy_buffer */
void (*copy_buffer_sub_data)(GLIContext ctx, GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size);
/* NV_primitive_restart */
void (*primitive_restart_index)(GLIContext ctx, GLuint index);
/* EXT_timer_query */
void (*get_query_objecti64v) (GLIContext ctx, GLuint id, GLenum pname, GLint64EXT *params);
void (*get_query_objectui64v) (GLIContext ctx, GLuint id, GLenum pname, GLuint64EXT *params);
/* ARB_map_buffer_range */
GLvoid *(*map_buffer_range) (GLIContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLenum access);
void (*flush_mapped_buffer_range) (GLIContext ctx, GLenum target, GLintptr offset, GLsizeiptr length);
/* ARB_timer_query */
void (*query_counter) (GLIContext ctx, GLuint id, GLenum target);
void (*get_integer64i_v) (GLIContext ctx, GLenum target, GLuint index, GLint64 *data);
void (*get_buffer_parameteri64v)(GLIContext ctx, GLenum target, GLenum pname, GLint64 *params);
/* ARB_sampler_object */
void (*gen_samplers) (GLIContext ctx, GLsizei count, GLuint *samplers);
void (*delete_samplers) (GLIContext ctx, GLsizei count, const GLuint *samplers);
GLboolean (*is_sampler) (GLIContext ctx, GLuint sampler);
void (*bind_sampler) (GLIContext ctx, GLuint unit, GLuint sampler);
void (*sampler_parameteri) (GLIContext ctx, GLuint sampler, GLenum pname, GLint param);
void (*sampler_parameteriv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLint *param);
void (*sampler_parameterf) (GLIContext ctx, GLuint sampler, GLenum pname, GLfloat param);
void (*sampler_parameterfv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLfloat *param);
void (*sampler_parameterIiv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLint *param);
void (*sampler_parameterIuiv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLuint *param);
void (*get_sampler_parameteriv) (GLIContext ctx, GLuint sampler, GLenum pname, GLint *params);
void (*get_sampler_parameterfv) (GLIContext ctx, GLuint sampler, GLenum pname, GLfloat *params);
void (*get_sampler_parameterIiv) (GLIContext ctx, GLuint sampler, GLenum pname, GLint *params);
void (*get_sampler_parameterIuiv) (GLIContext ctx, GLuint sampler, GLenum pname, GLuint *params);
/* EXT_debug_label */
void (*label_object_EXT)(GLIContext ctx, GLenum type, GLuint object, GLsizei length, const GLchar *label);
void (*get_object_label_EXT)(GLIContext ctx, GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
/* EXT_debug_marker */
void (*insert_event_marker_EXT)(GLIContext ctx, GLsizei length, const GLchar *marker);
void (*push_group_marker_EXT)(GLIContext ctx, GLsizei length, const GLchar *marker);
void (*pop_group_marker_EXT)(GLIContext ctx);
/* ARB_separate_shader_objects */
void (*use_program_stages)(GLIContext ctx, GLuint pipeline, GLbitfield stages, GLuint program);
void (*active_shader_program)(GLIContext ctx, GLuint pipeline, GLuint program);
GLuint (*create_shader_programv)(GLIContext ctx, GLenum type, GLsizei count, const GLchar* const *strings);
void (*bind_program_pipeline)(GLIContext ctx, GLuint pipeline);
void (*delete_program_pipelines)(GLIContext ctx, GLsizei n, const GLuint *pipelines);
void (*gen_program_pipelines)(GLIContext ctx, GLsizei n, GLuint *pipelines);
GLboolean (*is_program_pipeline)(GLIContext ctx, GLuint pipeline);
void (*get_program_pipelineiv)(GLIContext ctx, GLuint pipeline, GLenum pname, GLint *params);
void (*validate_program_pipeline)(GLIContext ctx, GLuint pipeline);
void (*get_program_pipeline_info_log)(GLIContext ctx, GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
void (*program_uniform1i)(GLIContext ctx, GLuint program, GLint location, GLint x);
void (*program_uniform2i)(GLIContext ctx, GLuint program, GLint location, GLint x, GLint y);
void (*program_uniform3i)(GLIContext ctx, GLuint program, GLint location, GLint x, GLint y, GLint z);
void (*program_uniform4i)(GLIContext ctx, GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
void (*program_uniform1f)(GLIContext ctx, GLuint program, GLint location, GLfloat x);
void (*program_uniform2f)(GLIContext ctx, GLuint program, GLint location, GLfloat x, GLfloat y);
void (*program_uniform3f)(GLIContext ctx, GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
void (*program_uniform4f)(GLIContext ctx, GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
void (*program_uniform1iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value);
void (*program_uniform2iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value);
void (*program_uniform3iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value);
void (*program_uniform4iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value);
void (*program_uniform1fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value);
void (*program_uniform2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value);
void (*program_uniform3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value);
void (*program_uniform4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value);
void (*program_uniform_matrix2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform_matrix3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform_matrix4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform1ui)(GLIContext ctx, GLuint program, GLint location, GLuint x);
void (*program_uniform2ui)(GLIContext ctx, GLuint program, GLint location, GLuint x, GLuint y);
void (*program_uniform3ui)(GLIContext ctx, GLuint program, GLint location, GLuint x, GLuint y, GLuint z);
void (*program_uniform4ui)(GLIContext ctx, GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w);
void (*program_uniform1uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value);
void (*program_uniform2uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value);
void (*program_uniform3uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value);
void (*program_uniform4uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value);
void (*program_uniform_matrix2x3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform_matrix3x2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform_matrix2x4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform_matrix4x2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform_matrix3x4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
void (*program_uniform_matrix4x3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
/* ARB_blend_func_extended */
void (*bind_frag_data_location_indexed) (GLIContext ctx, GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
GLint (*get_frag_data_index) (GLIContext ctx, GLuint program, const GLchar *name);
/* ARB_draw_buffers_blend */
void (*blend_func_i) (GLIContext ctx, GLuint buf, GLenum src, GLenum dst);
void (*blend_func_separate_i) (GLIContext ctx, GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
void (*blend_equation_i) (GLIContext ctx, GLuint buf, GLenum mode);
void (*blend_equation_separate_i) (GLIContext ctx, GLuint buf, GLenum modeRGB, GLenum modeAlpha);
/* ARB_shading_language_include */
void (*named_string_ARB) (GLIContext ctx, GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
void (*delete_named_string_ARB) (GLIContext ctx, GLint namelen, const GLchar *name);
void (*compile_shader_include_ARB) (GLIContext ctx, GLuint shader, GLsizei count, const GLchar* const *path, const GLint *length);
GLboolean (*is_named_string_ARB) (GLIContext ctx, GLint namelen, const GLchar *name);
void (*get_named_string_ARB) (GLIContext ctx, GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
void (*get_named_string_iv_ARB) (GLIContext ctx, GLint namelen, const GLchar *name, GLenum pname, GLint *params);
/* ARB_ES2_compatibility */
void (*release_shader_compiler)(GLIContext ctx);
void (*shader_binary)(GLIContext ctx, GLint n, GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLint length);
void (*get_shader_precision_format)(GLIContext ctx, GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
void (*depth_rangef) (GLIContext ctx, GLclampf zNear, GLclampf zFar);
void (*clear_depthf) (GLIContext ctx, GLclampf depth);
/* ARB_vertex_type_2_10_10_10_rev */
void (*vertex_attribP1ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value);
void (*vertex_attribP2ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value);
void (*vertex_attribP3ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value);
void (*vertex_attribP4ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value);
void (*vertex_attribP1uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
void (*vertex_attribP2uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
void (*vertex_attribP3uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
void (*vertex_attribP4uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
/* ARB_get_program_binary */
void (*get_program_binary) (GLIContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
void (*program_binary) (GLIContext ctx, GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
/* ARB_sample_shading */
void (*min_sample_shading) (GLIContext ctx, GLclampf value);
/* ARB_viewport_array */
void (*viewport_arrayv) (GLIContext ctx, GLuint first, GLsizei count, const GLfloat * v);
void (*viewport_indexedf) (GLIContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
void (*viewport_indexedfv) (GLIContext ctx, GLuint index, const GLfloat * v);
void (*scissor_arrayv) (GLIContext ctx, GLuint first, GLsizei count, const GLint * v);
void (*scissor_indexed) (GLIContext ctx, GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
void (*scissor_indexedv) (GLIContext ctx, GLuint index, const GLint * v);
void (*depth_range_arrayv) (GLIContext ctx, GLuint first, GLsizei count, const GLclampd * v);
void (*depth_range_indexed) (GLIContext ctx, GLuint index, GLclampd n, GLclampd f);
void (*get_floati_v) (GLIContext ctx, GLenum target, GLuint index, GLfloat *data);
void (*get_doublei_v) (GLIContext ctx, GLenum target, GLuint index, GLdouble *data);
/* ARB_draw_indirect */
void (*draw_arrays_indirect) (GLIContext ctx, GLenum mode, const GLvoid *indirect);
void (*draw_elements_indirect) (GLIContext ctx, GLenum mode, GLenum type, const GLvoid *indirect);
/* ARB_tessellation_shader */
void (*patch_parameteri) (GLIContext ctx, GLenum pname, GLint value);
void (*patch_parameterfv) (GLIContext ctx, GLenum pname, const GLfloat* values);
/* ARB_transform_feedback2 */
void (*bind_transform_feedback) (GLIContext ctx, GLenum target, GLuint name);
void (*gen_transform_feedbacks) (GLIContext ctx, GLsizei n, GLuint* ids);
void (*delete_transform_feedbacks) (GLIContext ctx, GLsizei n, const GLuint* ids);
void (*pause_transform_feedback) (GLIContext ctx);
void (*resume_transform_feedback) (GLIContext ctx);
GLboolean (*is_transform_feedback) (GLIContext ctx, GLuint name);
void (*draw_transform_feedback) (GLIContext ctx, GLenum mode, GLuint name);
/* ARB_transform_feedback3 */
void (*begin_query_indexed) (GLIContext ctx, GLenum target, GLuint index, GLuint id);
void (*end_query_indexed) (GLIContext ctx, GLenum target, GLuint index);
void (*get_query_indexediv) (GLIContext ctx, GLenum target, GLuint index, GLenum pname, GLint *params);
void (*draw_transform_feedback_stream) (GLIContext ctx, GLenum mode, GLuint name, GLuint stream);
/* ARB_separate_shader_objects && ARB_gpu_shader_fp64 */
void (*program_uniform1d)(GLIContext ctx, GLuint program, GLint location, GLdouble x);
void (*program_uniform2d)(GLIContext ctx, GLuint program, GLint location, GLdouble x, GLdouble y);
void (*program_uniform3d)(GLIContext ctx, GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
void (*program_uniform4d)(GLIContext ctx, GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*program_uniform1dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value);
void (*program_uniform2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value);
void (*program_uniform3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value);
void (*program_uniform4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value);
void (*program_uniform_matrix2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix2x3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix3x2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix2x4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix4x2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix3x4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*program_uniform_matrix4x3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
/* ARB_gpu_shader_fp64 */
void (*uniform1d)(GLIContext ctx, GLint location, GLdouble x);
void (*uniform2d)(GLIContext ctx, GLint location, GLdouble x, GLdouble y);
void (*uniform3d)(GLIContext ctx, GLint location, GLdouble x, GLdouble y, GLdouble z);
void (*uniform4d)(GLIContext ctx, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*uniform1dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value);
void (*uniform2dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value);
void (*uniform3dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value);
void (*uniform4dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value);
void (*uniform_matrix2dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix3dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix4dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix2x3dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix3x2dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix2x4dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix4x2dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix3x4dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*uniform_matrix4x3dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
void (*get_uniformdv)(GLIContext ctx, GLuint program_obj, GLint location, GLdouble *params);
/* ARB_vertex_attrib_64bit */
void (*vertex_attribl1d)(GLIContext ctx, GLuint index, GLdouble x);
void (*vertex_attribl2d)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y);
void (*vertex_attribl3d)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z);
void (*vertex_attribl4d)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
void (*vertex_attribl1dv)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attribl2dv)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attribl3dv)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attribl4dv)(GLIContext ctx, GLuint index, const GLdouble *v);
void (*vertex_attrib_lpointer)(GLIContext ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
void (*get_vertex_attrib_ldv)(GLIContext ctx, GLuint index, GLenum pname, GLdouble *params);
/* ARB_shader_subroutine */
GLint (*get_subroutine_uniform_location)(GLIContext ctx, GLuint program, GLenum shadertype, const GLchar *name);
GLuint (*get_subroutine_index)(GLIContext ctx, GLuint program, GLenum shadertype, const GLchar *name);
void (*get_active_subroutine_uniformiv)(GLIContext ctx, GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
void (*get_active_subroutine_uniform_name)(GLIContext ctx, GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
void (*get_active_subroutine_name)(GLIContext ctx, GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
void (*uniform_subroutinesuiv)(GLIContext ctx, GLenum shadertype, GLsizei count, const GLuint *indices);
void (*get_uniform_subroutineuiv)(GLIContext ctx, GLenum shadertype, GLint location, GLuint *params);
void (*get_program_stageiv)(GLIContext ctx, GLuint program, GLenum shadertype, GLenum pname, GLint *values);
/* ARB_internalformat_query */
void (*get_internal_formativ) (GLIContext ctx, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params);
/* ARB_texture_storage */
void (*tex_storage1D) (GLIContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
void (*tex_storage2D) (GLIContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
void (*tex_storage3D) (GLIContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
/* GL_APPLE_label_process */
void (*label_object_with_responsible_process_APPLE) (GLIContext ctx, GLenum type, GLuint name, GLint pid);
/* GL_NV_texture_barrier */
void (*texture_barrier_NV) (GLIContext ctx);
/* "GL_APPLE_multi_draw_indirect" */
void (*multi_draw_elements_indirect_APPLE) (GLIContext ctx, GLenum mode, GLenum type, const GLvoid *indirect, GLsizei drawcount, GLsizei stride);
} GLIFunctionDispatch;
#ifdef __cplusplus
}
#endif
#endif /* _GLIDISPATCH_H */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/OpenGL.framework/Modules/module.modulemap | framework module OpenGL [extern_c] {
umbrella header "OpenGL.h"
module CGLRenderers {
header "CGLRenderers.h"
export *
}
module CGLDevice {
header "CGLDevice.h"
export *
}
export *
module * {
export *
}
module GLTypes {
header "gltypes.h"
export *
}
explicit module GL3 {
header "gl3.h"
export GLTypes
export *
explicit module Ext {
header "gl3ext.h"
export *
}
}
explicit module IOSurface {
header "CGLIOSurface.h"
export *
}
explicit module GL {
header "gl.h"
export GLTypes
export *
explicit module Ext {
header "glext.h"
export *
}
explicit module GLU {
header "glu.h"
export *
explicit module Macro {
textual header "gluMacro.h"
header "gluContext.h"
export *
}
}
explicit module Macro {
textual header "CGLMacro.h"
header "CGLContext.h"
header "gliContext.h"
header "gliDispatch.h"
export *
}
}
}
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/ApplicationServices.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
arm64e-macos, arm64e-maccatalyst ]
uuids:
- target: x86_64-macos
value: 809CBA2E-69B2-30C0-AD9F-3169629F47A0
- target: x86_64-maccatalyst
value: 809CBA2E-69B2-30C0-AD9F-3169629F47A0
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64-maccatalyst
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 3A14F3F3-040B-311D-A5E0-AD8DAD479A01
- target: arm64e-maccatalyst
value: 3A14F3F3-040B-311D-A5E0-AD8DAD479A01
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices'
current-version: 56
exports:
- targets: [ x86_64-maccatalyst, x86_64-macos, arm64e-maccatalyst, arm64e-macos,
arm64-macos, arm64-maccatalyst ]
symbols: [ _ApplicationServicesVersionNumber, _ApplicationServicesVersionString ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
arm64e-macos, arm64e-maccatalyst ]
uuids:
- target: x86_64-macos
value: 1284AFC2-E295-3154-8793-D2863F87F6CD
- target: x86_64-maccatalyst
value: 1284AFC2-E295-3154-8793-D2863F87F6CD
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64-maccatalyst
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: FBB646C6-880A-38C4-A570-98BFAA69E62F
- target: arm64e-maccatalyst
value: FBB646C6-880A-38C4-A570-98BFAA69E62F
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS'
current-version: 236
parent-umbrella:
- targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
arm64e-macos, arm64e-maccatalyst ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, x86_64-maccatalyst, arm64e-maccatalyst,
arm64-macos, arm64-maccatalyst ]
symbols: [ _AGAddAttribute, _AGBeginIteration, _AGComputeByteCapacity,
_AGComputeByteCapacityV, _AGComputeChecksum, _AGComputeIncrementalCapacity,
_AGComputeIncrementalCapacityV, _AGCongruent, _AGFindAttribute,
_AGGetChecksum, _AGGetLength, _AGGetType, _AGIdentical, _AGNextAttribute,
_AGPrepare, _AGSetTag, _AGSetType, _ATSAlloc, _ATSCleanupClient,
_ATSCopyFontForAutoActivationIfNecessary, _ATSCopySpecifiedSetting,
_ATSCreateFontQueryRunLoopSource, _ATSCreateUnicodeCharacterCoverage,
_ATSDebugAssert, _ATSDebugMsg, _ATSDebugStr, _ATSDisposeAllocator,
_ATSDuplicate, _ATSEnableURLs, _ATSFixedDivide, _ATSFixedMultiply,
_ATSFontAcquireStrikeDescription, _ATSFontAcquireStrikeDescriptionWithVariations,
_ATSFontActivateFromFileReference, _ATSFontActivateFromMemory,
_ATSFontActivateFromPath, _ATSFontApplyFunction, _ATSFontCanBeAutoActivated,
_ATSFontConvertFromQuickDrawFont, _ATSFontConvertToQuickDrawFont,
_ATSFontCopyAutoActivationConfirmDialogResult, _ATSFontCopyLWFNsFromSuitcase,
_ATSFontCopyMDQueryResult, _ATSFontCopyPostSriptNameAndFindSuitcaseFromLWFN,
_ATSFontCopySuitcaseFromLWFN, _ATSFontCreateFPFont, _ATSFontCreateFontName,
_ATSFontCreateLocalizedFontName, _ATSFontDeactivate, _ATSFontFamilyApplyFunction,
_ATSFontFamilyFindFromName, _ATSFontFamilyFindFromQuickDrawName,
_ATSFontFamilyGetEncoding, _ATSFontFamilyGetGeneration, _ATSFontFamilyGetName,
_ATSFontFamilyGetQuickDrawName, _ATSFontFamilyIteratorCreate,
_ATSFontFamilyIteratorNext, _ATSFontFamilyIteratorRelease,
_ATSFontFamilyIteratorReset, _ATSFontFindFontFor, _ATSFontFindFromContainer,
_ATSFontFindFromFontIdentifier, _ATSFontFindFromName, _ATSFontFindFromPostScriptName,
_ATSFontFindSuitcaseFromLWFN, _ATSFontFindVariationFromPostScriptName,
_ATSFontFindWithROS, _ATSFontGetAutoActivationSettingForApplication,
_ATSFontGetContainer, _ATSFontGetContainerFromFileReference,
_ATSFontGetContainerFromPath, _ATSFontGetContainerInfo, _ATSFontGetEncoding,
_ATSFontGetFilePath, _ATSFontGetFileReference, _ATSFontGetFileReferenceForXType,
_ATSFontGetFontFamilyResource, _ATSFontGetFontIdentifier,
_ATSFontGetFormat, _ATSFontGetGeneration, _ATSFontGetGlobalAutoActivationSetting,
_ATSFontGetGlyphCount, _ATSFontGetGlyphIDsForGlyphNames, _ATSFontGetHorizontalMetrics,
_ATSFontGetHorizontalMetricsWithVariation, _ATSFontGetMaximumBoundingBox,
_ATSFontGetName, _ATSFontGetNativeCurveType, _ATSFontGetPSEncoding,
_ATSFontGetPostScriptName, _ATSFontGetPostScriptNameWithVariation,
_ATSFontGetStandardFontDirectories, _ATSFontGetTable, _ATSFontGetTableDirectory,
_ATSFontGetUnicodeCharacterCoverage, _ATSFontGetVerticalMetrics,
_ATSFontIsEnabled, _ATSFontIsInitialized, _ATSFontIsStandardFontDirectory,
_ATSFontIteratorCreate, _ATSFontIteratorNext, _ATSFontIteratorRelease,
_ATSFontIteratorReset, _ATSFontLoadUnicodeCharacterSet, _ATSFontNotificationSubscribe,
_ATSFontNotificationUnsubscribe, _ATSFontNotify, _ATSFontQueryHasHandler,
_ATSFontReleaseStrikeDescription, _ATSFontSetAutoActivationSettingForApplication,
_ATSFontSetEnabled, _ATSFontSetGlobalAutoActivationSetting,
_ATSFontSetStrikeTransform, _ATSFontValidate, _ATSFree, _ATSGetAllocator,
_ATSGetBlockSize, _ATSGetFontFileInfo, _ATSGetGeneration,
_ATSGlyphFindFromName, _ATSGlyphGetAdvanceWidth, _ATSGlyphGetBoundingBox,
_ATSGlyphGetIdealMetrics, _ATSGlyphGetMaximumNameLength, _ATSGlyphGetName,
_ATSGlyphGetScreenMetrics, _ATSGlyphGetUnicodeCharacter, _ATSGrow,
_ATSInitClient, _ATSIsFontFile, _ATSIsFontFileX, _ATSLoadUnicodeCharacterSet,
_ATSMagnitude, _ATSMultiplyDivide, _ATSNewAppHeapAllocator,
_ATSNewBufferAllocator, _ATSNewCustomAllocator, _ATSNewGlobalCacheAllocator,
_ATSNewPoolAllocator, _ATSNewScratchAllocator, _ATSRegisterData,
_ATSRegisterURLs, _ATSSendFontQuery, _CopyToMapping3x3, _FOActivateFontsFromMemory,
_FOApplyEncoding, _FOApplyEncodingForLayout, _FOApplyUnicodeEncoding,
_FOCanCreatePDFSubset, _FOCanCreatePostScriptSubset, _FOCopyFontMetaData,
_FOCopyVariationInfo, _FOCopyXMLSplicedFontsStash, _FOCountEncodings,
_FOCountFontObjects, _FOCountGlyphs, _FOCountNames, _FOCountTables,
_FOCountVariations, _FOCreateContainerFontMap, _FOCreateFontContainerArrayForDomain,
_FOCreateFontFamilyInstanceIterWithOptions, _FOCreateFontFamilyInstanceIterator,
_FOCreateFontFamilyIterator, _FOCreateFontIterator, _FOCreatePDFSubset,
_FOCreatePostScriptEncoding, _FOCreatePostScriptSubset, _FODBDumpForFileToken,
_FODeactivateFontsInContainer, _FODisableFontObject, _FODisposeFontFamilyInstanceIterator,
_FODisposeFontFamilyIterator, _FODisposeFontIterator, _FOEnableFontObject,
_FOEnsureMorphSynthesis, _FOFindEncoding, _FOFindFontIDFromName,
_FOFindFontObjectFromID, _FOFindFontObjectsFromFile, _FOFindName,
_FOFindTable, _FOFindTableInCache, _FOFindTableIndex, _FOFindTableParts,
_FOFindUnicodeEncoding, _FOFindUnicodeOrSymbolEncoding, _FOFlushCaches,
_FOGetContainerFromFSRef, _FOGetDirectory, _FOGetEncoding,
_FOGetFCacheGeneration, _FOGetFSRefFromFontContainer, _FOGetFamilyInstanceStrikeInfo,
_FOGetFlags, _FOGetFontFamilyCount, _FOGetFontFamilyFromName,
_FOGetFontFamilyGeneration, _FOGetFontFamilyInstanceFromFont,
_FOGetFontFamilyName, _FOGetFontFamilyScriptFlags, _FOGetFontFamilyTextEncoding,
_FOGetFontFolderDomainIndex, _FOGetFontFromFontFamilyInstance,
_FOGetFontFromFontFamilyInstanceVariation, _FOGetFontGeneration,
_FOGetFontID, _FOGetFontObject, _FOGetFontProtectionInfo,
_FOGetFontRegisterOrderSupplement, _FOGetFontSpecs, _FOGetFontTable,
_FOGetFontTableDirectory, _FOGetFontTraits, _FOGetFontType,
_FOGetFormat, _FOGetGeneration, _FOGetLayoutFlags, _FOGetMacintoshEncodings,
_FOGetMinRealFontSize, _FOGetNFNT, _FOGetName, _FOGetNextExtendedFontFamilyInstance,
_FOGetNextFont, _FOGetNextFontFamily, _FOGetNextFontFamilyInstance,
_FOGetPersistentData, _FOGetSpecialGlyphIDs, _FOGetStorageReference,
_FOGetTable, _FOGetTableParts, _FOGetTableTag, _FOGetUnitsPerEm,
_FOGetWeightValueFromFontName, _FOHasVariations, _FOIsAppleSystemShippedFont,
_FOIsInMemoryFont, _FOIsXMLSplicedFontObject, _FOMapCIDToGID,
_FOMapGIDToCID, _FOMatchName, _FOReadTableBytes, _FOReleaseDirectory,
_FOReleaseFontResource, _FOReleaseNFNT, _FOReleasePersistentData,
_FOReleaseTable, _FOResetFontFamilyInstanceIterWithOptions,
_FOResetFontFamilyInstanceIterator, _FOResetFontFamilyIterator,
_FOResetFontIterator, _FOSavePersistentData, _FOScanFontDirectories,
_FOSetFlags, _FOSetPreserveGlyphForATS, _FOSynthesizeTable,
_FOUnlockFontObject, _GCCompareStrikeKeys, _GCCreateStrikeKey,
_GCCreateStrikeKeyWithVariation, _GCGetGlyph1BitBitmap, _GCGetGlyph4BitGrayPixmap,
_GCGetGlyph8BitGrayPixmap, _GCGetGlyphARGBGrayPixmap, _GCGetGlyphCubicOutlinePath,
_GCGetGlyphDeviceMetrics, _GCGetGlyphIdealMetrics, _GCGetGlyphNativeOutlinePath,
_GCGetGlyphQuadraticOutlinePath, _GCGetStrikeCaretInfo, _GCGetStrikeInfo,
_GCGetStrikeLineMetrics, _GCGetStrikeMetrics, _GCReleaseStrikeKey,
_GetGlyphAddresses, _GetGlyphVectorIndex, _GetGlyphVectorSpecs,
_GetHighByteArrayForScript, _HandleOFAScalerMessage, _INIT_ATS,
_InvertMapping3x3, _LLCAddOTLTagsToGlyphRange, _LLCApplyMorph,
_LLCCharOffsetToPosition, _LLCDoLigatureCaretSplits, _LLCFreeGlyphRecs,
_LLCGetBaselineDeltas, _LLCGetOTLTagsForGlyphAtIndex, _LLCGetTrapezoids,
_LLCGrowGlyphRecArray, _LLCHitTest, _LLCLayoutText, _LLCSetOTLScriptLanguageArray,
_LLCSetUniformOTLScriptLanguage, _LLCStyleInfoCheckForOpenTypeTables,
_LLCStyleInfoClear, _LLCStyleInfoConstructVirtualGlyphTable,
_LLCStyleInfoCopy, _LLCStyleInfoCreateActiveStyleInfo, _LLCStyleInfoCreateCustomTagList,
_LLCStyleInfoCreateScaledStrikeKey, _LLCStyleInfoGetAdditionalAttribute,
_LLCStyleInfoGetAdditionalAttributeObject, _LLCStyleInfoGetAscent,
_LLCStyleInfoGetDescent, _LLCStyleInfoGetDropShadowColor,
_LLCStyleInfoGetItalicSkewAffineTransform, _LLCStyleInfoGetLeading,
_LLCStyleInfoGetUserRunFeatures, _LLCStyleInfoIdentical, _LLCStyleInfoReleaseActive,
_LLCStyleInfoRemoveAdditionalAttribute, _LLCStyleInfoSetAdditionalAttribute,
_LLCStyleInfoSetAdditionalAttributeObject, _LLCStyleInfoSynthesizeStrikeDescription,
_M3x3Concat, _M3x3Copy, _M3x3Flags, _M3x3Inverse, _M3x3Mul,
_M3x3Normalize, _MapMapping3x3, _MapPoints3x3, _OFAFindScalerForFormat,
_OFAFlatteningDownload, _OFAFlatteningRequiredFontsQuery,
_OFAFlatteningSizeQuery, _OFAFontRenderingQuery, _OFAGetFontMetrics,
_OFAGetFontSpecs, _OFAGetGlyphData, _OFAGetGlyphDataSpecs,
_OFAGetGlyphIDFromGlyphName, _OFAGetGlyphNameFromGlyphID,
_OFAGetQuickDrawMetrics, _OFAGetScalerInfo, _OFAGetStrikeSpecs,
_OFAKernGlyphs, _OFARegisterStrike, _OFASendGeneralMessage,
_OFAStreamPSDownload, _OFAStreamPSEncoding, _OFAStreamPSPrereqItem,
_OFAStreamPSPrereqQuery, _OFAStreamPSSizeQuery, _OFAStreamPSVariationOperator,
_OFAStreamPSVariationQuery, _OFAStreamTypeQuery, _PurgeGlyphVectorIndex,
_ReleaseGlyphVectorLock, _ResetMapping3x3, _ScaleMapping3x3,
_StandardFontContainerFontFilter, _StandardFontTechnologyFontFilter,
_StandardGenerationFontFamilyFilter, _StandardGenerationFontFilter,
_ValidGlyphVectorIndex, _gComboMxBmapAGPtr, _gDevAntiAGPtr,
_gDevAntiPathAGPtr, _gDevBmapAGPtr, _gDevPathAGPtr, _gFracAntiAGPtr,
_gFracBmapAGPtr, _gImageAntiAGPtr, _gImageBmapAGPtr, _gImageCubicPathAGPtr,
_gImagePathAGPtr, _identityMatrix, _kATSAutoActivationConfirmDontShowAgainKey,
_kATSAutoActivationConfirmResultKey, _kATSValidationActivationInfo,
_kATSValidationActivationInfoKeep, _kATSValidationDontRunHiLevelAPITests,
_kATSValidationDynamicActivationInfo, _kATSValidationDynamicGlyphTests,
_kATSValidationFontMD5, _kATSValidationFontSummaryOnly, _kATSValidationGenerateFontChecksum,
_kATSValidationIgnoreDumpFiles, _kATSValidationIgnoreErrors,
_kATSValidationOverallResult, _kATSValidationPostScriptName,
_kATSValidationResults, _kATSValidationRuleAuthor, _kATSValidationRuleComponents,
_kATSValidationRuleCoverage, _kATSValidationRuleDescription,
_kATSValidationRuleFormat, _kATSValidationRuleName, _kATSValidationRulePriority,
_kATSValidationRuleResult, _kATSValidationRuleSeverity, _kATSValidationRuleVersion,
_kATSValidationRulesList, _kATSValidationRunDynamic, _kATSValidationSkipDuplicateFontCheck,
_kATSValidationTestsFailed, _kATSValidationTestsPassed, _kATSValidationTestsRun,
_kATSValidationTestsWarned, _kFOComponentsKey, _kFOFontMetricsKey,
_kFOFontNameKey, _kFOFontNamesArrayKey, _kFOFontVersionKey,
_kFOLanguageKey, _kFOMatrixKey, _kFOPosingFontKey, _kFOStringKey,
_kFOTypeKey, _kFOUnicodeCharSetKey, _kFOcmapOverrideKey ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: F04921AB-73D9-3E0E-973F-83EE84F09C4B
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 7B9808EE-00FD-3F04-8035-E6F784C95611
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATSUI.framework/Versions/A/ATSUI'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _ATSApplyMorph, _ATSClearGlyphVector, _ATSGrowGlyphVector,
_ATSInitializeGlyphVector, _ATSUBatchBreakLines, _ATSUBreakLine,
_ATSUClearAttributes, _ATSUClearFontFeatures, _ATSUClearFontVariations,
_ATSUClearLayoutCache, _ATSUClearLayoutControls, _ATSUClearLineControls,
_ATSUClearSoftLineBreaks, _ATSUClearStyle, _ATSUCompareStyles,
_ATSUConvertCharToGlyphs, _ATSUCopyAttributes, _ATSUCopyLayoutControls,
_ATSUCopyLineControls, _ATSUCountFontFeatureSelectors, _ATSUCountFontFeatureTypes,
_ATSUCountFontInstances, _ATSUCountFontNames, _ATSUCountFontVariations,
_ATSUCreateAndCopyStyle, _ATSUCreateAndCopyTextLayout, _ATSUCreateFontFallbacks,
_ATSUCreateStyle, _ATSUCreateTextLayout, _ATSUCreateTextLayoutWithTextPtr,
_ATSUDirectAddStyleSettingRef, _ATSUDirectGetLayoutDataArrayPtrFromLineRef,
_ATSUDirectGetLayoutDataArrayPtrFromTextLayout, _ATSUDirectReleaseLayoutDataArrayPtr,
_ATSUDisposeFontFallbacks, _ATSUDisposeStyle, _ATSUDisposeStyleGroup,
_ATSUDisposeTextLayout, _ATSUDrawText, _ATSUFONDtoFontID,
_ATSUFindFontFromName, _ATSUFindFontName, _ATSUFlattenStyleRunsToStream,
_ATSUFontCount, _ATSUFontIDtoFOND, _ATSUGetAllAttributes,
_ATSUGetAllFontFeatures, _ATSUGetAllFontVariations, _ATSUGetAllLayoutControls,
_ATSUGetAllLineControls, _ATSUGetAttribute, _ATSUGetContinuousAttributes,
_ATSUGetFontFeature, _ATSUGetFontFeatureNameCode, _ATSUGetFontFeatureSelectors,
_ATSUGetFontFeatureTypes, _ATSUGetFontIDs, _ATSUGetFontInstance,
_ATSUGetFontInstanceNameCode, _ATSUGetFontVariationNameCode,
_ATSUGetFontVariationValue, _ATSUGetGlyphBounds, _ATSUGetGlyphInfo,
_ATSUGetIndFontName, _ATSUGetIndFontVariation, _ATSUGetLayoutControl,
_ATSUGetLineControl, _ATSUGetNativeCurveType, _ATSUGetObjFontFallbacks,
_ATSUGetRunStyle, _ATSUGetSoftLineBreaks, _ATSUGetStyleGroup,
_ATSUGetStyleIndex, _ATSUGetStyleRefCon, _ATSUGetTabArray,
_ATSUGetTextLayoutRefCon, _ATSUGetTextLocation, _ATSUGetTransientFontMatching,
_ATSUGetUnjustifiedBounds, _ATSUGlyphGetCubicPaths, _ATSUGlyphGetCurvePaths,
_ATSUGlyphGetIdealMetrics, _ATSUGlyphGetQuadraticPaths, _ATSUGlyphGetScreenMetrics,
_ATSUHighlightInactiveText, _ATSUHighlightText, _ATSULeftwardCursorPosition,
_ATSULineBreakEngine, _ATSUMatchFontsToText, _ATSUMeasureTextImage,
_ATSUNextCursorPosition, _ATSUOffsetToCursorPosition, _ATSUOffsetToPosition,
_ATSUOverwriteAttributes, _ATSUPositionToCursorOffset, _ATSUPositionToOffset,
_ATSUPreviousCursorPosition, _ATSURightwardCursorPosition,
_ATSUSetAttributes, _ATSUSetFontFeatures, _ATSUSetHighlightingMethod,
_ATSUSetLayoutControls, _ATSUSetLineControls, _ATSUSetObjFontFallbacks,
_ATSUSetRunStyle, _ATSUSetSoftLineBreak, _ATSUSetStyleRefCon,
_ATSUSetTabArray, _ATSUSetTextLayoutRefCon, _ATSUSetTextPointerLocation,
_ATSUSetTransientFontMatching, _ATSUSetVariations, _ATSUStyleIsEmpty,
_ATSUTextDeleted, _ATSUTextInserted, _ATSUTextMoved, _ATSUUnderwriteAttributes,
_ATSUUnflattenStyleRunsFromStream, _ATSUUnhighlightText, _DisposeATSCubicClosePathUPP,
_DisposeATSCubicCurveToUPP, _DisposeATSCubicLineToUPP, _DisposeATSCubicMoveToUPP,
_DisposeATSQuadraticClosePathUPP, _DisposeATSQuadraticCurveUPP,
_DisposeATSQuadraticLineUPP, _DisposeATSQuadraticNewPathUPP,
_DisposeRedrawBackgroundUPP, _InvokeATSCubicClosePathUPP,
_InvokeATSCubicCurveToUPP, _InvokeATSCubicLineToUPP, _InvokeATSCubicMoveToUPP,
_InvokeATSQuadraticClosePathUPP, _InvokeATSQuadraticCurveUPP,
_InvokeATSQuadraticLineUPP, _InvokeATSQuadraticNewPathUPP,
_InvokeRedrawBackgroundUPP, _NewATSCubicClosePathUPP, _NewATSCubicCurveToUPP,
_NewATSCubicLineToUPP, _NewATSCubicMoveToUPP, _NewATSQuadraticClosePathUPP,
_NewATSQuadraticCurveUPP, _NewATSQuadraticLineUPP, _NewATSQuadraticNewPathUPP,
_NewRedrawBackgroundUPP ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: E934E83E-48E0-3FAC-AF91-AAF701A68CA7
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 4A07FCFD-091A-33BC-A9C5-A2E187318AC9
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
allowable-clients:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
clients: [ DMProxy ]
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _CMCloneProfileRef, _CMCloseProfile, _CMConvertDoubleXYZToD50,
_CMConvertRGBFloatBitmap, _CMConvertXYZFloatBitmap, _CMCopyProfile,
_CMCopyProfileDescriptionString, _CMCopyProfileLocalizedString,
_CMCopyProfileLocalizedStringDictionary, _CMCountProfileElements,
_CMFloatBitmapMakeChunky, _CMGetColorSyncVersion, _CMGetDefaultDevice,
_CMGetDefaultProfileBySpace, _CMGetDefaultProfileByUse, _CMGetDeviceDefaultProfileID,
_CMGetDeviceFactoryProfiles, _CMGetDeviceInfo, _CMGetDeviceProfile,
_CMGetDeviceState, _CMGetDeviceTrackingByUse, _CMGetGammaByAVID,
_CMGetIndNamedColorValue, _CMGetIndProfileElement, _CMGetIndProfileElementInfo,
_CMGetNamedColorIndex, _CMGetNamedColorInfo, _CMGetNamedColorName,
_CMGetNamedColorValue, _CMGetPS2ColorRendering, _CMGetPS2ColorRenderingIntent,
_CMGetPS2ColorRenderingVMSize, _CMGetPS2ColorSpace, _CMGetPartialProfileElement,
_CMGetProfileByAVID, _CMGetProfileDescriptions, _CMGetProfileElement,
_CMGetProfileGamma, _CMGetProfileHeader, _CMGetProfileLocation,
_CMGetProfileMD5, _CMGetProfileRefCount, _CMGetProfileTransformInfo,
_CMGetSystemProfile, _CMGetSystemProfileAVID, _CMGetSystemProfilePriv,
_CMIterateCMMInfo, _CMIterateColorDevices, _CMIterateColorSyncFolder,
_CMIterateDeviceProfiles, _CMLaunchControlPanel, _CMMakeProfile,
_CMMatchFloatBitmap, _CMNewProfile, _CMOpenProfile, _CMPostLegacyDeviceNotification,
_CMProfileCopyICCData, _CMProfileElementExists, _CMProfileModified,
_CMProfileWriteToFile, _CMRegisterColorDevice, _CMRemoveProfileElement,
_CMSetDefaultDevice, _CMSetDeviceDefaultProfileID, _CMSetDeviceFactoryProfiles,
_CMSetDeviceProfile, _CMSetDeviceState, _CMSetDeviceTrackingByUse,
_CMSetGammaByAVID, _CMSetPartialProfileElement, _CMSetProfileByAVID,
_CMSetProfileDescriptions, _CMSetProfileElement, _CMSetProfileElementReference,
_CMSetProfileElementSize, _CMSetProfileHeader, _CMSetProfileLocalizedStringDictionary,
_CMSetSystemProfile, _CMSetSystemProfileAVID, _CMUnregisterColorDevice,
_CMUpdateProfile, _CMValidateProfile, _CWCheckBitmap, _CWCheckColors,
_CWColorWorldGetProperty, _CWColorWorldSetProperty, _CWConcatColorWorld,
_CWDisposeColorWorld, _CWFillLookupTexture, _CWGetCMMSignature,
_CWMatchBitmap, _CWMatchColors, _CWNewLinkProfile, _CreateCMProfileFromColorSyncProfile,
_CreateColorSyncProfileFromCMProfile, _DisposeCMBitmapCallBackUPP,
_DisposeCMConcatCallBackUPP, _DisposeCMFlattenUPP, _DisposeCMMIterateUPP,
_DisposeCMProfileAccessUPP, _DisposeCMProfileIterateUPP, _InvokeCMBitmapCallBackUPP,
_InvokeCMConcatCallBackUPP, _InvokeCMFlattenUPP, _InvokeCMMIterateUPP,
_InvokeCMProfileAccessUPP, _InvokeCMProfileIterateUPP, _NCMGetProfileLocation,
_NCWConcatColorWorld, _NCWNewColorWorld, _NCWNewLinkProfile,
_NewCMBitmapCallBackUPP, _NewCMConcatCallBackUPP, _NewCMFlattenUPP,
_NewCMMIterateUPP, _NewCMProfileAccessUPP, _NewCMProfileIterateUPP,
__CMGetProfileOfSuite, __CMLoadProfileLutsByAVID, __CMProfileGetProperty,
__CMProfileSetProperty, __CWColorWorldGetProperty, __CWColorWorldSetProperty,
_kCMIlluminantD50, _kCMIlluminantD65 ]
- targets: [ arm64e-macos, arm64-macos ]
symbols: [ _ColorSyncLoadLegacyFunction ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: 7C4AC061-D7FA-336E-9BB6-52DAEE31BC8E
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: B777E73E-2BEC-33F6-A2F4-8E88334C3C46
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices'
current-version: 738
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _AXAPIEnabled, _AXIsProcessTrusted, _AXIsProcessTrustedWithOptions,
_AXMakeProcessTrusted, _AXObserverAddNotification, _AXObserverAddNotificationAsync,
_AXObserverCreate, _AXObserverCreateWithInfoCallback, _AXObserverGetRunLoopSource,
_AXObserverGetTypeID, _AXObserverRemoveNotification, _AXObserverRemoveNotificationAsync,
_AXSerializeCFType, _AXTextMarkerCreate, _AXTextMarkerGetBytePtr,
_AXTextMarkerGetLength, _AXTextMarkerGetTypeID, _AXTextMarkerRangeCopyEndMarker,
_AXTextMarkerRangeCopyStartMarker, _AXTextMarkerRangeCreate,
_AXTextMarkerRangeCreateWithBytes, _AXTextMarkerRangeGetTypeID,
_AXUIElementCopyActionDescription, _AXUIElementCopyActionNames,
_AXUIElementCopyAttributeNames, _AXUIElementCopyAttributeValue,
_AXUIElementCopyAttributeValues, _AXUIElementCopyElementAtPosition,
_AXUIElementCopyHierarchy, _AXUIElementCopyMultipleAttributeValues,
_AXUIElementCopyParameterizedAttributeNames, _AXUIElementCopyParameterizedAttributeValue,
_AXUIElementCreateApplication, _AXUIElementCreateSystemWide,
_AXUIElementGetAttributeValueCount, _AXUIElementGetPid, _AXUIElementGetTypeID,
_AXUIElementIsAttributeSettable, _AXUIElementPerformAction,
_AXUIElementPostKeyboardEvent, _AXUIElementSetAttributeValue,
_AXUIElementSetMessagingTimeout, _AXUnserializeCFType, _AXValueCreate,
_AXValueGetType, _AXValueGetTypeID, _AXValueGetValue, _ApplicationTypeGet,
_ApplicationTypeSet, _CGPointInIconRef, _CGRectInIconRef,
_CopyLabelColorAndName, _CopyProcessName, _CoreAppearanceGetFontCGStyleRef,
_CoreAppearanceGetFontShadowOutsets, _CoreAppearanceGetFontSize,
_CoreAppearanceGetQDFontForScript, _CoreCursorCopyImages,
_CoreCursorGetData, _CoreCursorGetDataSize, _CoreCursorSet,
_CoreCursorSetAndReturnSeed, _CoreCursorUnregisterAll, _CoreDockAddFileToDock,
_CoreDockBounceAppTile, _CoreDockCompositeProcessImage, _CoreDockCopyPreferences,
_CoreDockCopyWorkspacesAppBindings, _CoreDockCreateDragTrashContext,
_CoreDockDisableExposeKeysIfNecessary, _CoreDockGetAutoHideEnabled,
_CoreDockGetContainerRect, _CoreDockGetDashboardInDock, _CoreDockGetEffect,
_CoreDockGetExposeCornerActions, _CoreDockGetExposeCornerActionsWithModifiers,
_CoreDockGetItemDockContext, _CoreDockGetItemDockWindow, _CoreDockGetMagnificationSize,
_CoreDockGetMinimizeInPlace, _CoreDockGetOrientationAndPinning,
_CoreDockGetProcessContext, _CoreDockGetProcessWindow, _CoreDockGetRect,
_CoreDockGetRectAndOrientation, _CoreDockGetRectAndReason,
_CoreDockGetSpringLoadingTime, _CoreDockGetTileSize, _CoreDockGetTrashWindow,
_CoreDockGetWorkspacesCount, _CoreDockGetWorkspacesEnabled,
_CoreDockGetWorkspacesKeyBindings, _CoreDockIsDockRunning,
_CoreDockIsLaunchAnimationsEnabled, _CoreDockIsMagnificationEnabled,
_CoreDockIsSpringLoadingEnabled, _CoreDockMinimizeItemWithTitle,
_CoreDockMinimizeItemWithTitleAsync, _CoreDockMinimizeItemsWithTitle,
_CoreDockMinimizeItemsWithTitleAsync, _CoreDockPreventCommunicationWithDock,
_CoreDockRegisterClientWithRunLoop, _CoreDockReleaseDragTrashContext,
_CoreDockReleaseItemDockContext, _CoreDockReleaseItemDockWindow,
_CoreDockReleaseProcessContext, _CoreDockReleaseProcessWindow,
_CoreDockRemoveItem, _CoreDockRenderWindowIntoContext, _CoreDockRestoreItem,
_CoreDockRestoreItemAsync, _CoreDockRestoreItemWithOrder,
_CoreDockRestoreItemWithOrderAsync, _CoreDockRestoreProcessImage,
_CoreDockRevealWindowForShowDesktop, _CoreDockSendDragWindowMessage,
_CoreDockSendNotification, _CoreDockSetAutoHideEnabled, _CoreDockSetDashboardInDock,
_CoreDockSetEffect, _CoreDockSetExposeCornerAction, _CoreDockSetExposeCornerActionWithModifier,
_CoreDockSetItemTitle, _CoreDockSetLaunchAnimationsEnabled,
_CoreDockSetMagnificationEnabled, _CoreDockSetMagnificationSize,
_CoreDockSetMiniView, _CoreDockSetMinimizeInPlace, _CoreDockSetOrientationAndPinning,
_CoreDockSetPreferences, _CoreDockSetProcessImage, _CoreDockSetProcessLabel,
_CoreDockSetProcessOpenRecents, _CoreDockSetShowDesktopCallback,
_CoreDockSetSpringLoadingEnabled, _CoreDockSetSpringLoadingTime,
_CoreDockSetSpringWindowCallbacks, _CoreDockSetTileSize, _CoreDockSetTrashFull,
_CoreDockSetWindowLabel, _CoreDockSetWorkspacesAppBindings,
_CoreDockSetWorkspacesCount, _CoreDockSetWorkspacesEnabled,
_CoreDockSetWorkspacesKeyBindings, _CoreDockUpdateWindow,
_CoreDragAcceptDrag, _CoreDragCancelDrag, _CoreDragChangeBehaviors,
_CoreDragCleanDragState, _CoreDragClearAllImageOverrides,
_CoreDragCopyTrashLabel, _CoreDragCreate, _CoreDragCreateWithPasteboard,
_CoreDragCreateWithPasteboardRef, _CoreDragDispose, _CoreDragEnableSpringLoading,
_CoreDragGetAllowableActions, _CoreDragGetAttributes, _CoreDragGetCurrentDrag,
_CoreDragGetDragWindow, _CoreDragGetDropActions, _CoreDragGetDropLocation,
_CoreDragGetForce, _CoreDragGetForceStage, _CoreDragGetItemBounds,
_CoreDragGetModifiers, _CoreDragGetMouseLocation, _CoreDragGetOrigin,
_CoreDragGetPasteboard, _CoreDragGetPasteboardRef, _CoreDragGetSpringLoadingAttributes,
_CoreDragGetStandardDropLocation, _CoreDragGetValueForKey,
_CoreDragHasImageOverrides, _CoreDragInstallContextReceiveMessageHandlerOnConnection,
_CoreDragInstallContextTrackingHandlerOnConnection, _CoreDragInstallReceiveHandler,
_CoreDragInstallReceiveHandlerOnConnection, _CoreDragInstallReceiveMessageHandler,
_CoreDragInstallReceiveMessageHandlerOnConnection, _CoreDragInstallTrackingHandler,
_CoreDragInstallTrackingHandlerOnConnection, _CoreDragIsTrashLabelSet,
_CoreDragItemGetImageComponents, _CoreDragItemGetScreenFrame,
_CoreDragItemHasAlternate, _CoreDragItemSetCGImage, _CoreDragItemSetImage,
_CoreDragItemSetImageComponents, _CoreDragRefSetImageDataForItem,
_CoreDragRegisterClient, _CoreDragRegisterClientInModes, _CoreDragRegisterClientWithOptions,
_CoreDragReleaseImageData, _CoreDragRemoveReceiveHandler,
_CoreDragRemoveReceiveHandlerOnConnection, _CoreDragRemoveReceiveMessageHandler,
_CoreDragRemoveReceiveMessageHandlerOnConnection, _CoreDragRemoveTrackingHandler,
_CoreDragRemoveTrackingHandlerOnConnection, _CoreDragRequestDragCompleteMessage,
_CoreDragSetAllowableActions, _CoreDragSetAttribute, _CoreDragSetCGEventInputProc,
_CoreDragSetCGEventProcs, _CoreDragSetCGImage, _CoreDragSetCGImageWithScale,
_CoreDragSetDestClippingRect, _CoreDragSetDragRegion, _CoreDragSetDragRegionWithScale,
_CoreDragSetDragWindow, _CoreDragSetDropActions, _CoreDragSetDropLocation,
_CoreDragSetDropProc, _CoreDragSetEventProc, _CoreDragSetExtendedEventProc,
_CoreDragSetImage, _CoreDragSetImageOptions, _CoreDragSetInputProc,
_CoreDragSetItemBounds, _CoreDragSetMouseLocation, _CoreDragSetOrigin,
_CoreDragSetRootCALayer, _CoreDragSetSourceClippingRect, _CoreDragSetStandardDropLocation,
_CoreDragSetTrashDrawProc, _CoreDragSetTrashLabel, _CoreDragSetValueForKey,
_CoreDragStartDragging, _CoreDragUpdatesBegin, _CoreDragUpdatesCommit,
_CoreGetDragInfo, _CoreImagingCreateImage, _CoreMenuCreateKeyEquivalentString,
_CoreMenuCreateVirtualKeyString, _CoreMenuExtraAddMenuExtra,
_CoreMenuExtraGetMenuExtra, _CoreMenuExtraRemoveMenuExtra,
_CoreMenuGetVirtualKeyMap, _CreatePasteboardFlavorTypeName,
_DesktopPictureCopyDisplay, _DesktopPictureCopyDisplayForSpace,
_DesktopPictureCopyValue, _DesktopPictureSetDisplay, _DesktopPictureSetDisplayForSpace,
_DesktopPictureSetValue, _ExitToShell, _GetApplicationIsDaemon,
_GetCurrentProcess, _GetFrontProcess, _GetGlobalIconImagesCacheMaxEntriesAndMaxDataSize,
_GetIconFamilyData, _GetIconRefVariant, _GetNextProcess, _GetProcessBundleLocation,
_GetProcessForPID, _GetProcessInformation, _GetProcessPID,
_HIS_XPC_CFNotificationCenterPostNotification, _HIS_XPC_CFPreferencesCopyValue,
_HIS_XPC_CFPreferencesSetValue, _HIS_XPC_CFPreferencesSynchronize,
_HIS_XPC_CopyCapsLockKeyLabel, _HIS_XPC_CopyMacManagerPrefs,
_HIS_XPC_GetApplicationPolicyForURLs, _HIS_XPC_GetCapsLockLanguageSwitch,
_HIS_XPC_GetCapsLockModifierState, _HIS_XPC_GetGlobeKeyAvailability,
_HIS_XPC_GetMicKeyAvailability, _HIS_XPC_RevealFileInFinder,
_HIS_XPC_SendAppleEventToSystemProcess, _HIS_XPC_SetCapsLockDelayOverride,
_HIS_XPC_SetCapsLockLED, _HIS_XPC_SetCapsLockLEDInhibit, _HIS_XPC_SetCapsLockModifierState,
_HIS_XPC_SetNetworkLocation, _HIShapeContainsPoint, _HIShapeCreateCopy,
_HIShapeCreateCopyAsQDRgn, _HIShapeCreateDifference, _HIShapeCreateEmpty,
_HIShapeCreateIntersection, _HIShapeCreateMutable, _HIShapeCreateMutableCopy,
_HIShapeCreateMutableWithRect, _HIShapeCreateUnion, _HIShapeCreateWithQDRgn,
_HIShapeCreateWithRect, _HIShapeCreateXor, _HIShapeDifference,
_HIShapeEnumerate, _HIShapeGetAsQDRgn, _HIShapeGetBounds,
_HIShapeGetTypeID, _HIShapeInset, _HIShapeIntersect, _HIShapeIntersectsRect,
_HIShapeIsEmpty, _HIShapeIsRectangular, _HIShapeOffset, _HIShapeReplacePathInCGContext,
_HIShapeSetEmpty, _HIShapeSetWithShape, _HIShapeUnion, _HIShapeUnionWithRect,
_HIShapeXor, _ICAddMapEntry, _ICAddProfile, _ICBegin, _ICCountMapEntries,
_ICCountPref, _ICCountProfiles, _ICCreateGURLEvent, _ICDeleteMapEntry,
_ICDeletePref, _ICDeleteProfile, _ICEditPreferences, _ICEnd,
_ICFindPrefHandle, _ICGetConfigName, _ICGetCurrentProfile,
_ICGetDefaultPref, _ICGetIndMapEntry, _ICGetIndPref, _ICGetIndProfile,
_ICGetMapEntry, _ICGetPerm, _ICGetPref, _ICGetPrefHandle,
_ICGetProfileName, _ICGetSeed, _ICGetVersion, _ICLaunchURL,
_ICMapEntriesFilename, _ICMapEntriesTypeCreator, _ICMapFilename,
_ICMapTypeCreator, _ICParseURL, _ICSendGURLEvent, _ICSetCurrentProfile,
_ICSetMapEntry, _ICSetPref, _ICSetPrefHandle, _ICSetProfileName,
_ICStart, _ICStop, _IconRefContainsCGPoint, _IconRefIntersectsCGRect,
_IconRefToHIShape, _IconRefToIconFamily, _IsIconRefMaskEmpty,
_IsProcessManagerInitialized, _IsProcessVisible, _KillProcess,
_LaunchApplication, _LaunchProcess, _LaunchProcessAsync, _MSHCreateMIGServerSource,
_MSHCreateMachServerSource, _MSHGetMachPortFromSource, _MSHMIGSourceSetNoSendersCallback,
_MSHMIGSourceSetSendOnceCallback, _PasteboardClear, _PasteboardCopyItemFlavorData,
_PasteboardCopyItemFlavors, _PasteboardCopyName, _PasteboardCopyPasteLocation,
_PasteboardCreate, _PasteboardGetCFPasteboard, _PasteboardGetItemCount,
_PasteboardGetItemFlavorFlags, _PasteboardGetItemIdentifier,
_PasteboardGetTypeID, _PasteboardPutItemFlavor, _PasteboardResolvePromises,
_PasteboardSetPasteLocation, _PasteboardSetPromiseKeeper,
_PasteboardSynchronize, _PasteboardToggleDuplicateFlavorCheck,
_PlotIconRefInContext, _ProcessInformationCopyDictionary,
_SXArbitrationAddQueuedOutputRequest, _SXArbitrationCancelQueuedRequest,
_SXArbitrationCreateServerSource, _SXArbitrationIsQueuedRequestPending,
_SXArbitrationRegisterOutputStarting, _SXArbitrationRegisterOutputStopped,
_SameProcess, _SerializeCFType, _SetApplicationIsDaemon, _SetFrontProcess,
_SetFrontProcessWithOptions, _SetGlobalIconImagesCacheMaxEntriesAndMaxDataSize,
_SetIconFamilyData, _SetLabelColorAndName, _ShowHideDrag,
_ShowHideProcess, _StartIPCPing, _TransformProcessType, _TranslationCopyDestinationType,
_TranslationCopySourceType, _TranslationCreate, _TranslationCreateWithSourceArray,
_TranslationGetTranslationFlags, _TranslationGetTypeID, _TranslationPerformForData,
_TranslationPerformForFile, _TranslationPerformForURL, _UAZoomChangeFocus,
_UAZoomEnabled, _UnserializeCFType, _WakeUpProcess, __AXCopyActionDescription,
__AXCopyChildrenHash, __AXCopyRoleDescription, __AXCopyRoleDescriptionWithSubrole,
__AXCopyTitle, __AXCreateElementOrdering, __AXCurrentRequestCanReturnInspectionContent,
__AXCurrentRequestCanReturnProtectedContent, __AXGetClientForCurrentRequestUntrusted,
__AXInterfaceCopyCursorColorFill, __AXInterfaceCopyCursorColorOutline,
__AXInterfaceCursorIsOverridden, __AXInterfaceCursorSetAndReturnSeed,
__AXInterfaceGetBristolEnabled, __AXInterfaceGetClassicInvertColorEnabled,
__AXInterfaceGetDifferentiateWithoutColorEnabled, __AXInterfaceGetIncreaseContrastEnabled,
__AXInterfaceGetReduceMotionEnabled, __AXInterfaceGetReduceTransparencyEnabled,
__AXInterfaceGetRichmondEnabled, __AXInterfaceGetShowToolbarButtonShapesEnabled,
__AXInterfaceGetShowWindowTitlebarIconsEnabled, __AXInterfaceSetClassicInvertColorEnabled,
__AXInterfaceSetCursorColorFill, __AXInterfaceSetCursorColorOutline,
__AXInterfaceSetCursorIsOverridden, __AXInterfaceSetDifferentiateWithoutColorEnabled,
__AXInterfaceSetDifferentiateWithoutColorEnabledOverride,
__AXInterfaceSetIncreaseContrastEnabled, __AXInterfaceSetIncreaseContrastEnabledOverride,
__AXInterfaceSetReduceMotionEnabled, __AXInterfaceSetReduceMotionEnabledOverride,
__AXInterfaceSetReduceTransparencyEnabled, __AXInterfaceSetReduceTransparencyEnabledOverride,
__AXInterfaceSetShowToolbarButtonShapesEnabled, __AXInterfaceSetShowToolbarButtonShapesEnabledOverride,
__AXInterfaceSetShowWindowTitlebarIconsEnabled, __AXInterfaceSetShowWindowTitlebarIconsEnabledOverride,
__AXIsAppleClientForCurrentRequestUntrusted, __AXRegisterControlComputerAccess,
__AXSetAuditTokenIsAuthenticatedCallback, __AXSetClientIdentificationOverride,
__AXShouldElementBeIgnoredForNavigation, __AXUIElementCopyElementAtPositionIncludeIgnored,
__AXUIElementCreateApplicationWithPresenterPid, __AXUIElementCreateWithData,
__AXUIElementCreateWithDataAndPid, __AXUIElementCreateWithDataAndPresenterPid,
__AXUIElementCreateWithPtr, __AXUIElementCreateWithRemoteToken,
__AXUIElementGetActualPid, __AXUIElementGetData, __AXUIElementGetIsProcessSuspended,
__AXUIElementGetWindow, __AXUIElementNotifyProcessSuspendStatus,
__AXUIElementPostNotification, __AXUIElementPostNotificationForObservedElement,
__AXUIElementPostNotificationWithInfo, __AXUIElementRegisterServerWithRunLoop,
__AXUIElementRemoteTokenCreate, __AXUIElementRequestServicedBySecondaryAXThread,
__AXUIElementUnregisterServer, __AXUIElementUseSecondaryAXThread,
__AddLabelsChangedCallback, __CopyProcessBundleLocationURL,
__GDBIconsCGCacheList, __GetApplicationDesiresAttention, __GetFrontUIProcess,
__HIShapeCreateWithCGImage, __HIShapeCreateWithCGSRegionObj,
__HIShapeGetNative, __HIShapeOutsetToPixelBoundary, __HIShapeSetImmutable,
__HIShapeSetShapeWithOffset, __HideOtherApplications, __ICCopyMailHostName,
__ICCopyMailUserName, __ISCreateCGImageForType, __ISCreateCGImageForTypeAtScale,
__IconServicesGetCGImageRefFromIconRef, __IconServicesGetCGImageRefFromURL,
__InstallGURLEventHandler, __PIPZoomingEnabled, __RegisterApplication,
__RegisterAsSessionLauncherApplication, __RemoveLabelsChangedCallback,
__SetApplicationDesiresAttention, __SetFrontProcessWithOptions,
__SetHLTBWakeUpHook, __ShowAllApplications, __SignalApplicationReady,
__UAZoomFocusChange, __UAZoomFocusChangeAnchored, __UAZoomFocusChangeHighlightRect,
__UAZoomFocusChangeHighlightRectAnchored, __UAZoomingEnabled,
__UnregisterAsSessionLauncherApplication, _gDockDragCallback,
_gDockDragWindowCallback, _kAXAttachmentTextAttribute, _kAXAutocorrectedTextAttribute,
_kAXBackgroundColorTextAttribute, _kAXElementOrderHorizontalKey,
_kAXElementOrderVerticalKey, _kAXElementToFocusForLayoutChangeKey,
_kAXFontFamilyKey, _kAXFontNameKey, _kAXFontSizeKey, _kAXFontTextAttribute,
_kAXForegoundColorTextAttribute, _kAXForegroundColorTextAttribute,
_kAXInterfaceBristolKey, _kAXInterfaceClassicInvertColorKey,
_kAXInterfaceClassicInvertColorStatusDidChangeNotification,
_kAXInterfaceCursorStatusDidChangeNotification, _kAXInterfaceDifferentiateWithoutColorKey,
_kAXInterfaceDifferentiateWithoutColorStatusDidChangeNotification,
_kAXInterfaceIncreaseContrastKey, _kAXInterfaceIncreaseContrastStatusDidChangeNotification,
_kAXInterfaceReduceMotionKey, _kAXInterfaceReduceMotionStatusDidChangeNotification,
_kAXInterfaceReduceTransparencyKey, _kAXInterfaceReduceTransparencyStatusDidChangeNotification,
_kAXInterfaceShowToolbarButtonShapesKey, _kAXInterfaceShowToolbarButtonShapesStatusDidChangeNotification,
_kAXInterfaceShowWindowTitlebarIconsKey, _kAXInterfaceShowWindowTitlebarIconsStatusDidChangeNotification,
_kAXLinkTextAttribute, _kAXListItemIndexTextAttribute, _kAXListItemLevelTextAttribute,
_kAXListItemPrefixTextAttribute, _kAXMarkedMisspelledTextAttribute,
_kAXMisspelledTextAttribute, _kAXNaturalLanguageTextAttribute,
_kAXParagraphStyleTextAttribute, _kAXReplacementStringTextAttribute,
_kAXShadowTextAttribute, _kAXStrikethroughColorTextAttribute,
_kAXStrikethroughTextAttribute, _kAXSuperscriptTextAttribute,
_kAXTextAlignmentAttribute, _kAXTextAlignmentKey, _kAXTrustedCheckOptionPrompt,
_kAXUIElementCopyHierarchyArrayAttributesKey, _kAXUIElementCopyHierarchyIncompleteResultKey,
_kAXUIElementCopyHierarchyMaxArrayCountKey, _kAXUIElementCopyHierarchyMaxDepthKey,
_kAXUIElementCopyHierarchyResultCountKey, _kAXUIElementCopyHierarchyResultErrorKey,
_kAXUIElementCopyHierarchyResultValueKey, _kAXUIElementCopyHierarchyReturnAttributeErrorsKey,
_kAXUIElementCopyHierarchySkipInspectionForAttributesKey,
_kAXUIElementCopyHierarchyTruncateStringsKey, _kAXUnderlineColorTextAttribute,
_kAXUnderlineTextAttribute, _kAXVisibleNameKey, _kAXVisualTextAlignmentKey ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: 240A30D0-BA6D-341E-8681-8C19CB4A7C8C
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: EB091F0C-39D4-3EF2-83A9-57097E34C047
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore'
current-version: 544
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _CPLAutoSelectCancel, _CPLAutoSelectCreateContext, _CPLAutoSelectGetInfo,
_CPLAutoSelectHasNewPPD, _CPLAutoSelectInstallableOptions,
_CPLAutoSelectPPD, _CPLAutoSelectReleaseContext, _CPLAutoSelectSetIsBinaryOK,
_CPLCopyDefaultPaperID, _CPLCopyDefaultPrinterName, _CPLCopyGenericPPDURL,
_CPLCopyLocalServerURL, _CPLCopyPrinterNames, _CPLCreateOptions,
_CPLCreateOptionsStr, _CPLCreateSuggestedQueueName, _CPLEmptyPPDCache,
_CPLInstallIconFile, _CPLIsPrintAdmin, _CPLIsPrintingManaged,
_CPLPrinterCopyPPD, _CPLPrinterGetType, _CPLPrinterNameInUse,
_CPLPrinterSetLocation, _CPLPrinterSetPPD, _CPLQueuePrintDocument,
_CPLQueueResume, _CPLRemovePrinter, _CPLRemovePrinterKeepPreferences,
_CPLResetPrintingPermissions, _CPLResetPrintingSystem, _CPLServerCreateClass,
_CPLServerCreateQueue, _CPLSetDefaultPaperID, _CPLSetDefaultPrinterName,
_CPLSetUseLastPrinterAsCurrentPrinter, _CPLStartAirScanLegacyBrowsing,
_CPLUseLastPrinterAsCurrentPrinter, _CreateCStrFromEncodedValue,
_FindBestMediaForSheetSize, _GetPPDDefaultColorSpace, _GetPPDRefFromSession,
_MakePrinterDeviceIDFromStr, _PJCCopyArrayPresetPrintingPref,
_PJCCopyArrayPrintingPref, _PJCCopyBooleanPrintingPref, _PJCCopyDictionaryPresetPrintingPref,
_PJCCopyDictionaryPrintingPref, _PJCCopyNumberPresetPrintingPref,
_PJCCopyNumberPrintingPref, _PJCCopyPrinterPrimaryProfileFromSettings,
_PJCCopyStringPresetPrintingPref, _PJCCopyStringPrintingPref,
_PJCCreateAndLaunchPrinterProxy, _PJCCreateDefaultSaveToFileName,
_PJCCreateLocalizedNameFromPPDChoiceName, _PJCCreateLocalizedPaperName2,
_PJCCreateLocalizedPaperNameWithPPD, _PJCCreatePaperInfoListForMenuInternal,
_PJCCreateSuggestedPaper, _PJCGetCurrentProfileIDFromPPD,
_PJCIsMetric, _PJCLaunchPrintCenter, _PJCNewPageFormatWithPMPaper,
_PJCPrintSettingsCreateCustomProfileRef, _PJCPrintSettingsSetCustomProfilePath,
_PJCPrinterCopyFinishingTemplatesList, _PJCPrinterCopyReadyMediaList,
_PJCPrinterGetDeviceID, _PJCPrinterProxyCreateURL, _PJCPrinterSupportsFinishingTemplates,
_PJCPrinterSupportsReadyMedia, _PJCPrinterSupportsThisCustomPaper,
_PJCRunWorkflowWithRenamedPDF, _PJCSessionCreateCopyForAppKit,
_PJCSessionHasApplicationSetPrinter, _PJCSessionSetHideFileExtension,
_PJCSetPresetPrintingPref, _PJCSetPrintingPref, _PJCTicketGetSrcImageableArea,
_PJCTicketGetSrcOrientation, _PJCTicketGetSrcPaperSize, _PJCTicketGetSrcResolution,
_PJCTicketGetSrcScaling, _PMAnalyticsSendEventLazy, _PMBackendExecIO,
_PMCFEqual, _PMCGImageCreateWithEPSDataProvider, _PMConvertFile,
_PMCopyAvailablePPDs, _PMCopyLocalizedPPD, _PMCopyPPDData,
_PMCopyPageFormat, _PMCopyPrintSettings, _PMCopyUserDefaultPaperSize,
_PMCreateCFArrayForPMObjects, _PMCreateGenericPrinter, _PMCreatePageFormat,
_PMCreatePageFormatWithPMPaper, _PMCreatePaperInfoTicketFromPPDPaperName,
_PMCreatePrintSettings, _PMCreatePrinter, _PMCreateProxy,
_PMCreateSession, _PMFindProxy, _PMForceRelease, _PMGetAdjustedPageRect,
_PMGetAdjustedPaperRect, _PMGetCollate, _PMGetCopies, _PMGetDuplex,
_PMGetFirstPage, _PMGetLastPage, _PMGetOrientation, _PMGetPageFormatExtendedData,
_PMGetPageFormatPaper, _PMGetPageRange, _PMGetPrinterModel,
_PMGetReverseOrder, _PMGetScale, _PMGetUnadjustedPageRect,
_PMGetUnadjustedPaperRect, _PMInlineWorkflowCopyItems, _PMLaunchProxy,
_PMMonitorOnlineOfflineState, _PMPageFormatComputeAdjustedRects,
_PMPageFormatComputeAdjustedRectsWithPrinter, _PMPageFormatCreateDataRepresentation,
_PMPageFormatCreateWithDataRepresentation, _PMPageFormatGetPrinterID,
_PMPaperAddToUserPrefs, _PMPaperCopyUserPrefs, _PMPaperCreateCustom,
_PMPaperCreateInternal, _PMPaperCreateLocalizedName, _PMPaperCreatePMTicketRef,
_PMPaperGetHeight, _PMPaperGetID, _PMPaperGetMargins, _PMPaperGetPPDPaperName,
_PMPaperGetPrinterID, _PMPaperGetWidth, _PMPaperIsCustom,
_PMPaperRemoveFromUserPrefs, _PMPresetCopyName, _PMPresetCreatePrintSettings,
_PMPresetGetAttributes, _PMPrintSettingsCopyAsDictionary,
_PMPrintSettingsCopyKeys, _PMPrintSettingsCreateDataRepresentation,
_PMPrintSettingsCreateWithDataRepresentation, _PMPrintSettingsGetJobName,
_PMPrintSettingsGetValue, _PMPrintSettingsSetJobName, _PMPrintSettingsSetValue,
_PMPrintSettingsToOptions, _PMPrintSettingsToOptionsWithPrinterAndPageFormat,
_PMPrinterCanDuplex, _PMPrinterCanIdentify, _PMPrinterCanScan,
_PMPrinterChargeInfoURI, _PMPrinterCopyACL, _PMPrinterCopyDefaultUserCredentials,
_PMPrinterCopyDescriptionURL, _PMPrinterCopyDeviceURI, _PMPrinterCopyFinalDeviceURI,
_PMPrinterCopyHostName, _PMPrinterCopyMembers, _PMPrinterCopyPresets,
_PMPrinterCopyRequiredUserCredentials, _PMPrinterCopyScannerUUID,
_PMPrinterCopyScanningApp, _PMPrinterCopyScanningAppPath,
_PMPrinterCopyState, _PMPrinterCopySuppliesURI, _PMPrinterCopyTempPPDURL,
_PMPrinterCreateFromPrinterID, _PMPrinterCreatePaperInfoListForMenuPriv,
_PMPrinterGetCommInfo, _PMPrinterGetConsumables, _PMPrinterGetConsumablesDisclaimer,
_PMPrinterGetCustomPaperSizeHardwareMargins, _PMPrinterGetCustomPaperSizeHardwareSheetSize,
_PMPrinterGetDriverCreator, _PMPrinterGetDriverReleaseInfo,
_PMPrinterGetID, _PMPrinterGetIconData, _PMPrinterGetImage,
_PMPrinterGetIndexedPrinterResolution, _PMPrinterGetLanguageInfo,
_PMPrinterGetLocation, _PMPrinterGetMakeAndModelName, _PMPrinterGetMimeTypes,
_PMPrinterGetName, _PMPrinterGetOutputResolution, _PMPrinterGetPaperList,
_PMPrinterGetPrinterResolutionCount, _PMPrinterGetPrinterValue,
_PMPrinterGetState, _PMPrinterHasCustomPaperSizes, _PMPrinterIdentify,
_PMPrinterIsAirPrint, _PMPrinterIsAllowed, _PMPrinterIsClass,
_PMPrinterIsDefault, _PMPrinterIsDirectConnect, _PMPrinterIsFavorite,
_PMPrinterIsFax, _PMPrinterIsGenericPrinter, _PMPrinterIsLocked,
_PMPrinterIsPostScriptCapable, _PMPrinterIsPostScriptPrinter,
_PMPrinterIsRemote, _PMPrinterIsScanner, _PMPrinterIsShared,
_PMPrinterPrintWithFile, _PMPrinterPrintWithProvider, _PMPrinterRequiresAccountingInformation,
_PMPrinterRequiresUserCredentials, _PMPrinterSendCommand,
_PMPrinterSetACL, _PMPrinterSetConsumables, _PMPrinterSetConsumablesDisclaimer,
_PMPrinterSetConsumablesOptionalText, _PMPrinterSetDefault,
_PMPrinterSetFavorite, _PMPrinterSetLocation, _PMPrinterSetMarkerChangeTime,
_PMPrinterSetModel, _PMPrinterSetName, _PMPrinterSetOutputResolution,
_PMPrinterSetShared, _PMPrinterStartMonitoring, _PMPrinterStopMonitoring,
_PMPrinterSupportsMatchingMode, _PMPrinterUsesTCP, _PMPrinterWritePostScriptToURL,
_PMRelease, _PMRetain, _PMServerCopyJobLog, _PMServerCreateDeviceList,
_PMServerCreatePrinterList, _PMServerLaunchPrinterBrowser,
_PMSessionBeginCGDocumentNoDialog, _PMSessionBeginDocumentNoDialogPrivate,
_PMSessionBeginPageNoDialog, _PMSessionCopyApplicationOutputIntent,
_PMSessionCopyApplicationOutputIntentWithColorSyncProfiles,
_PMSessionCopyCurrentPrinterColorSyncProfile, _PMSessionCopyDefaultOutputIntent,
_PMSessionCopyDefaultOutputIntentWithColorSyncProfiles, _PMSessionCopyDestinationFormat,
_PMSessionCopyDestinationLocation, _PMSessionCopyOutputFormatList,
_PMSessionCreatePageFormatList, _PMSessionCreatePrinterList,
_PMSessionDefaultPageFormat, _PMSessionDefaultPrintSettings,
_PMSessionDisablePrinterPresetsPrivate, _PMSessionEnablePrinterPresetsPrivate,
_PMSessionEndDocumentNoDialog, _PMSessionEndPageNoDialog,
_PMSessionError, _PMSessionGetCGGraphicsContext, _PMSessionGetColorMatchingMode,
_PMSessionGetColorMatchingModeLock, _PMSessionGetCurrentPrinter,
_PMSessionGetDataFromSession, _PMSessionGetDestinationType,
_PMSessionGetDocumentTags, _PMSessionGetGenericPrinter, _PMSessionGetHideFileExtension,
_PMSessionSetApplicationOutputIntent, _PMSessionSetApplicationOutputIntentWithColorSyncProfiles,
_PMSessionSetColorMatchingMode, _PMSessionSetColorMatchingModeLock,
_PMSessionSetColorMatchingModeNoLock, _PMSessionSetCurrentPMPrinter,
_PMSessionSetDataInSession, _PMSessionSetDestination, _PMSessionSetDocumentTags,
_PMSessionSetError, _PMSessionSetHideFileExtension, _PMSessionValidatePageFormat,
_PMSessionValidatePrintSettings, _PMSetCollate, _PMSetCopies,
_PMSetDuplex, _PMSetFirstPage, _PMSetLastPage, _PMSetOrientation,
_PMSetPageFormatExtendedData, _PMSetPageRange, _PMSetReverseOrder,
_PMSetScale, _PMSetUserDefaultPaperSize, _PMTicketConfirmTicket,
_PMTicketContainsItem, _PMTicketCopy, _PMTicketCopyKeys, _PMTicketCreate,
_PMTicketCreateDict, _PMTicketCreateMutableDict, _PMTicketDeleteItem,
_PMTicketGetAllocator, _PMTicketGetBoolean, _PMTicketGetBytes,
_PMTicketGetCFArray, _PMTicketGetCFBoolean, _PMTicketGetCFData,
_PMTicketGetCFString, _PMTicketGetDouble, _PMTicketGetItem,
_PMTicketGetPMRect, _PMTicketGetSInt32, _PMTicketGetThisBoolean,
_PMTicketGetThisCString, _PMTicketGetThisItem, _PMTicketGetThisPMRect,
_PMTicketGetThisSInt32, _PMTicketGetThisTypedItem, _PMTicketGetTicket,
_PMTicketGetType, _PMTicketGetUInt32, _PMTicketGetUTF8String,
_PMTicketRelease, _PMTicketReleaseAndClear, _PMTicketReleaseItem,
_PMTicketRemoveTicket, _PMTicketRetain, _PMTicketSetBoolean,
_PMTicketSetBytes, _PMTicketSetCFBoolean, _PMTicketSetCFData,
_PMTicketSetCFString, _PMTicketSetCString, _PMTicketSetDouble,
_PMTicketSetItem, _PMTicketSetPMRect, _PMTicketSetSInt32,
_PMTicketSetTicket, _PMTicketSetUInt32, _PMTicketToLightXML,
_PMTicketToXML, _PMUpdateProxy, _PMWorkflowCopyItems, _PMWorkflowSubmitPDFWithOptions,
_PMWorkflowSubmitPDFWithSettings, _PMXMLToTicket, __PMLog,
__PMLogPerf, __ZN12PMBaseObject14SetAppReadOnlyEh, __ZN12PMBaseObject15CopyObjectStateEPS_,
__ZN12PMBaseObject16CreateEmptyArrayEv, __ZN12PMBaseObject21SetUsingRemoteObjectsEh,
__ZN14OpaquePMPresetC1EPK14__CFDictionary, __ZN14OpaquePMPresetC2EPK14__CFDictionary,
__ZN15OpaquePMPrinter14GetPrinterNameEv, __ZN15OpaquePMPrinter14IsQueueStoppedEv,
__ZN15OpaquePMPrinter16IsGenericPrinterEv, __ZN15OpaquePMPrinter19GetPaperListForMenuEv,
__ZN15OpaquePMPrinter19SetPaperListForMenuEPK9__CFArray, __ZN15OpaquePMPrinter22IsPrinterDirectConnectEv,
__ZN18OpaquePMPageFormat21PJCValidPageFormatKeyEPS_, __ZN18PMTicketBaseObject12GetTicketRefEv,
__ZN18PMTicketBaseObject12SetTicketRefEP17OpaquePMTicketRef,
__ZN18PMTicketBaseObject23ReleaseAndReplaceTicketEP17OpaquePMTicketRef,
__ZN20OpaquePMPrintSession10ClearErrorEv, __ZN20OpaquePMPrintSession10SetPreviewEhj,
__ZN20OpaquePMPrintSession12GetJobTicketEv, __ZN20OpaquePMPrintSession16GetXPCConnectionEv,
__ZN20OpaquePMPrintSession16SetXPCConnectionEPU24objcproto13OS_xpc_object8NSObject,
__ZN20OpaquePMPrintSession17GetCurrentPrinterEv, __ZN20OpaquePMPrintSession17SetCurrentPrinterEP15OpaquePMPrinter,
__ZN20OpaquePMPrintSession17SetCurrentPrinterEP15OpaquePMPrinterh,
__ZN20OpaquePMPrintSession19SetDataInDictionaryEPK10__CFStringPKv,
__ZN20OpaquePMPrintSession21GetEnablePresetsPopUpEv, __ZN20OpaquePMPrintSession21GetPresetGraphicsTypeEv,
__ZN20OpaquePMPrintSession21SetPresetGraphicsTypeEPK10__CFString,
__ZN20OpaquePMPrintSession23PJCValidPrintSessionKeyEPS_, __ZN20OpaquePMPrintSession24GetDefaultButtonTitleRefEv,
__ZN20OpaquePMPrintSession7PreviewEv, __ZN20OpaquePMPrintSession8GetErrorEv,
__ZN20OpaquePMPrintSession8GetStateEv, __ZN20OpaquePMPrintSession8SetErrorEi,
__ZN21OpaquePMPrintSettings14PJCGetLastPageEPj, __ZN21OpaquePMPrintSettings14PJCSetLastPageEP17OpaquePMTicketRefjhh,
__ZN21OpaquePMPrintSettings14PJCSetLastPageEjhh, __ZN21OpaquePMPrintSettings15PJCGetFirstPageEPj,
__ZN21OpaquePMPrintSettings17PJCGetDestinationEPtPPK7__CFURL,
__ZN21OpaquePMPrintSettings17PJCSetDestinationEtPK7__CFURL,
__ZN21OpaquePMPrintSettings24PJCValidPrintSettingsKeyEPS_,
_getCurrentMonochromeProfileID, _getMatchedMediaNameFromPrinter,
_getMediaNameFromPaperInfo, _getPDFSpoolingFunctionCallbacks,
_parsePostScriptStatus, _printUIToolCreateConnection, _printUIToolGetAuthenticationInfo,
_printUIToolPrintFD ]
objc-classes: [ PMInkChecker ]
objc-ivars: [ PMInkChecker._consumables, PMInkChecker._printer, PMInkChecker._supplies ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: A1BDAC15-0CBD-34C1-9062-F216847870FD
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 0CAC6072-49F0-3C8A-B2C7-E70ABF66C7DD
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ '$ld$hide$os10.10$_AddPt', '$ld$hide$os10.10$_ClipCGContextToRegion',
'$ld$hide$os10.10$_ConvertARGBToRGBA', '$ld$hide$os10.10$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.10$_DisposeCalcColorTableUPP', '$ld$hide$os10.10$_DisposeColorComplementUPP',
'$ld$hide$os10.10$_DisposeColorSearchUPP', '$ld$hide$os10.10$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.10$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.10$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.10$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.10$_DisposeDMNotificationUPP',
'$ld$hide$os10.10$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.10$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.10$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.10$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.10$_DisposeInitPickMethodUPP', '$ld$hide$os10.10$_DisposePixMap',
'$ld$hide$os10.10$_DisposeQDArcUPP', '$ld$hide$os10.10$_DisposeQDBitsUPP',
'$ld$hide$os10.10$_DisposeQDCommentUPP', '$ld$hide$os10.10$_DisposeQDGetPicUPP',
'$ld$hide$os10.10$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.10$_DisposeQDLineUPP',
'$ld$hide$os10.10$_DisposeQDOpcodeUPP', '$ld$hide$os10.10$_DisposeQDOvalUPP',
'$ld$hide$os10.10$_DisposeQDPolyUPP', '$ld$hide$os10.10$_DisposeQDPutPicUPP',
'$ld$hide$os10.10$_DisposeQDRRectUPP', '$ld$hide$os10.10$_DisposeQDRectUPP',
'$ld$hide$os10.10$_DisposeQDRgnUPP', '$ld$hide$os10.10$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.10$_DisposeQDTextUPP', '$ld$hide$os10.10$_DisposeQDTxMeasUPP',
'$ld$hide$os10.10$_DisposeRGBA32ImageData', '$ld$hide$os10.10$_DisposeRecordColorsUPP',
'$ld$hide$os10.10$_DisposeRegionToRectsUPP', '$ld$hide$os10.10$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.10$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.10$_GetCTSeed', '$ld$hide$os10.10$_GetPMBaseAddr',
'$ld$hide$os10.10$_GetPMRowBytes', '$ld$hide$os10.10$_GetPixBaseAddr',
'$ld$hide$os10.10$_HandleToRgn', '$ld$hide$os10.10$_InvokeCalcColorTableUPP',
'$ld$hide$os10.10$_InvokeColorComplementUPP', '$ld$hide$os10.10$_InvokeColorSearchUPP',
'$ld$hide$os10.10$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.10$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.10$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.10$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.10$_InvokeDMNotificationUPP', '$ld$hide$os10.10$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.10$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.10$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.10$_InvokeDragGrayRgnUPP', '$ld$hide$os10.10$_InvokeInitPickMethodUPP',
'$ld$hide$os10.10$_InvokeQDArcUPP', '$ld$hide$os10.10$_InvokeQDBitsUPP',
'$ld$hide$os10.10$_InvokeQDCommentUPP', '$ld$hide$os10.10$_InvokeQDGetPicUPP',
'$ld$hide$os10.10$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.10$_InvokeQDLineUPP',
'$ld$hide$os10.10$_InvokeQDOpcodeUPP', '$ld$hide$os10.10$_InvokeQDOvalUPP',
'$ld$hide$os10.10$_InvokeQDPolyUPP', '$ld$hide$os10.10$_InvokeQDPutPicUPP',
'$ld$hide$os10.10$_InvokeQDRRectUPP', '$ld$hide$os10.10$_InvokeQDRectUPP',
'$ld$hide$os10.10$_InvokeQDRgnUPP', '$ld$hide$os10.10$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.10$_InvokeQDTextUPP', '$ld$hide$os10.10$_InvokeQDTxMeasUPP',
'$ld$hide$os10.10$_InvokeRecordColorsUPP', '$ld$hide$os10.10$_InvokeRegionToRectsUPP',
'$ld$hide$os10.10$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.10$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.10$_IsValidRgnHandle', '$ld$hide$os10.10$_LMGetFontFlag',
'$ld$hide$os10.10$_LMSetFontFlag', '$ld$hide$os10.10$_MapPt',
'$ld$hide$os10.10$_MapRect', '$ld$hide$os10.10$_MapRgn', '$ld$hide$os10.10$_NewCalcColorTableUPP',
'$ld$hide$os10.10$_NewColorComplementUPP', '$ld$hide$os10.10$_NewColorSearchUPP',
'$ld$hide$os10.10$_NewDMComponentListIteratorUPP', '$ld$hide$os10.10$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.10$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.10$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.10$_NewDMNotificationUPP', '$ld$hide$os10.10$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.10$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.10$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.10$_NewDragGrayRgnUPP', '$ld$hide$os10.10$_NewInitPickMethodUPP',
'$ld$hide$os10.10$_NewQDArcUPP', '$ld$hide$os10.10$_NewQDBitsUPP',
'$ld$hide$os10.10$_NewQDCommentUPP', '$ld$hide$os10.10$_NewQDGetPicUPP',
'$ld$hide$os10.10$_NewQDJShieldCursorUPP', '$ld$hide$os10.10$_NewQDLineUPP',
'$ld$hide$os10.10$_NewQDOpcodeUPP', '$ld$hide$os10.10$_NewQDOvalUPP',
'$ld$hide$os10.10$_NewQDPolyUPP', '$ld$hide$os10.10$_NewQDPutPicUPP',
'$ld$hide$os10.10$_NewQDRRectUPP', '$ld$hide$os10.10$_NewQDRectUPP',
'$ld$hide$os10.10$_NewQDRgnUPP', '$ld$hide$os10.10$_NewQDStdGlyphsUPP',
'$ld$hide$os10.10$_NewQDTextUPP', '$ld$hide$os10.10$_NewQDTxMeasUPP',
'$ld$hide$os10.10$_NewRecordColorsUPP', '$ld$hide$os10.10$_NewRegionToRectsUPP',
'$ld$hide$os10.10$_NewStyleRunDirectionUPP', '$ld$hide$os10.10$_Pt2Rect',
'$ld$hide$os10.10$_PtToAngle', '$ld$hide$os10.10$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.10$_QDAssureNativeRegionFormat', '$ld$hide$os10.10$_QDAssureNewRegionFormat',
'$ld$hide$os10.10$_QDDebugDumpRegion', '$ld$hide$os10.10$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.10$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.10$_RgnToHandle',
'$ld$hide$os10.10$_ScalePt', '$ld$hide$os10.10$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.10$_SetEmptyRect', '$ld$hide$os10.10$_ShieldCursor',
'$ld$hide$os10.10$_SlopeFromAngle', '$ld$hide$os10.10$_XorRgn',
'$ld$hide$os10.11$_AddPt', '$ld$hide$os10.11$_ClipCGContextToRegion',
'$ld$hide$os10.11$_ConvertARGBToRGBA', '$ld$hide$os10.11$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.11$_DisposeCalcColorTableUPP', '$ld$hide$os10.11$_DisposeColorComplementUPP',
'$ld$hide$os10.11$_DisposeColorSearchUPP', '$ld$hide$os10.11$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.11$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.11$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.11$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.11$_DisposeDMNotificationUPP',
'$ld$hide$os10.11$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.11$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.11$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.11$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.11$_DisposeInitPickMethodUPP', '$ld$hide$os10.11$_DisposePixMap',
'$ld$hide$os10.11$_DisposeQDArcUPP', '$ld$hide$os10.11$_DisposeQDBitsUPP',
'$ld$hide$os10.11$_DisposeQDCommentUPP', '$ld$hide$os10.11$_DisposeQDGetPicUPP',
'$ld$hide$os10.11$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.11$_DisposeQDLineUPP',
'$ld$hide$os10.11$_DisposeQDOpcodeUPP', '$ld$hide$os10.11$_DisposeQDOvalUPP',
'$ld$hide$os10.11$_DisposeQDPolyUPP', '$ld$hide$os10.11$_DisposeQDPutPicUPP',
'$ld$hide$os10.11$_DisposeQDRRectUPP', '$ld$hide$os10.11$_DisposeQDRectUPP',
'$ld$hide$os10.11$_DisposeQDRgnUPP', '$ld$hide$os10.11$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.11$_DisposeQDTextUPP', '$ld$hide$os10.11$_DisposeQDTxMeasUPP',
'$ld$hide$os10.11$_DisposeRGBA32ImageData', '$ld$hide$os10.11$_DisposeRecordColorsUPP',
'$ld$hide$os10.11$_DisposeRegionToRectsUPP', '$ld$hide$os10.11$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.11$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.11$_GetCTSeed', '$ld$hide$os10.11$_GetPMBaseAddr',
'$ld$hide$os10.11$_GetPMRowBytes', '$ld$hide$os10.11$_GetPixBaseAddr',
'$ld$hide$os10.11$_HandleToRgn', '$ld$hide$os10.11$_InvokeCalcColorTableUPP',
'$ld$hide$os10.11$_InvokeColorComplementUPP', '$ld$hide$os10.11$_InvokeColorSearchUPP',
'$ld$hide$os10.11$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.11$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.11$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.11$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.11$_InvokeDMNotificationUPP', '$ld$hide$os10.11$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.11$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.11$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.11$_InvokeDragGrayRgnUPP', '$ld$hide$os10.11$_InvokeInitPickMethodUPP',
'$ld$hide$os10.11$_InvokeQDArcUPP', '$ld$hide$os10.11$_InvokeQDBitsUPP',
'$ld$hide$os10.11$_InvokeQDCommentUPP', '$ld$hide$os10.11$_InvokeQDGetPicUPP',
'$ld$hide$os10.11$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.11$_InvokeQDLineUPP',
'$ld$hide$os10.11$_InvokeQDOpcodeUPP', '$ld$hide$os10.11$_InvokeQDOvalUPP',
'$ld$hide$os10.11$_InvokeQDPolyUPP', '$ld$hide$os10.11$_InvokeQDPutPicUPP',
'$ld$hide$os10.11$_InvokeQDRRectUPP', '$ld$hide$os10.11$_InvokeQDRectUPP',
'$ld$hide$os10.11$_InvokeQDRgnUPP', '$ld$hide$os10.11$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.11$_InvokeQDTextUPP', '$ld$hide$os10.11$_InvokeQDTxMeasUPP',
'$ld$hide$os10.11$_InvokeRecordColorsUPP', '$ld$hide$os10.11$_InvokeRegionToRectsUPP',
'$ld$hide$os10.11$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.11$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.11$_IsValidRgnHandle', '$ld$hide$os10.11$_LMGetFontFlag',
'$ld$hide$os10.11$_LMSetFontFlag', '$ld$hide$os10.11$_MapPt',
'$ld$hide$os10.11$_MapRect', '$ld$hide$os10.11$_MapRgn', '$ld$hide$os10.11$_NewCalcColorTableUPP',
'$ld$hide$os10.11$_NewColorComplementUPP', '$ld$hide$os10.11$_NewColorSearchUPP',
'$ld$hide$os10.11$_NewDMComponentListIteratorUPP', '$ld$hide$os10.11$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.11$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.11$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.11$_NewDMNotificationUPP', '$ld$hide$os10.11$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.11$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.11$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.11$_NewDragGrayRgnUPP', '$ld$hide$os10.11$_NewInitPickMethodUPP',
'$ld$hide$os10.11$_NewQDArcUPP', '$ld$hide$os10.11$_NewQDBitsUPP',
'$ld$hide$os10.11$_NewQDCommentUPP', '$ld$hide$os10.11$_NewQDGetPicUPP',
'$ld$hide$os10.11$_NewQDJShieldCursorUPP', '$ld$hide$os10.11$_NewQDLineUPP',
'$ld$hide$os10.11$_NewQDOpcodeUPP', '$ld$hide$os10.11$_NewQDOvalUPP',
'$ld$hide$os10.11$_NewQDPolyUPP', '$ld$hide$os10.11$_NewQDPutPicUPP',
'$ld$hide$os10.11$_NewQDRRectUPP', '$ld$hide$os10.11$_NewQDRectUPP',
'$ld$hide$os10.11$_NewQDRgnUPP', '$ld$hide$os10.11$_NewQDStdGlyphsUPP',
'$ld$hide$os10.11$_NewQDTextUPP', '$ld$hide$os10.11$_NewQDTxMeasUPP',
'$ld$hide$os10.11$_NewRecordColorsUPP', '$ld$hide$os10.11$_NewRegionToRectsUPP',
'$ld$hide$os10.11$_NewStyleRunDirectionUPP', '$ld$hide$os10.11$_Pt2Rect',
'$ld$hide$os10.11$_PtToAngle', '$ld$hide$os10.11$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.11$_QDAssureNativeRegionFormat', '$ld$hide$os10.11$_QDAssureNewRegionFormat',
'$ld$hide$os10.11$_QDDebugDumpRegion', '$ld$hide$os10.11$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.11$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.11$_RgnToHandle',
'$ld$hide$os10.11$_ScalePt', '$ld$hide$os10.11$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.11$_SetEmptyRect', '$ld$hide$os10.11$_ShieldCursor',
'$ld$hide$os10.11$_SlopeFromAngle', '$ld$hide$os10.11$_XorRgn',
'$ld$hide$os10.12$_AddPt', '$ld$hide$os10.12$_ClipCGContextToRegion',
'$ld$hide$os10.12$_ConvertARGBToRGBA', '$ld$hide$os10.12$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.12$_DisposeCalcColorTableUPP', '$ld$hide$os10.12$_DisposeColorComplementUPP',
'$ld$hide$os10.12$_DisposeColorSearchUPP', '$ld$hide$os10.12$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.12$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.12$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.12$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.12$_DisposeDMNotificationUPP',
'$ld$hide$os10.12$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.12$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.12$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.12$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.12$_DisposeInitPickMethodUPP', '$ld$hide$os10.12$_DisposePixMap',
'$ld$hide$os10.12$_DisposeQDArcUPP', '$ld$hide$os10.12$_DisposeQDBitsUPP',
'$ld$hide$os10.12$_DisposeQDCommentUPP', '$ld$hide$os10.12$_DisposeQDGetPicUPP',
'$ld$hide$os10.12$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.12$_DisposeQDLineUPP',
'$ld$hide$os10.12$_DisposeQDOpcodeUPP', '$ld$hide$os10.12$_DisposeQDOvalUPP',
'$ld$hide$os10.12$_DisposeQDPolyUPP', '$ld$hide$os10.12$_DisposeQDPutPicUPP',
'$ld$hide$os10.12$_DisposeQDRRectUPP', '$ld$hide$os10.12$_DisposeQDRectUPP',
'$ld$hide$os10.12$_DisposeQDRgnUPP', '$ld$hide$os10.12$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.12$_DisposeQDTextUPP', '$ld$hide$os10.12$_DisposeQDTxMeasUPP',
'$ld$hide$os10.12$_DisposeRGBA32ImageData', '$ld$hide$os10.12$_DisposeRecordColorsUPP',
'$ld$hide$os10.12$_DisposeRegionToRectsUPP', '$ld$hide$os10.12$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.12$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.12$_GetCTSeed', '$ld$hide$os10.12$_GetPMBaseAddr',
'$ld$hide$os10.12$_GetPMRowBytes', '$ld$hide$os10.12$_GetPixBaseAddr',
'$ld$hide$os10.12$_HandleToRgn', '$ld$hide$os10.12$_InvokeCalcColorTableUPP',
'$ld$hide$os10.12$_InvokeColorComplementUPP', '$ld$hide$os10.12$_InvokeColorSearchUPP',
'$ld$hide$os10.12$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.12$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.12$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.12$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.12$_InvokeDMNotificationUPP', '$ld$hide$os10.12$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.12$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.12$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.12$_InvokeDragGrayRgnUPP', '$ld$hide$os10.12$_InvokeInitPickMethodUPP',
'$ld$hide$os10.12$_InvokeQDArcUPP', '$ld$hide$os10.12$_InvokeQDBitsUPP',
'$ld$hide$os10.12$_InvokeQDCommentUPP', '$ld$hide$os10.12$_InvokeQDGetPicUPP',
'$ld$hide$os10.12$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.12$_InvokeQDLineUPP',
'$ld$hide$os10.12$_InvokeQDOpcodeUPP', '$ld$hide$os10.12$_InvokeQDOvalUPP',
'$ld$hide$os10.12$_InvokeQDPolyUPP', '$ld$hide$os10.12$_InvokeQDPutPicUPP',
'$ld$hide$os10.12$_InvokeQDRRectUPP', '$ld$hide$os10.12$_InvokeQDRectUPP',
'$ld$hide$os10.12$_InvokeQDRgnUPP', '$ld$hide$os10.12$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.12$_InvokeQDTextUPP', '$ld$hide$os10.12$_InvokeQDTxMeasUPP',
'$ld$hide$os10.12$_InvokeRecordColorsUPP', '$ld$hide$os10.12$_InvokeRegionToRectsUPP',
'$ld$hide$os10.12$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.12$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.12$_IsValidRgnHandle', '$ld$hide$os10.12$_LMGetFontFlag',
'$ld$hide$os10.12$_LMSetFontFlag', '$ld$hide$os10.12$_MapPt',
'$ld$hide$os10.12$_MapRect', '$ld$hide$os10.12$_MapRgn', '$ld$hide$os10.12$_NewCalcColorTableUPP',
'$ld$hide$os10.12$_NewColorComplementUPP', '$ld$hide$os10.12$_NewColorSearchUPP',
'$ld$hide$os10.12$_NewDMComponentListIteratorUPP', '$ld$hide$os10.12$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.12$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.12$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.12$_NewDMNotificationUPP', '$ld$hide$os10.12$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.12$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.12$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.12$_NewDragGrayRgnUPP', '$ld$hide$os10.12$_NewInitPickMethodUPP',
'$ld$hide$os10.12$_NewQDArcUPP', '$ld$hide$os10.12$_NewQDBitsUPP',
'$ld$hide$os10.12$_NewQDCommentUPP', '$ld$hide$os10.12$_NewQDGetPicUPP',
'$ld$hide$os10.12$_NewQDJShieldCursorUPP', '$ld$hide$os10.12$_NewQDLineUPP',
'$ld$hide$os10.12$_NewQDOpcodeUPP', '$ld$hide$os10.12$_NewQDOvalUPP',
'$ld$hide$os10.12$_NewQDPolyUPP', '$ld$hide$os10.12$_NewQDPutPicUPP',
'$ld$hide$os10.12$_NewQDRRectUPP', '$ld$hide$os10.12$_NewQDRectUPP',
'$ld$hide$os10.12$_NewQDRgnUPP', '$ld$hide$os10.12$_NewQDStdGlyphsUPP',
'$ld$hide$os10.12$_NewQDTextUPP', '$ld$hide$os10.12$_NewQDTxMeasUPP',
'$ld$hide$os10.12$_NewRecordColorsUPP', '$ld$hide$os10.12$_NewRegionToRectsUPP',
'$ld$hide$os10.12$_NewStyleRunDirectionUPP', '$ld$hide$os10.12$_Pt2Rect',
'$ld$hide$os10.12$_PtToAngle', '$ld$hide$os10.12$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.12$_QDAssureNativeRegionFormat', '$ld$hide$os10.12$_QDAssureNewRegionFormat',
'$ld$hide$os10.12$_QDDebugDumpRegion', '$ld$hide$os10.12$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.12$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.12$_RgnToHandle',
'$ld$hide$os10.12$_ScalePt', '$ld$hide$os10.12$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.12$_SetEmptyRect', '$ld$hide$os10.12$_ShieldCursor',
'$ld$hide$os10.12$_SlopeFromAngle', '$ld$hide$os10.12$_XorRgn',
'$ld$hide$os10.13$_AddPt', '$ld$hide$os10.13$_ClipCGContextToRegion',
'$ld$hide$os10.13$_ConvertARGBToRGBA', '$ld$hide$os10.13$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.13$_DisposeCalcColorTableUPP', '$ld$hide$os10.13$_DisposeColorComplementUPP',
'$ld$hide$os10.13$_DisposeColorSearchUPP', '$ld$hide$os10.13$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.13$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.13$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.13$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.13$_DisposeDMNotificationUPP',
'$ld$hide$os10.13$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.13$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.13$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.13$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.13$_DisposeInitPickMethodUPP', '$ld$hide$os10.13$_DisposePixMap',
'$ld$hide$os10.13$_DisposeQDArcUPP', '$ld$hide$os10.13$_DisposeQDBitsUPP',
'$ld$hide$os10.13$_DisposeQDCommentUPP', '$ld$hide$os10.13$_DisposeQDGetPicUPP',
'$ld$hide$os10.13$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.13$_DisposeQDLineUPP',
'$ld$hide$os10.13$_DisposeQDOpcodeUPP', '$ld$hide$os10.13$_DisposeQDOvalUPP',
'$ld$hide$os10.13$_DisposeQDPolyUPP', '$ld$hide$os10.13$_DisposeQDPutPicUPP',
'$ld$hide$os10.13$_DisposeQDRRectUPP', '$ld$hide$os10.13$_DisposeQDRectUPP',
'$ld$hide$os10.13$_DisposeQDRgnUPP', '$ld$hide$os10.13$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.13$_DisposeQDTextUPP', '$ld$hide$os10.13$_DisposeQDTxMeasUPP',
'$ld$hide$os10.13$_DisposeRGBA32ImageData', '$ld$hide$os10.13$_DisposeRecordColorsUPP',
'$ld$hide$os10.13$_DisposeRegionToRectsUPP', '$ld$hide$os10.13$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.13$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.13$_GetCTSeed', '$ld$hide$os10.13$_GetPMBaseAddr',
'$ld$hide$os10.13$_GetPMRowBytes', '$ld$hide$os10.13$_GetPixBaseAddr',
'$ld$hide$os10.13$_HandleToRgn', '$ld$hide$os10.13$_InvokeCalcColorTableUPP',
'$ld$hide$os10.13$_InvokeColorComplementUPP', '$ld$hide$os10.13$_InvokeColorSearchUPP',
'$ld$hide$os10.13$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.13$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.13$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.13$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.13$_InvokeDMNotificationUPP', '$ld$hide$os10.13$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.13$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.13$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.13$_InvokeDragGrayRgnUPP', '$ld$hide$os10.13$_InvokeInitPickMethodUPP',
'$ld$hide$os10.13$_InvokeQDArcUPP', '$ld$hide$os10.13$_InvokeQDBitsUPP',
'$ld$hide$os10.13$_InvokeQDCommentUPP', '$ld$hide$os10.13$_InvokeQDGetPicUPP',
'$ld$hide$os10.13$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.13$_InvokeQDLineUPP',
'$ld$hide$os10.13$_InvokeQDOpcodeUPP', '$ld$hide$os10.13$_InvokeQDOvalUPP',
'$ld$hide$os10.13$_InvokeQDPolyUPP', '$ld$hide$os10.13$_InvokeQDPutPicUPP',
'$ld$hide$os10.13$_InvokeQDRRectUPP', '$ld$hide$os10.13$_InvokeQDRectUPP',
'$ld$hide$os10.13$_InvokeQDRgnUPP', '$ld$hide$os10.13$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.13$_InvokeQDTextUPP', '$ld$hide$os10.13$_InvokeQDTxMeasUPP',
'$ld$hide$os10.13$_InvokeRecordColorsUPP', '$ld$hide$os10.13$_InvokeRegionToRectsUPP',
'$ld$hide$os10.13$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.13$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.13$_IsValidRgnHandle', '$ld$hide$os10.13$_LMGetFontFlag',
'$ld$hide$os10.13$_LMSetFontFlag', '$ld$hide$os10.13$_MapPt',
'$ld$hide$os10.13$_MapRect', '$ld$hide$os10.13$_MapRgn', '$ld$hide$os10.13$_NewCalcColorTableUPP',
'$ld$hide$os10.13$_NewColorComplementUPP', '$ld$hide$os10.13$_NewColorSearchUPP',
'$ld$hide$os10.13$_NewDMComponentListIteratorUPP', '$ld$hide$os10.13$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.13$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.13$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.13$_NewDMNotificationUPP', '$ld$hide$os10.13$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.13$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.13$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.13$_NewDragGrayRgnUPP', '$ld$hide$os10.13$_NewInitPickMethodUPP',
'$ld$hide$os10.13$_NewQDArcUPP', '$ld$hide$os10.13$_NewQDBitsUPP',
'$ld$hide$os10.13$_NewQDCommentUPP', '$ld$hide$os10.13$_NewQDGetPicUPP',
'$ld$hide$os10.13$_NewQDJShieldCursorUPP', '$ld$hide$os10.13$_NewQDLineUPP',
'$ld$hide$os10.13$_NewQDOpcodeUPP', '$ld$hide$os10.13$_NewQDOvalUPP',
'$ld$hide$os10.13$_NewQDPolyUPP', '$ld$hide$os10.13$_NewQDPutPicUPP',
'$ld$hide$os10.13$_NewQDRRectUPP', '$ld$hide$os10.13$_NewQDRectUPP',
'$ld$hide$os10.13$_NewQDRgnUPP', '$ld$hide$os10.13$_NewQDStdGlyphsUPP',
'$ld$hide$os10.13$_NewQDTextUPP', '$ld$hide$os10.13$_NewQDTxMeasUPP',
'$ld$hide$os10.13$_NewRecordColorsUPP', '$ld$hide$os10.13$_NewRegionToRectsUPP',
'$ld$hide$os10.13$_NewStyleRunDirectionUPP', '$ld$hide$os10.13$_Pt2Rect',
'$ld$hide$os10.13$_PtToAngle', '$ld$hide$os10.13$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.13$_QDAssureNativeRegionFormat', '$ld$hide$os10.13$_QDAssureNewRegionFormat',
'$ld$hide$os10.13$_QDDebugDumpRegion', '$ld$hide$os10.13$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.13$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.13$_RgnToHandle',
'$ld$hide$os10.13$_ScalePt', '$ld$hide$os10.13$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.13$_SetEmptyRect', '$ld$hide$os10.13$_ShieldCursor',
'$ld$hide$os10.13$_SlopeFromAngle', '$ld$hide$os10.13$_XorRgn',
'$ld$hide$os10.9$_AddPt', '$ld$hide$os10.9$_ClipCGContextToRegion',
'$ld$hide$os10.9$_ConvertARGBToRGBA', '$ld$hide$os10.9$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.9$_DisposeCalcColorTableUPP', '$ld$hide$os10.9$_DisposeColorComplementUPP',
'$ld$hide$os10.9$_DisposeColorSearchUPP', '$ld$hide$os10.9$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.9$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.9$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.9$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.9$_DisposeDMNotificationUPP',
'$ld$hide$os10.9$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.9$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.9$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.9$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.9$_DisposeInitPickMethodUPP', '$ld$hide$os10.9$_DisposePixMap',
'$ld$hide$os10.9$_DisposeQDArcUPP', '$ld$hide$os10.9$_DisposeQDBitsUPP',
'$ld$hide$os10.9$_DisposeQDCommentUPP', '$ld$hide$os10.9$_DisposeQDGetPicUPP',
'$ld$hide$os10.9$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.9$_DisposeQDLineUPP',
'$ld$hide$os10.9$_DisposeQDOpcodeUPP', '$ld$hide$os10.9$_DisposeQDOvalUPP',
'$ld$hide$os10.9$_DisposeQDPolyUPP', '$ld$hide$os10.9$_DisposeQDPutPicUPP',
'$ld$hide$os10.9$_DisposeQDRRectUPP', '$ld$hide$os10.9$_DisposeQDRectUPP',
'$ld$hide$os10.9$_DisposeQDRgnUPP', '$ld$hide$os10.9$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.9$_DisposeQDTextUPP', '$ld$hide$os10.9$_DisposeQDTxMeasUPP',
'$ld$hide$os10.9$_DisposeRGBA32ImageData', '$ld$hide$os10.9$_DisposeRecordColorsUPP',
'$ld$hide$os10.9$_DisposeRegionToRectsUPP', '$ld$hide$os10.9$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.9$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.9$_GetCTSeed', '$ld$hide$os10.9$_GetPMBaseAddr',
'$ld$hide$os10.9$_GetPMRowBytes', '$ld$hide$os10.9$_GetPixBaseAddr',
'$ld$hide$os10.9$_HandleToRgn', '$ld$hide$os10.9$_InvokeCalcColorTableUPP',
'$ld$hide$os10.9$_InvokeColorComplementUPP', '$ld$hide$os10.9$_InvokeColorSearchUPP',
'$ld$hide$os10.9$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.9$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.9$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.9$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.9$_InvokeDMNotificationUPP', '$ld$hide$os10.9$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.9$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.9$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.9$_InvokeDragGrayRgnUPP', '$ld$hide$os10.9$_InvokeInitPickMethodUPP',
'$ld$hide$os10.9$_InvokeQDArcUPP', '$ld$hide$os10.9$_InvokeQDBitsUPP',
'$ld$hide$os10.9$_InvokeQDCommentUPP', '$ld$hide$os10.9$_InvokeQDGetPicUPP',
'$ld$hide$os10.9$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.9$_InvokeQDLineUPP',
'$ld$hide$os10.9$_InvokeQDOpcodeUPP', '$ld$hide$os10.9$_InvokeQDOvalUPP',
'$ld$hide$os10.9$_InvokeQDPolyUPP', '$ld$hide$os10.9$_InvokeQDPutPicUPP',
'$ld$hide$os10.9$_InvokeQDRRectUPP', '$ld$hide$os10.9$_InvokeQDRectUPP',
'$ld$hide$os10.9$_InvokeQDRgnUPP', '$ld$hide$os10.9$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.9$_InvokeQDTextUPP', '$ld$hide$os10.9$_InvokeQDTxMeasUPP',
'$ld$hide$os10.9$_InvokeRecordColorsUPP', '$ld$hide$os10.9$_InvokeRegionToRectsUPP',
'$ld$hide$os10.9$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.9$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.9$_IsValidRgnHandle', '$ld$hide$os10.9$_LMGetFontFlag',
'$ld$hide$os10.9$_LMSetFontFlag', '$ld$hide$os10.9$_MapPt',
'$ld$hide$os10.9$_MapRect', '$ld$hide$os10.9$_MapRgn', '$ld$hide$os10.9$_NewCalcColorTableUPP',
'$ld$hide$os10.9$_NewColorComplementUPP', '$ld$hide$os10.9$_NewColorSearchUPP',
'$ld$hide$os10.9$_NewDMComponentListIteratorUPP', '$ld$hide$os10.9$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.9$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.9$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.9$_NewDMNotificationUPP', '$ld$hide$os10.9$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.9$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.9$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.9$_NewDragGrayRgnUPP', '$ld$hide$os10.9$_NewInitPickMethodUPP',
'$ld$hide$os10.9$_NewQDArcUPP', '$ld$hide$os10.9$_NewQDBitsUPP',
'$ld$hide$os10.9$_NewQDCommentUPP', '$ld$hide$os10.9$_NewQDGetPicUPP',
'$ld$hide$os10.9$_NewQDJShieldCursorUPP', '$ld$hide$os10.9$_NewQDLineUPP',
'$ld$hide$os10.9$_NewQDOpcodeUPP', '$ld$hide$os10.9$_NewQDOvalUPP',
'$ld$hide$os10.9$_NewQDPolyUPP', '$ld$hide$os10.9$_NewQDPutPicUPP',
'$ld$hide$os10.9$_NewQDRRectUPP', '$ld$hide$os10.9$_NewQDRectUPP',
'$ld$hide$os10.9$_NewQDRgnUPP', '$ld$hide$os10.9$_NewQDStdGlyphsUPP',
'$ld$hide$os10.9$_NewQDTextUPP', '$ld$hide$os10.9$_NewQDTxMeasUPP',
'$ld$hide$os10.9$_NewRecordColorsUPP', '$ld$hide$os10.9$_NewRegionToRectsUPP',
'$ld$hide$os10.9$_NewStyleRunDirectionUPP', '$ld$hide$os10.9$_Pt2Rect',
'$ld$hide$os10.9$_PtToAngle', '$ld$hide$os10.9$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.9$_QDAssureNativeRegionFormat', '$ld$hide$os10.9$_QDAssureNewRegionFormat',
'$ld$hide$os10.9$_QDDebugDumpRegion', '$ld$hide$os10.9$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.9$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.9$_RgnToHandle',
'$ld$hide$os10.9$_ScalePt', '$ld$hide$os10.9$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.9$_SetEmptyRect', '$ld$hide$os10.9$_ShieldCursor',
'$ld$hide$os10.9$_SlopeFromAngle', '$ld$hide$os10.9$_XorRgn',
_AddPt, _AngleFromSlope, _BitMapToRegion, _ClipCGContextToRegion,
_ConvertARGBToRGBA, _CopyRgn, _CreateCGImageRefFromPixMaps,
_CreateRGBA32FromPixMaps, _DiffRgn, _DisposeCalcColorTableUPP,
_DisposeColorComplementUPP, _DisposeColorSearchUPP, _DisposeDMComponentListIteratorUPP,
_DisposeDMDisplayListIteratorUPP, _DisposeDMDisplayModeListIteratorUPP,
_DisposeDMExtendedNotificationUPP, _DisposeDMNotificationUPP,
_DisposeDMProfileListIteratorUPP, _DisposeDeviceLoopDrawingUPP,
_DisposeDisposeColorPickMethodUPP, _DisposeDragGrayRgnUPP,
_DisposeInitPickMethodUPP, _DisposePixMap, _DisposePixPat,
_DisposeQDArcUPP, _DisposeQDBitsUPP, _DisposeQDCommentUPP,
_DisposeQDGetPicUPP, _DisposeQDJShieldCursorUPP, _DisposeQDLineUPP,
_DisposeQDOpcodeUPP, _DisposeQDOvalUPP, _DisposeQDPolyUPP,
_DisposeQDPutPicUPP, _DisposeQDRRectUPP, _DisposeQDRectUPP,
_DisposeQDRgnUPP, _DisposeQDStdGlyphsUPP, _DisposeQDTextUPP,
_DisposeQDTxMeasUPP, _DisposeRGBA32ImageData, _DisposeRecordColorsUPP,
_DisposeRegionToRectsUPP, _DisposeRgn, _DisposeStyleRunDirectionUPP,
_EmptyRect, _EmptyRgn, _EqualPt, _EqualRect, _EqualRgn, _FMFontGetCGFontRefFromFontFamilyInstance,
_FMGetATSFontFamilyRefFromFontFamily, _FMGetATSFontRefFromFont,
_FMGetFontFamilyFromATSFontFamilyRef, _FMGetFontFromATSFontRef,
_GetCGSConnectionID, _GetCTSeed, _GetCTable, _GetPMBaseAddr,
_GetPMRowBytes, _GetPixBaseAddr, _GetRegionBounds, _HandleToRgn,
_HideCursor, _InitCursor, _InsetRect, _InsetRgn, _InvokeCalcColorTableUPP,
_InvokeColorComplementUPP, _InvokeColorSearchUPP, _InvokeDMComponentListIteratorUPP,
_InvokeDMDisplayListIteratorUPP, _InvokeDMDisplayModeListIteratorUPP,
_InvokeDMExtendedNotificationUPP, _InvokeDMNotificationUPP,
_InvokeDMProfileListIteratorUPP, _InvokeDeviceLoopDrawingUPP,
_InvokeDisposeColorPickMethodUPP, _InvokeDragGrayRgnUPP, _InvokeInitPickMethodUPP,
_InvokeQDArcUPP, _InvokeQDBitsUPP, _InvokeQDCommentUPP, _InvokeQDGetPicUPP,
_InvokeQDJShieldCursorUPP, _InvokeQDLineUPP, _InvokeQDOpcodeUPP,
_InvokeQDOvalUPP, _InvokeQDPolyUPP, _InvokeQDPutPicUPP, _InvokeQDRRectUPP,
_InvokeQDRectUPP, _InvokeQDRgnUPP, _InvokeQDStdGlyphsUPP,
_InvokeQDTextUPP, _InvokeQDTxMeasUPP, _InvokeRecordColorsUPP,
_InvokeRegionToRectsUPP, _InvokeStyleRunDirectionUPP, _IsAntiAliasedTextEnabled,
_IsRegionRectangular, _IsValidRgnHandle, _LMGetFontFlag, _LMSetFontFlag,
_MacRegionToNativeRegion, _MapPt, _MapRect, _MapRgn, _NativeRegionToMacRegion,
_NewCalcColorTableUPP, _NewColorComplementUPP, _NewColorSearchUPP,
_NewDMComponentListIteratorUPP, _NewDMDisplayListIteratorUPP,
_NewDMDisplayModeListIteratorUPP, _NewDMExtendedNotificationUPP,
_NewDMNotificationUPP, _NewDMProfileListIteratorUPP, _NewDeviceLoopDrawingUPP,
_NewDisposeColorPickMethodUPP, _NewDragGrayRgnUPP, _NewInitPickMethodUPP,
_NewQDArcUPP, _NewQDBitsUPP, _NewQDCommentUPP, _NewQDGetPicUPP,
_NewQDJShieldCursorUPP, _NewQDLineUPP, _NewQDOpcodeUPP, _NewQDOvalUPP,
_NewQDPolyUPP, _NewQDPutPicUPP, _NewQDRRectUPP, _NewQDRectUPP,
_NewQDRgnUPP, _NewQDStdGlyphsUPP, _NewQDTextUPP, _NewQDTxMeasUPP,
_NewRecordColorsUPP, _NewRegionToRectsUPP, _NewRgn, _NewStyleRunDirectionUPP,
_ObscureCursor, _OffsetRect, _OffsetRgn, _Pt2Rect, _PtInRect,
_PtInRgn, _PtToAngle, _QDAssureCompatibleRegionFormat, _QDAssureNativeRegionFormat,
_QDAssureNewRegionFormat, _QDDebugDumpRegion, _QDGetCGDirectDisplayID,
_QDNewCGPathFromQDRegion, _QDPlatformMacRegionToNativeRegion,
_QDPlatformNativeRegionToMacRegion, _QDRegionToRects, _QDStencilListToRegion,
_QDUnflattenPixPat, _RectInRgn, _RectRgn, _RgnToHandle, _ScalePt,
_SectRect, _SectRgn, _SetAntiAliasedTextEnabled, _SetEmptyRect,
_SetEmptyRgn, _SetPt, _SetRect, _SetRectRgn, _ShieldCursor,
_ShowCursor, _SlopeFromAngle, _SubPt, _UnionRect, _UnionRgn,
_XorRgn ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: 71BCCEAC-2848-3448-948F-6180AEBAB877
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 343FDD13-553F-3B5C-897A-D267C5E33DF3
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _CancelSpokenNotification, _CancelSpokenNotificationForProcess,
_CancelTalkingAlert, _ContinueSpeech, _CopyAvailableIntervals,
_CopyAvailablePhrases, _CopyIdentifierStringForPreferredVoiceInListWithLocale,
_CopyIdentifierStringForPreferredVoiceWithLocale, _CopyIdentifierStringForVoiceSpec,
_CopyPhonemesFromText, _CopySpeechProperty, _CopySpeechSynthesisVoicesForMode,
_CopyTimeAnnouncementsPreferences, _CountVoices, _CreateSpeechLanguageLocale,
_DisposeSpeechChannel, _GetIdentifierStringForPreferredVoiceInListWithLocale,
_GetIdentifierStringForPreferredVoiceWithLocale, _GetIndVoice,
_GetSpeechInfo, _GetSpeechPitch, _GetSpeechRate, _GetVoiceDescription,
_GetVoiceInfo, _MakeVoiceSpec, _MakeVoiceSpecForIdentifierString,
_NewSpeechChannel, _PauseSpeechAt, _RegisterSpokenNotificationForProcess,
_RegisterTalkingAlertWithProperties, _SRSetSecurityFlags,
_SUAddAppPathToLoginStartupList, _SUCopyAXUIElementExceptionsDictionary,
_SUCopyKeyNamesPropertyList, _SUCopyPhraseArrayFromDisk, _SUIsMainBundleUsingEnglishLocalization,
_SUIsProcessUsingEnglishLocalization, _SUPostKeyCodeWithModifiers,
_SURemoveAppPathFromLoginStartupList, _SendMessageToSpeechSynthesisServer,
_SetSpeechInfo, _SetSpeechPitch, _SetSpeechProperty, _SetSpeechRate,
_SetTimeAnnouncementsPreferences, _SpeakBuffer, _SpeakCFString,
_SpeakString, _SpeakText, _SpeechBusy, _SpeechBusySystemWide,
_SpeechDaemonEnvironment, _SpeechDaemonSetLogging, _SpeechDaemonShutdown,
_SpeechManagerVersion, _SpeechSynthesisConsoleLogCFString,
_SpeechSynthesisConsoleLogTextBuffer, _SpeechSynthesisRegisterModuleURL,
_SpeechSynthesisUnregisterModuleURL, _SpokenNotificationsEnabled,
_SpokenNotificationsEnabledForProcess, _StopSpeech, _StopSpeechAt,
_TTSIsSpeakingSelection, _TTSStartSpeakingSelection, _TTSStartSpeakingSelectionWithString,
_TTSStopSpeakingSelection, _TalkingAlertsEnabled, _TextToPhonemes,
_UseDictionary, _UseSpeechDictionary, _kSpeechAudioDuckingEndPadding,
_kSpeechAudioDuckingFadeIn, _kSpeechAudioDuckingFadeOut, _kSpeechAudioDuckingProperty,
_kSpeechAudioDuckingValue, _kSpeechAudioGraphProperty, _kSpeechAudioOutputFormatProperty,
_kSpeechAudioUnitProperty, _kSpeechBlockTemporarilyProperty,
_kSpeechCharacterModeProperty, _kSpeechCommandDelimiterProperty,
_kSpeechCommandPrefix, _kSpeechCommandSuffix, _kSpeechCurrentVoiceProperty,
_kSpeechCustomVoiceProperty, _kSpeechDictionaryAbbreviations,
_kSpeechDictionaryEntryPhonemes, _kSpeechDictionaryEntrySpelling,
_kSpeechDictionaryLocaleIdentifier, _kSpeechDictionaryModificationDate,
_kSpeechDictionaryPronunciations, _kSpeechDiphoneLogProperty,
_kSpeechDiphoneOptionsProperty, _kSpeechDiphoneStatisticsProperty,
_kSpeechErrorCFCallBack, _kSpeechErrorCallBack, _kSpeechErrorCallbackCharacterOffset,
_kSpeechErrorCallbackSpokenString, _kSpeechErrorCount, _kSpeechErrorNewest,
_kSpeechErrorNewestCharacterOffset, _kSpeechErrorOldest, _kSpeechErrorOldestCharacterOffset,
_kSpeechErrorsProperty, _kSpeechInputModeProperty, _kSpeechLatencyCallBack,
_kSpeechModeLiteral, _kSpeechModeNormal, _kSpeechModePhoneme,
_kSpeechModeText, _kSpeechModeTune, _kSpeechNoEndingProsody,
_kSpeechNoSpeechInterrupt, _kSpeechNumberModeProperty, _kSpeechOfflineModeProperty,
_kSpeechOutputChannelMapProperty, _kSpeechOutputToAudioDeviceProperty,
_kSpeechOutputToExtAudioFileProperty, _kSpeechOutputToFileDescriptorProperty,
_kSpeechOutputToFileURLProperty, _kSpeechPhonemeCallBack,
_kSpeechPhonemeInfoExample, _kSpeechPhonemeInfoHiliteEnd,
_kSpeechPhonemeInfoHiliteStart, _kSpeechPhonemeInfoOpcode,
_kSpeechPhonemeInfoSymbol, _kSpeechPhonemeOptionsProperty,
_kSpeechPhonemeSymbolsProperty, _kSpeechPitchBaseProperty,
_kSpeechPitchCoeffProperty, _kSpeechPitchModProperty, _kSpeechPreflightThenPause,
_kSpeechPreloadVoiceMetadataProperty, _kSpeechRateProperty,
_kSpeechRecentSyncProperty, _kSpeechRefConProperty, _kSpeechResetProperty,
_kSpeechSpeechDoneCallBack, _kSpeechStatusNumberOfCharactersLeft,
_kSpeechStatusOutputBusy, _kSpeechStatusOutputPaused, _kSpeechStatusPhonemeCode,
_kSpeechStatusProperty, _kSpeechSyncCallBack, _kSpeechSynthExtensionProperty,
_kSpeechSynthesizerInfoIdentifier, _kSpeechSynthesizerInfoProperty,
_kSpeechSynthesizerInfoVersion, _kSpeechTextDoneCallBack,
_kSpeechVoiceAge, _kSpeechVoiceCreator, _kSpeechVoiceDemoText,
_kSpeechVoiceGender, _kSpeechVoiceGenderFemale, _kSpeechVoiceGenderMale,
_kSpeechVoiceGenderNeuter, _kSpeechVoiceID, _kSpeechVoiceIdentifier,
_kSpeechVoiceIndividuallySpokenCharacters, _kSpeechVoiceLanguage,
_kSpeechVoiceLocaleIdentifier, _kSpeechVoiceLocalizedNames,
_kSpeechVoiceName, _kSpeechVoiceNameRoot, _kSpeechVoiceNumericID,
_kSpeechVoiceSupportedCharacters, _kSpeechVoiceSynthesizerNumericID,
_kSpeechVoiceUnicodeCharBegin, _kSpeechVoiceUnicodeCharEnd,
_kSpeechVoiceVersion, _kSpeechVolumeProperty, _kSpeechWordCFCallBack,
_kSpeechWordCallBack, _kVoiceIndividuallySpokenCharacters,
_kVoiceSupportedCharacters ]
- targets: [ arm64e-macos, arm64-macos ]
symbols: [ _CancelTalkingAlertForPID, _DisposeServerConnection, _DisposeSpeechDoneUPP,
_DisposeSpeechErrorUPP, _DisposeSpeechPhonemeUPP, _DisposeSpeechSyncUPP,
_DisposeSpeechTextDoneUPP, _DisposeSpeechWordUPP, _InitServerConnection,
_InvokeSpeechDoneUPP, _InvokeSpeechErrorUPP, _InvokeSpeechPhonemeUPP,
_InvokeSpeechSyncUPP, _InvokeSpeechTextDoneUPP, _InvokeSpeechWordUPP,
_IsAppAlreadyRunning, _IsValueCArrayOK, _MTUOpenResourceFile,
_MTUReadResourceDataFile, _NewSpeechDoneUPP, _NewSpeechErrorUPP,
_NewSpeechPhonemeUPP, _NewSpeechSyncUPP, _NewSpeechTextDoneUPP,
_NewSpeechWordUPP, _SendMessagePrimitive, _SendMessageToServer,
_StartServerConnection, _TTSIsSpeakingSelection_XPC, _TTSStartSpeakingSelectionWithString_XPC,
_TTSStartSpeakingSelection_XPC, _TTSStopSpeakingSelection_XPC,
__Z16UseDictionaryPtrP19SpeechChannelRecordPKvm, __Z36SetPreferredVoiceIdentifierForLocalePK10__CFLocalePK10__CFString,
__Z37CopyPreferredVoiceIdentifierForLocalePK10__CFLocale,
__ZN13SpeechGlobals11CopyVoiceIDEPK9VoiceSpecPPK10__CFString,
__ZN13SpeechGlobals13CopyVoicePathEPK9VoiceSpecPPK10__CFString,
__ZN13SpeechGlobals13SessionSwitchE19CGSNotificationTypePvjS1_,
__ZN13SpeechGlobals14GetChannelByIdEy, __ZN13SpeechGlobals14SendXPCMessageEPv10SpeechArch,
__ZN13SpeechGlobals15RegisterChannelEP19SpeechChannelHandle,
__ZN13SpeechGlobals15SetSessionStateEb, __ZN13SpeechGlobals15SetupConnectionEPKc,
__ZN13SpeechGlobals15ValidateChannelEP19SpeechChannelHandle,
__ZN13SpeechGlobals16ArchForVoiceSpecEPK9VoiceSpec, __ZN13SpeechGlobals17ConnectionForArchE10SpeechArch,
__ZN13SpeechGlobals17UnregisterChannelEP19SpeechChannelHandle,
__ZN13SpeechGlobals19AddArchForVoiceSpecEPK9VoiceSpec10SpeechArch,
__ZN13SpeechGlobals19CopyVoiceAttributesEPK9VoiceSpecPPK14__CFDictionary,
__ZN13SpeechGlobals20CopyVoiceDescriptionEPK10__CFStringP16VoiceDescription,
__ZN13SpeechGlobals20CopyVoiceDescriptionEPK9VoiceSpecP16VoiceDescriptionb,
__ZN13SpeechGlobals20PerformOnCorrectArchEPK9VoiceSpecU13block_pointerFv10SpeechArchPbE,
__ZN13SpeechGlobals21BuildArchForVoiceSpecEPK9VoiceSpec, __ZN13SpeechGlobals22ArchForVoiceIdentifierEPK10__CFString,
__ZN13SpeechGlobals23MayHaveNonNativeEnginesEv, __ZN13SpeechGlobals25AddArchForVoiceIdentifierEPK10__CFString10SpeechArch,
__ZN13SpeechGlobals27BuildArchForVoiceIdentifierEPK10__CFString,
__ZN13SpeechGlobals32RecomputeMayHaveNonNativeEnginesEv, __ZN13SpeechGlobals8InstanceEv,
__ZN13SpeechGlobals9sInstanceE, __ZN13SpeechGlobalsC1Ev, __ZN13SpeechGlobalsC2Ev,
__ZN14SpeechAPITimer5SetupEv, __ZN18SpeechElapsedTimer11ElapsedTimeEv,
__ZN19SpeechChannelHandle10CopyVoicesEPKv, __ZN19SpeechChannelHandle10InitializeEP9VoiceSpec,
__ZN19SpeechChannelHandle10SetLoggingEii, __ZN19SpeechChannelHandle10SpeechBusyEb,
__ZN19SpeechChannelHandle10StopSpeechExb, __ZN19SpeechChannelHandle11EnvironmentEPPKcS2_,
__ZN19SpeechChannelHandle11FromChannelEP19SpeechChannelRecord,
__ZN19SpeechChannelHandle11PauseSpeechEx, __ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvP9__CFErrorE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvPK10__CFString7CFRangeE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvPPKvPmPiE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvjE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvmtE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvsE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvslE,
__ZN19SpeechChannelHandle11SpeakBufferEPKvmx, __ZN19SpeechChannelHandle12CurrentVoiceEv,
__ZN19SpeechChannelHandle12OutputToFileEP18OpaqueExtAudioFile,
__ZN19SpeechChannelHandle12OutputToFileEPKv, __ZN19SpeechChannelHandle13SpeakCFStringEPK10__CFStringPK14__CFDictionary,
__ZN19SpeechChannelHandle13TrackPropertyEPKcPv, __ZN19SpeechChannelHandle13UseDictionaryEPK14__CFDictionary,
__ZN19SpeechChannelHandle13UseDictionaryEPKvm, __ZN19SpeechChannelHandle14CachedPropertyEPKc,
__ZN19SpeechChannelHandle14ContinueSpeechEv, __ZN19SpeechChannelHandle14HandleCallbackEPvb,
__ZN19SpeechChannelHandle14PrivateChannelEv, __ZN19SpeechChannelHandle14RecoverChannelEv,
__ZN19SpeechChannelHandle14RegisterModuleEPK7__CFURL, __ZN19SpeechChannelHandle14TextToPhonemesEPKvmPPvPl,
__ZN19SpeechChannelHandle15PermitAllVoicesEv, __ZN19SpeechChannelHandle16UnregisterModuleEPK7__CFURL,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringPKv,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringRK13DelimiterInfo,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringRK14SpeechXtndData,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringRK9VoiceSpec,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringb,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringi,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringj,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringx,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP14SpeechXtndData,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP15SpeechErrorInfo,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP16SpeechStatusInfo,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP17SpeechVersionInfo,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP9VoiceSpec,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPPKv,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPPP17PhonemeDescriptor,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPb,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPi,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPj,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPx,
__ZN19SpeechChannelHandle18SetLatencyCallbackEPFvP19SpeechChannelRecordPvjE,
__ZN19SpeechChannelHandle19CopyVoiceAttributesEPK9VoiceSpecPPK14__CFDictionary,
__ZN19SpeechChannelHandle19CopyVoiceBundlePathEPK9VoiceSpecPPK10__CFString,
__ZN19SpeechChannelHandle19OutputToAudioDeviceEPKv, __ZN19SpeechChannelHandle19OutputToAudioDeviceEj,
__ZN19SpeechChannelHandle20CopyPhonemesFromTextEPK10__CFStringPS2_,
__ZN19SpeechChannelHandle20CopyVoiceDescriptionEPK9VoiceSpecP16VoiceDescription,
__ZN19SpeechChannelHandle22OutputToFileDescriptorEPKv, __ZN19SpeechChannelHandle32CopyIdentifierStringForVoiceSpecEPK9VoiceSpec,
__ZN19SpeechChannelHandle32MakeVoiceSpecForIdentifierStringEPK10__CFStringP9VoiceSpec,
__ZN19SpeechChannelHandle37CopyIdentifierStringForPreferredVoiceEPK9__CFArrayPK10__CFLocale,
__ZN19SpeechChannelHandle8ShutdownEv, __ZN19SpeechChannelHandle9SetRefConEPv,
__ZN19SpeechChannelHandleC1Ev, __ZN19SpeechChannelHandleC2Ev,
__ZN19SpeechChannelHandleD1Ev, __ZN19SpeechChannelHandleD2Ev,
__ZltRK9VoiceSpecS1_, _gOurCGSConnectionID, _gServerConnections,
_kSSDKeyAllVoices, _kSSDKeyCallback, _kSSDKeyChannel, _kSSDKeyEnabled,
_kSSDKeyEncoding, _kSSDKeyError, _kSSDKeyFlags, _kSSDKeyLength,
_kSSDKeyLocale, _kSSDKeyMessage, _kSSDKeyMode, _kSSDKeyOffset,
_kSSDKeyPath, _kSSDKeyProperty, _kSSDKeyReply, _kSSDKeySetEnv,
_kSSDKeySystemWide, _kSSDKeyTAAppPID, _kSSDKeyTAEnabled, _kSSDKeyTANotifyType,
_kSSDKeyTARegID, _kSSDKeyTARegProps, _kSSDKeyText, _kSSDKeyTextID,
_kSSDKeyUnsetEnv, _kSSDKeyValue, _kSSDKeyVoiceAttr, _kSSDKeyVoiceDesc,
_kSSDKeyVoiceID, _kSSDKeyVoiceList, _kSSDKeyVoiceSpec, _kSSDKeyWhere,
_kSpeechSynthesizerInfoManufacturer, _kSpeechVoiceGroup, _kSpeechVoiceGroupCompact,
_kSpeechVoiceGroupCustom, _kSpeechVoiceGroupCustomCompact,
_kSpeechVoiceGroupDefault, _kSpeechVoiceRelativeDesirability,
_kVoiceConstantRateOnly, _kVoiceShowInFullListOnly, _sCachedTimeAnnouncementsDictionary ]
objc-classes: [ SpeechSynthesisApps ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h | /*
File: ApplicationServices/ApplicationServices.h
Contains: Master include for ApplicationServices public framework
Copyright: (c) 2000-2012 by Apple Inc. All rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __APPLICATIONSERVICES__
#define __APPLICATIONSERVICES__
#ifndef __AVAILABILITY__
#include <Availability.h>
#endif
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#ifndef __ATS__
#include <ATS/ATS.h>
#endif
#ifndef __COLORSYNC__
#include <ColorSync/ColorSync.h>
#endif
#ifndef __COREGRAPHICS__
#include <CoreGraphics/CoreGraphics.h>
#endif
#ifndef __CORETEXT__
#include <CoreText/CoreText.h>
#endif
#ifndef __HISERVICES__
#include <HIServices/HIServices.h>
#endif
#ifndef __IMAGEIO__
#include <ImageIO/ImageIO.h>
#endif
#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_12_0 || __LANGANALYSIS_FORCE_INCLUSION_FROM_APPLICATIONSERVICES__
// LangAnalysis.framework was fully removed in macOS 12.0, after being deprecated in macOS 10.5
#ifndef __LANGANALYSIS__
#if defined(__has_include) && __has_include(<LangAnalysis/LangAnalysis.h>)
#include <LangAnalysis/LangAnalysis.h>
#elif __LANGANALYSIS_FORCE_INCLUSION_FROM_APPLICATIONSERVICES__
#include <LangAnalysis/LangAnalysis.h>
#endif
#endif
#endif
#ifndef __PRINTCORE__
#include <PrintCore/PrintCore.h>
#endif
#ifndef __QD__
#include <QD/QD.h>
#endif
#ifndef __SPEECHSYNTHESIS__
#include <SpeechSynthesis/SpeechSynthesis.h>
#endif
#endif /* __APPLICATIONSERVICES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Modules/module.modulemap | framework module ApplicationServices [extern_c] {
umbrella header "ApplicationServices.h"
export *
module * { export * }
framework module ATS [extern_c] {
umbrella header "ATS.h"
export *
module * { export * }
}
framework module ATSUI [extern_c] {
umbrella header "ATSUnicode.h"
export *
module * { export * }
}
framework module HIServices [extern_c] {
umbrella header "HIServices.h"
export *
module * { export * }
}
framework module PrintCore [extern_c] {
umbrella header "PrintCore.h"
export *
module * { export * }
}
framework module QD [extern_c] {
umbrella header "QD.h"
export *
module * { export * }
}
framework module SpeechSynthesis [extern_c] {
umbrella header "SpeechSynthesis.h"
export *
module * { export * }
}
}
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/SpeechSynthesis.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: 71BCCEAC-2848-3448-948F-6180AEBAB877
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 343FDD13-553F-3B5C-897A-D267C5E33DF3
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _CancelSpokenNotification, _CancelSpokenNotificationForProcess,
_CancelTalkingAlert, _ContinueSpeech, _CopyAvailableIntervals,
_CopyAvailablePhrases, _CopyIdentifierStringForPreferredVoiceInListWithLocale,
_CopyIdentifierStringForPreferredVoiceWithLocale, _CopyIdentifierStringForVoiceSpec,
_CopyPhonemesFromText, _CopySpeechProperty, _CopySpeechSynthesisVoicesForMode,
_CopyTimeAnnouncementsPreferences, _CountVoices, _CreateSpeechLanguageLocale,
_DisposeSpeechChannel, _GetIdentifierStringForPreferredVoiceInListWithLocale,
_GetIdentifierStringForPreferredVoiceWithLocale, _GetIndVoice,
_GetSpeechInfo, _GetSpeechPitch, _GetSpeechRate, _GetVoiceDescription,
_GetVoiceInfo, _MakeVoiceSpec, _MakeVoiceSpecForIdentifierString,
_NewSpeechChannel, _PauseSpeechAt, _RegisterSpokenNotificationForProcess,
_RegisterTalkingAlertWithProperties, _SRSetSecurityFlags,
_SUAddAppPathToLoginStartupList, _SUCopyAXUIElementExceptionsDictionary,
_SUCopyKeyNamesPropertyList, _SUCopyPhraseArrayFromDisk, _SUIsMainBundleUsingEnglishLocalization,
_SUIsProcessUsingEnglishLocalization, _SUPostKeyCodeWithModifiers,
_SURemoveAppPathFromLoginStartupList, _SendMessageToSpeechSynthesisServer,
_SetSpeechInfo, _SetSpeechPitch, _SetSpeechProperty, _SetSpeechRate,
_SetTimeAnnouncementsPreferences, _SpeakBuffer, _SpeakCFString,
_SpeakString, _SpeakText, _SpeechBusy, _SpeechBusySystemWide,
_SpeechDaemonEnvironment, _SpeechDaemonSetLogging, _SpeechDaemonShutdown,
_SpeechManagerVersion, _SpeechSynthesisConsoleLogCFString,
_SpeechSynthesisConsoleLogTextBuffer, _SpeechSynthesisRegisterModuleURL,
_SpeechSynthesisUnregisterModuleURL, _SpokenNotificationsEnabled,
_SpokenNotificationsEnabledForProcess, _StopSpeech, _StopSpeechAt,
_TTSIsSpeakingSelection, _TTSStartSpeakingSelection, _TTSStartSpeakingSelectionWithString,
_TTSStopSpeakingSelection, _TalkingAlertsEnabled, _TextToPhonemes,
_UseDictionary, _UseSpeechDictionary, _kSpeechAudioDuckingEndPadding,
_kSpeechAudioDuckingFadeIn, _kSpeechAudioDuckingFadeOut, _kSpeechAudioDuckingProperty,
_kSpeechAudioDuckingValue, _kSpeechAudioGraphProperty, _kSpeechAudioOutputFormatProperty,
_kSpeechAudioUnitProperty, _kSpeechBlockTemporarilyProperty,
_kSpeechCharacterModeProperty, _kSpeechCommandDelimiterProperty,
_kSpeechCommandPrefix, _kSpeechCommandSuffix, _kSpeechCurrentVoiceProperty,
_kSpeechCustomVoiceProperty, _kSpeechDictionaryAbbreviations,
_kSpeechDictionaryEntryPhonemes, _kSpeechDictionaryEntrySpelling,
_kSpeechDictionaryLocaleIdentifier, _kSpeechDictionaryModificationDate,
_kSpeechDictionaryPronunciations, _kSpeechDiphoneLogProperty,
_kSpeechDiphoneOptionsProperty, _kSpeechDiphoneStatisticsProperty,
_kSpeechErrorCFCallBack, _kSpeechErrorCallBack, _kSpeechErrorCallbackCharacterOffset,
_kSpeechErrorCallbackSpokenString, _kSpeechErrorCount, _kSpeechErrorNewest,
_kSpeechErrorNewestCharacterOffset, _kSpeechErrorOldest, _kSpeechErrorOldestCharacterOffset,
_kSpeechErrorsProperty, _kSpeechInputModeProperty, _kSpeechLatencyCallBack,
_kSpeechModeLiteral, _kSpeechModeNormal, _kSpeechModePhoneme,
_kSpeechModeText, _kSpeechModeTune, _kSpeechNoEndingProsody,
_kSpeechNoSpeechInterrupt, _kSpeechNumberModeProperty, _kSpeechOfflineModeProperty,
_kSpeechOutputChannelMapProperty, _kSpeechOutputToAudioDeviceProperty,
_kSpeechOutputToExtAudioFileProperty, _kSpeechOutputToFileDescriptorProperty,
_kSpeechOutputToFileURLProperty, _kSpeechPhonemeCallBack,
_kSpeechPhonemeInfoExample, _kSpeechPhonemeInfoHiliteEnd,
_kSpeechPhonemeInfoHiliteStart, _kSpeechPhonemeInfoOpcode,
_kSpeechPhonemeInfoSymbol, _kSpeechPhonemeOptionsProperty,
_kSpeechPhonemeSymbolsProperty, _kSpeechPitchBaseProperty,
_kSpeechPitchCoeffProperty, _kSpeechPitchModProperty, _kSpeechPreflightThenPause,
_kSpeechPreloadVoiceMetadataProperty, _kSpeechRateProperty,
_kSpeechRecentSyncProperty, _kSpeechRefConProperty, _kSpeechResetProperty,
_kSpeechSpeechDoneCallBack, _kSpeechStatusNumberOfCharactersLeft,
_kSpeechStatusOutputBusy, _kSpeechStatusOutputPaused, _kSpeechStatusPhonemeCode,
_kSpeechStatusProperty, _kSpeechSyncCallBack, _kSpeechSynthExtensionProperty,
_kSpeechSynthesizerInfoIdentifier, _kSpeechSynthesizerInfoProperty,
_kSpeechSynthesizerInfoVersion, _kSpeechTextDoneCallBack,
_kSpeechVoiceAge, _kSpeechVoiceCreator, _kSpeechVoiceDemoText,
_kSpeechVoiceGender, _kSpeechVoiceGenderFemale, _kSpeechVoiceGenderMale,
_kSpeechVoiceGenderNeuter, _kSpeechVoiceID, _kSpeechVoiceIdentifier,
_kSpeechVoiceIndividuallySpokenCharacters, _kSpeechVoiceLanguage,
_kSpeechVoiceLocaleIdentifier, _kSpeechVoiceLocalizedNames,
_kSpeechVoiceName, _kSpeechVoiceNameRoot, _kSpeechVoiceNumericID,
_kSpeechVoiceSupportedCharacters, _kSpeechVoiceSynthesizerNumericID,
_kSpeechVoiceUnicodeCharBegin, _kSpeechVoiceUnicodeCharEnd,
_kSpeechVoiceVersion, _kSpeechVolumeProperty, _kSpeechWordCFCallBack,
_kSpeechWordCallBack, _kVoiceIndividuallySpokenCharacters,
_kVoiceSupportedCharacters ]
- targets: [ arm64e-macos, arm64-macos ]
symbols: [ _CancelTalkingAlertForPID, _DisposeServerConnection, _DisposeSpeechDoneUPP,
_DisposeSpeechErrorUPP, _DisposeSpeechPhonemeUPP, _DisposeSpeechSyncUPP,
_DisposeSpeechTextDoneUPP, _DisposeSpeechWordUPP, _InitServerConnection,
_InvokeSpeechDoneUPP, _InvokeSpeechErrorUPP, _InvokeSpeechPhonemeUPP,
_InvokeSpeechSyncUPP, _InvokeSpeechTextDoneUPP, _InvokeSpeechWordUPP,
_IsAppAlreadyRunning, _IsValueCArrayOK, _MTUOpenResourceFile,
_MTUReadResourceDataFile, _NewSpeechDoneUPP, _NewSpeechErrorUPP,
_NewSpeechPhonemeUPP, _NewSpeechSyncUPP, _NewSpeechTextDoneUPP,
_NewSpeechWordUPP, _SendMessagePrimitive, _SendMessageToServer,
_StartServerConnection, _TTSIsSpeakingSelection_XPC, _TTSStartSpeakingSelectionWithString_XPC,
_TTSStartSpeakingSelection_XPC, _TTSStopSpeakingSelection_XPC,
__Z16UseDictionaryPtrP19SpeechChannelRecordPKvm, __Z36SetPreferredVoiceIdentifierForLocalePK10__CFLocalePK10__CFString,
__Z37CopyPreferredVoiceIdentifierForLocalePK10__CFLocale,
__ZN13SpeechGlobals11CopyVoiceIDEPK9VoiceSpecPPK10__CFString,
__ZN13SpeechGlobals13CopyVoicePathEPK9VoiceSpecPPK10__CFString,
__ZN13SpeechGlobals13SessionSwitchE19CGSNotificationTypePvjS1_,
__ZN13SpeechGlobals14GetChannelByIdEy, __ZN13SpeechGlobals14SendXPCMessageEPv10SpeechArch,
__ZN13SpeechGlobals15RegisterChannelEP19SpeechChannelHandle,
__ZN13SpeechGlobals15SetSessionStateEb, __ZN13SpeechGlobals15SetupConnectionEPKc,
__ZN13SpeechGlobals15ValidateChannelEP19SpeechChannelHandle,
__ZN13SpeechGlobals16ArchForVoiceSpecEPK9VoiceSpec, __ZN13SpeechGlobals17ConnectionForArchE10SpeechArch,
__ZN13SpeechGlobals17UnregisterChannelEP19SpeechChannelHandle,
__ZN13SpeechGlobals19AddArchForVoiceSpecEPK9VoiceSpec10SpeechArch,
__ZN13SpeechGlobals19CopyVoiceAttributesEPK9VoiceSpecPPK14__CFDictionary,
__ZN13SpeechGlobals20CopyVoiceDescriptionEPK10__CFStringP16VoiceDescription,
__ZN13SpeechGlobals20CopyVoiceDescriptionEPK9VoiceSpecP16VoiceDescriptionb,
__ZN13SpeechGlobals20PerformOnCorrectArchEPK9VoiceSpecU13block_pointerFv10SpeechArchPbE,
__ZN13SpeechGlobals21BuildArchForVoiceSpecEPK9VoiceSpec, __ZN13SpeechGlobals22ArchForVoiceIdentifierEPK10__CFString,
__ZN13SpeechGlobals23MayHaveNonNativeEnginesEv, __ZN13SpeechGlobals25AddArchForVoiceIdentifierEPK10__CFString10SpeechArch,
__ZN13SpeechGlobals27BuildArchForVoiceIdentifierEPK10__CFString,
__ZN13SpeechGlobals32RecomputeMayHaveNonNativeEnginesEv, __ZN13SpeechGlobals8InstanceEv,
__ZN13SpeechGlobals9sInstanceE, __ZN13SpeechGlobalsC1Ev, __ZN13SpeechGlobalsC2Ev,
__ZN14SpeechAPITimer5SetupEv, __ZN18SpeechElapsedTimer11ElapsedTimeEv,
__ZN19SpeechChannelHandle10CopyVoicesEPKv, __ZN19SpeechChannelHandle10InitializeEP9VoiceSpec,
__ZN19SpeechChannelHandle10SetLoggingEii, __ZN19SpeechChannelHandle10SpeechBusyEb,
__ZN19SpeechChannelHandle10StopSpeechExb, __ZN19SpeechChannelHandle11EnvironmentEPPKcS2_,
__ZN19SpeechChannelHandle11FromChannelEP19SpeechChannelRecord,
__ZN19SpeechChannelHandle11PauseSpeechEx, __ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvP9__CFErrorE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvPK10__CFString7CFRangeE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvPPKvPmPiE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvjE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvmtE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvsE,
__ZN19SpeechChannelHandle11SetCallbackEPFvP19SpeechChannelRecordPvslE,
__ZN19SpeechChannelHandle11SpeakBufferEPKvmx, __ZN19SpeechChannelHandle12CurrentVoiceEv,
__ZN19SpeechChannelHandle12OutputToFileEP18OpaqueExtAudioFile,
__ZN19SpeechChannelHandle12OutputToFileEPKv, __ZN19SpeechChannelHandle13SpeakCFStringEPK10__CFStringPK14__CFDictionary,
__ZN19SpeechChannelHandle13TrackPropertyEPKcPv, __ZN19SpeechChannelHandle13UseDictionaryEPK14__CFDictionary,
__ZN19SpeechChannelHandle13UseDictionaryEPKvm, __ZN19SpeechChannelHandle14CachedPropertyEPKc,
__ZN19SpeechChannelHandle14ContinueSpeechEv, __ZN19SpeechChannelHandle14HandleCallbackEPvb,
__ZN19SpeechChannelHandle14PrivateChannelEv, __ZN19SpeechChannelHandle14RecoverChannelEv,
__ZN19SpeechChannelHandle14RegisterModuleEPK7__CFURL, __ZN19SpeechChannelHandle14TextToPhonemesEPKvmPPvPl,
__ZN19SpeechChannelHandle15PermitAllVoicesEv, __ZN19SpeechChannelHandle16UnregisterModuleEPK7__CFURL,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringPKv,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringRK13DelimiterInfo,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringRK14SpeechXtndData,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringRK9VoiceSpec,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringb,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringi,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringj,
__ZN19SpeechChannelHandle17SetSpeechPropertyEPK10__CFStringx,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP14SpeechXtndData,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP15SpeechErrorInfo,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP16SpeechStatusInfo,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP17SpeechVersionInfo,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringP9VoiceSpec,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPPKv,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPPP17PhonemeDescriptor,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPb,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPi,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPj,
__ZN19SpeechChannelHandle18CopySpeechPropertyEPK10__CFStringPx,
__ZN19SpeechChannelHandle18SetLatencyCallbackEPFvP19SpeechChannelRecordPvjE,
__ZN19SpeechChannelHandle19CopyVoiceAttributesEPK9VoiceSpecPPK14__CFDictionary,
__ZN19SpeechChannelHandle19CopyVoiceBundlePathEPK9VoiceSpecPPK10__CFString,
__ZN19SpeechChannelHandle19OutputToAudioDeviceEPKv, __ZN19SpeechChannelHandle19OutputToAudioDeviceEj,
__ZN19SpeechChannelHandle20CopyPhonemesFromTextEPK10__CFStringPS2_,
__ZN19SpeechChannelHandle20CopyVoiceDescriptionEPK9VoiceSpecP16VoiceDescription,
__ZN19SpeechChannelHandle22OutputToFileDescriptorEPKv, __ZN19SpeechChannelHandle32CopyIdentifierStringForVoiceSpecEPK9VoiceSpec,
__ZN19SpeechChannelHandle32MakeVoiceSpecForIdentifierStringEPK10__CFStringP9VoiceSpec,
__ZN19SpeechChannelHandle37CopyIdentifierStringForPreferredVoiceEPK9__CFArrayPK10__CFLocale,
__ZN19SpeechChannelHandle8ShutdownEv, __ZN19SpeechChannelHandle9SetRefConEPv,
__ZN19SpeechChannelHandleC1Ev, __ZN19SpeechChannelHandleC2Ev,
__ZN19SpeechChannelHandleD1Ev, __ZN19SpeechChannelHandleD2Ev,
__ZltRK9VoiceSpecS1_, _gOurCGSConnectionID, _gServerConnections,
_kSSDKeyAllVoices, _kSSDKeyCallback, _kSSDKeyChannel, _kSSDKeyEnabled,
_kSSDKeyEncoding, _kSSDKeyError, _kSSDKeyFlags, _kSSDKeyLength,
_kSSDKeyLocale, _kSSDKeyMessage, _kSSDKeyMode, _kSSDKeyOffset,
_kSSDKeyPath, _kSSDKeyProperty, _kSSDKeyReply, _kSSDKeySetEnv,
_kSSDKeySystemWide, _kSSDKeyTAAppPID, _kSSDKeyTAEnabled, _kSSDKeyTANotifyType,
_kSSDKeyTARegID, _kSSDKeyTARegProps, _kSSDKeyText, _kSSDKeyTextID,
_kSSDKeyUnsetEnv, _kSSDKeyValue, _kSSDKeyVoiceAttr, _kSSDKeyVoiceDesc,
_kSSDKeyVoiceID, _kSSDKeyVoiceList, _kSSDKeyVoiceSpec, _kSSDKeyWhere,
_kSpeechSynthesizerInfoManufacturer, _kSpeechVoiceGroup, _kSpeechVoiceGroupCompact,
_kSpeechVoiceGroupCustom, _kSpeechVoiceGroupCustomCompact,
_kSpeechVoiceGroupDefault, _kSpeechVoiceRelativeDesirability,
_kVoiceConstantRateOnly, _kVoiceShowInFullListOnly, _sCachedTimeAnnouncementsDictionary ]
objc-classes: [ SpeechSynthesisApps ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/SpeechSynthesis.framework/Headers/SpeechSynthesis.h | /*
File: SpeechSynthesis/SpeechSynthesis.h
Contains: Master include for SpeechSynthesis public framework
Copyright: © 2000-2013 by Apple Inc. All rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __SPEECHSYNTHESIS__
#define __SPEECHSYNTHESIS__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#ifndef __COREFOUNDATION__
#include <CoreFoundation/CoreFoundation.h>
#endif
#include <stdint.h>
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
CF_EXTERN_C_BEGIN
CF_ASSUME_NONNULL_BEGIN
#pragma pack(push, 2)
CF_ENUM(OSType) {
kTextToSpeechSynthType = 'ttsc',
kTextToSpeechVoiceType = 'ttvd',
kTextToSpeechVoiceFileType = 'ttvf',
kTextToSpeechVoiceBundleType = 'ttvb'
};
CF_ENUM(SInt32) {
kNoEndingProsody = 1,
kNoSpeechInterrupt = 2,
kPreflightThenPause = 4
};
CF_ENUM(SInt32) {
kImmediate = 0,
kEndOfWord = 1,
kEndOfSentence = 2
};
/*------------------------------------------*/
/* GetSpeechInfo & SetSpeechInfo selectors */
/*------------------------------------------*/
CF_ENUM(OSType) {
soStatus = 'stat',
soErrors = 'erro',
soInputMode = 'inpt',
soCharacterMode = 'char',
soNumberMode = 'nmbr',
soRate = 'rate',
soPitchBase = 'pbas',
soPitchMod = 'pmod',
soVolume = 'volm',
soSynthType = 'vers',
soRecentSync = 'sync',
soPhonemeSymbols = 'phsy',
soCurrentVoice = 'cvox',
soCommandDelimiter = 'dlim',
soReset = 'rset',
soCurrentA5 = 'myA5',
soRefCon = 'refc',
soTextDoneCallBack = 'tdcb', /* use with SpeechTextDoneProcPtr*/
soSpeechDoneCallBack = 'sdcb', /* use with SpeechDoneProcPtr*/
soSyncCallBack = 'sycb', /* use with SpeechSyncProcPtr*/
soErrorCallBack = 'ercb', /* use with SpeechErrorProcPtr*/
soPhonemeCallBack = 'phcb', /* use with SpeechPhonemeProcPtr*/
soWordCallBack = 'wdcb', /* use with SpeechWordProcPtr*/
soSynthExtension = 'xtnd',
soSoundOutput = 'sndo',
soOutputToFileWithCFURL = 'opaf', /* Pass a CFURLRef to write to this file, NULL to generate sound.*/
soOutputToExtAudioFile = 'opax', /* Pass a ExtAudioFileRef to write to this file, NULL to generate sound. Available in 10.6 and later.*/
soOutputToAudioDevice = 'opad', /* Pass an AudioDeviceID to play to this file, 0 to play to default output*/
soPhonemeOptions = 'popt' /* Available in 10.6 and later*/
};
/*------------------------------------------*/
/* Speaking Mode Constants */
/*------------------------------------------*/
CF_ENUM(OSType) {
modeText = 'TEXT', /* input mode constants */
modePhonemes = 'PHON',
modeTune = 'TUNE',
modeNormal = 'NORM', /* character mode and number mode constants */
modeLiteral = 'LTRL'
};
CF_ENUM(OSType) {
soVoiceDescription = 'info',
soVoiceFile = 'fref'
};
/*------------------------------------------*/
/* Flags for phoneme generation. */
/*------------------------------------------*/
CF_ENUM(SInt32) {
kSpeechGenerateTune = 1, /* Generate detailed "tune" instead of just phonemes */
kSpeechRelativePitch = 2, /* Pitch relative to voice baseline */
kSpeechRelativeDuration = 4, /* Duration relative to speech rate */
kSpeechShowSyllables = 8 /* Show all syllable marks */
};
/*------------------------------------------*/
/* AudioUnit constants - new in 10.5 */
/*------------------------------------------*/
CF_ENUM(UInt32) {
kAudioUnitSubType_SpeechSynthesis = 'ttsp', /* kAudioUnitType_Generator */
kAudioUnitProperty_Voice = 3330, /* Get/Set (VoiceSpec) */
kAudioUnitProperty_SpeechChannel = 3331 /* Get (SpeechChannel) */
};
/*
The speech manager sources may or may not need SpeechChannelRecord.
If not, the .i file should be changed to use the opaque mechanism.
*/
struct SpeechChannelRecord {
long data[1];
};
typedef struct SpeechChannelRecord SpeechChannelRecord;
typedef SpeechChannelRecord * SpeechChannel;
struct VoiceSpec {
OSType creator;
OSType id;
};
typedef struct VoiceSpec VoiceSpec;
typedef VoiceSpec * VoiceSpecPtr;
CF_ENUM(SInt16) {
kNeuter = 0,
kMale = 1,
kFemale = 2
};
struct VoiceDescription {
SInt32 length;
VoiceSpec voice;
SInt32 version;
Str63 name;
Str255 comment;
SInt16 gender;
SInt16 age;
SInt16 script;
SInt16 language;
SInt16 region;
SInt32 reserved[4];
};
typedef struct VoiceDescription VoiceDescription;
struct VoiceFileInfo {
FSSpec fileSpec;
SInt16 resID;
};
typedef struct VoiceFileInfo VoiceFileInfo;
struct SpeechStatusInfo {
Boolean outputBusy;
Boolean outputPaused;
long inputBytesLeft;
SInt16 phonemeCode;
};
typedef struct SpeechStatusInfo SpeechStatusInfo;
struct SpeechErrorInfo {
SInt16 count;
OSErr oldest;
long oldPos;
OSErr newest;
long newPos;
};
typedef struct SpeechErrorInfo SpeechErrorInfo;
struct SpeechVersionInfo {
OSType synthType;
OSType synthSubType;
OSType synthManufacturer;
SInt32 synthFlags;
NumVersion synthVersion;
};
typedef struct SpeechVersionInfo SpeechVersionInfo;
struct PhonemeInfo {
SInt16 opcode;
Str15 phStr;
Str31 exampleStr;
SInt16 hiliteStart;
SInt16 hiliteEnd;
};
typedef struct PhonemeInfo PhonemeInfo;
struct PhonemeDescriptor {
SInt16 phonemeCount;
PhonemeInfo thePhonemes[1];
};
typedef struct PhonemeDescriptor PhonemeDescriptor;
struct SpeechXtndData {
OSType synthCreator;
Byte synthData[2];
};
typedef struct SpeechXtndData SpeechXtndData;
struct DelimiterInfo {
Byte startDelimiter[2];
Byte endDelimiter[2];
};
typedef struct DelimiterInfo DelimiterInfo;
/* Synthesizer Properties */
/*
* kSpeechStatusProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechStatusProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechErrorsProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorsProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechInputModeProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechInputModeProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechCharacterModeProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechCharacterModeProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechNumberModeProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechNumberModeProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechRateProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechRateProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPitchBaseProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPitchBaseProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPitchModProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPitchModProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechVolumeProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechVolumeProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechSynthesizerInfoProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechSynthesizerInfoProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechRecentSyncProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechRecentSyncProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPhonemeSymbolsProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeSymbolsProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechCurrentVoiceProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechCurrentVoiceProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechCommandDelimiterProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechCommandDelimiterProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechResetProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechResetProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechOutputToFileURLProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechOutputToFileURLProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechOutputToExtAudioFileProperty
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechOutputToExtAudioFileProperty AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* kSpeechOutputToAudioDeviceProperty
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechOutputToAudioDeviceProperty AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* kSpeechOutputToFileDescriptorProperty
*
* Availability:
* Mac OS X: in version 10.9 and later in ApplicationServices.framework
*/
extern CFStringRef const kSpeechOutputToFileDescriptorProperty AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER;
/*
* kSpeechAudioOutputFormatProperty
*
* Availability:
* Mac OS X: in version 10.9 and later in ApplicationServices.framework
*/
extern CFStringRef const kSpeechAudioOutputFormatProperty AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER;
/*
*
* kSpeechOutputChannelMapProperty
*
* Availability:
* Mac OS X: in version 10.9 and later in ApplicationServices.framework
*/
extern CFStringRef const kSpeechOutputChannelMapProperty AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER;
/*
* kSpeechRefConProperty
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechRefConProperty AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechTextDoneCallBack
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechTextDoneCallBack AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechSpeechDoneCallBack
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechSpeechDoneCallBack AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechSyncCallBack
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechSyncCallBack AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPhonemeCallBack
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeCallBack AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechErrorCFCallBack
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorCFCallBack AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechWordCFCallBack
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechWordCFCallBack AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPhonemeOptionsProperty
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeOptionsProperty AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* kSpeechAudioUnitProperty
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechAudioUnitProperty AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* kSpeechAudioGraphProperty
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechAudioGraphProperty AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* kSpeechSynthExtensionProperty
*
* Availability:
* Mac OS X: in version 10.9 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechSynthExtensionProperty AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER;
/* Speaking Modes*/
/*
* kSpeechModeText
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechModeText AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechModePhoneme
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechModePhoneme AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechModeTune
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechModeTune AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* kSpeechModeNormal
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechModeNormal AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechModeLiteral
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechModeLiteral AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Dictionary keys for options parameter in SpeakCFString*/
/*
* kSpeechNoEndingProsody
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechNoEndingProsody AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechNoSpeechInterrupt
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechNoSpeechInterrupt AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPreflightThenPause
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPreflightThenPause AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Dictionary keys returned by kSpeechStatusProperty*/
/*
* kSpeechStatusOutputBusy
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechStatusOutputBusy AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechStatusOutputPaused
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechStatusOutputPaused AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechStatusNumberOfCharactersLeft
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechStatusNumberOfCharactersLeft AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechStatusPhonemeCode
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechStatusPhonemeCode AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Dictionary keys returned by kSpeechErrorProperty*/
/*
* kSpeechErrorCount
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorCount AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechErrorOldest
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorOldest AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechErrorOldestCharacterOffset
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorOldestCharacterOffset AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechErrorNewest
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorNewest AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechErrorNewestCharacterOffset
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorNewestCharacterOffset AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Dictionary keys returned by kSpeechSynthesizerInfoProperty*/
/*
* kSpeechSynthesizerInfoIdentifier
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechSynthesizerInfoIdentifier AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechSynthesizerInfoManufacturer
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechSynthesizerInfoManufacturer AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechSynthesizerInfoVersion
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechSynthesizerInfoVersion AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Dictionary keys returned by kSpeechPhonemeSymbolsProperty*/
/*
* kSpeechPhonemeInfoOpcode
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeInfoOpcode AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPhonemeInfoSymbol
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeInfoSymbol AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPhonemeInfoExample
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeInfoExample AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPhonemeInfoHiliteStart
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeInfoHiliteStart AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechPhonemeInfoHiliteEnd
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechPhonemeInfoHiliteEnd AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Dictionary keys returned by kSpeechCurrentVoiceProperty*/
/*
* kSpeechVoiceCreator
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechVoiceCreator AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechVoiceID
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechVoiceID AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Dictionary keys returned by kSpeechCommandDelimiterProperty*/
/*
* kSpeechCommandPrefix
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechCommandPrefix AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechCommandSuffix
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechCommandSuffix AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Use with useSpeechDictionary:*/
/*
* kSpeechDictionaryLocaleIdentifier
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechDictionaryLocaleIdentifier AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechDictionaryModificationDate
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechDictionaryModificationDate AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechDictionaryPronunciations
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechDictionaryPronunciations AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechDictionaryAbbreviations
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechDictionaryAbbreviations AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechDictionaryEntrySpelling
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechDictionaryEntrySpelling AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechDictionaryEntryPhonemes
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechDictionaryEntryPhonemes AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Error callback user info keys*/
/*
* kSpeechErrorCallbackSpokenString
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorCallbackSpokenString AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/*
* kSpeechErrorCallbackCharacterOffset
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFStringRef const kSpeechErrorCallbackCharacterOffset AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
typedef CALLBACK_API( void , SpeechTextDoneProcPtr )(SpeechChannel chan, SRefCon refCon, const void * __nullable * __nullable nextBuf, unsigned long *byteLen, SInt32 *controlFlags);
typedef CALLBACK_API( void , SpeechDoneProcPtr )(SpeechChannel chan, SRefCon refCon);
typedef CALLBACK_API( void , SpeechSyncProcPtr )(SpeechChannel chan, SRefCon refCon, OSType syncMessage);
typedef CALLBACK_API( void , SpeechErrorProcPtr )(SpeechChannel chan, SRefCon refCon, OSErr theError, long bytePos);
typedef CALLBACK_API( void , SpeechPhonemeProcPtr )(SpeechChannel chan, SRefCon refCon, SInt16 phonemeOpcode);
typedef CALLBACK_API( void , SpeechWordProcPtr )(SpeechChannel chan, SRefCon refCon, unsigned long wordPos, UInt16 wordLen);
typedef STACK_UPP_TYPE(SpeechTextDoneProcPtr) SpeechTextDoneUPP;
typedef STACK_UPP_TYPE(SpeechDoneProcPtr) SpeechDoneUPP;
typedef STACK_UPP_TYPE(SpeechSyncProcPtr) SpeechSyncUPP;
typedef STACK_UPP_TYPE(SpeechErrorProcPtr) SpeechErrorUPP;
typedef STACK_UPP_TYPE(SpeechPhonemeProcPtr) SpeechPhonemeUPP;
typedef STACK_UPP_TYPE(SpeechWordProcPtr) SpeechWordUPP;
/*
* NewSpeechTextDoneUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern SpeechTextDoneUPP
NewSpeechTextDoneUPP(SpeechTextDoneProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* NewSpeechDoneUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern SpeechDoneUPP
NewSpeechDoneUPP(SpeechDoneProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* NewSpeechSyncUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern SpeechSyncUPP
NewSpeechSyncUPP(SpeechSyncProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* NewSpeechErrorUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern SpeechErrorUPP
NewSpeechErrorUPP(SpeechErrorProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* NewSpeechPhonemeUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern SpeechPhonemeUPP
NewSpeechPhonemeUPP(SpeechPhonemeProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* NewSpeechWordUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern SpeechWordUPP
NewSpeechWordUPP(SpeechWordProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* DisposeSpeechTextDoneUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
DisposeSpeechTextDoneUPP(SpeechTextDoneUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* DisposeSpeechDoneUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
DisposeSpeechDoneUPP(SpeechDoneUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* DisposeSpeechSyncUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
DisposeSpeechSyncUPP(SpeechSyncUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* DisposeSpeechErrorUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
DisposeSpeechErrorUPP(SpeechErrorUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* DisposeSpeechPhonemeUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
DisposeSpeechPhonemeUPP(SpeechPhonemeUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* DisposeSpeechWordUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
DisposeSpeechWordUPP(SpeechWordUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* InvokeSpeechTextDoneUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
InvokeSpeechTextDoneUPP(
SpeechChannel chan,
SRefCon refCon,
const void * __nullable * __nullable nextBuf,
unsigned long * byteLen,
SInt32 * controlFlags,
SpeechTextDoneUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* InvokeSpeechDoneUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
InvokeSpeechDoneUPP(
SpeechChannel chan,
SRefCon refCon,
SpeechDoneUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* InvokeSpeechSyncUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
InvokeSpeechSyncUPP(
SpeechChannel chan,
SRefCon refCon,
OSType syncMessage,
SpeechSyncUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* InvokeSpeechErrorUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
InvokeSpeechErrorUPP(
SpeechChannel chan,
SRefCon refCon,
OSErr theError,
long bytePos,
SpeechErrorUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* InvokeSpeechPhonemeUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
InvokeSpeechPhonemeUPP(
SpeechChannel chan,
SRefCon refCon,
SInt16 phonemeOpcode,
SpeechPhonemeUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* InvokeSpeechWordUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0.2 and later
* Non-Carbon CFM: available as macro/inline
*/
extern void
InvokeSpeechWordUPP(
SpeechChannel chan,
SRefCon refCon,
unsigned long wordPos,
UInt16 wordLen,
SpeechWordUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
#if __MACH__
#ifdef __cplusplus
inline SpeechTextDoneUPP NewSpeechTextDoneUPP(SpeechTextDoneProcPtr userRoutine) { return userRoutine; }
inline SpeechDoneUPP NewSpeechDoneUPP(SpeechDoneProcPtr userRoutine) { return userRoutine; }
inline SpeechSyncUPP NewSpeechSyncUPP(SpeechSyncProcPtr userRoutine) { return userRoutine; }
inline SpeechErrorUPP NewSpeechErrorUPP(SpeechErrorProcPtr userRoutine) { return userRoutine; }
inline SpeechPhonemeUPP NewSpeechPhonemeUPP(SpeechPhonemeProcPtr userRoutine) { return userRoutine; }
inline SpeechWordUPP NewSpeechWordUPP(SpeechWordProcPtr userRoutine) { return userRoutine; }
inline void DisposeSpeechTextDoneUPP(SpeechTextDoneUPP) { }
inline void DisposeSpeechDoneUPP(SpeechDoneUPP) { }
inline void DisposeSpeechSyncUPP(SpeechSyncUPP) { }
inline void DisposeSpeechErrorUPP(SpeechErrorUPP) { }
inline void DisposeSpeechPhonemeUPP(SpeechPhonemeUPP) { }
inline void DisposeSpeechWordUPP(SpeechWordUPP) { }
inline void InvokeSpeechTextDoneUPP(SpeechChannel chan, SRefCon refCon, const void * __nullable * __nullable nextBuf, unsigned long * byteLen, SInt32 * controlFlags, SpeechTextDoneUPP userUPP) { (*userUPP)(chan, refCon, nextBuf, byteLen, controlFlags); }
inline void InvokeSpeechDoneUPP(SpeechChannel chan, SRefCon refCon, SpeechDoneUPP userUPP) { (*userUPP)(chan, refCon); }
inline void InvokeSpeechSyncUPP(SpeechChannel chan, SRefCon refCon, OSType syncMessage, SpeechSyncUPP userUPP) { (*userUPP)(chan, refCon, syncMessage); }
inline void InvokeSpeechErrorUPP(SpeechChannel chan, SRefCon refCon, OSErr theError, long bytePos, SpeechErrorUPP userUPP) { (*userUPP)(chan, refCon, theError, bytePos); }
inline void InvokeSpeechPhonemeUPP(SpeechChannel chan, SRefCon refCon, SInt16 phonemeOpcode, SpeechPhonemeUPP userUPP) { (*userUPP)(chan, refCon, phonemeOpcode); }
inline void InvokeSpeechWordUPP(SpeechChannel chan, SRefCon refCon, unsigned long wordPos, UInt16 wordLen, SpeechWordUPP userUPP) { (*userUPP)(chan, refCon, wordPos, wordLen); }
#else
#define NewSpeechTextDoneUPP(userRoutine) ((SpeechTextDoneUPP)userRoutine)
#define NewSpeechDoneUPP(userRoutine) ((SpeechDoneUPP)userRoutine)
#define NewSpeechSyncUPP(userRoutine) ((SpeechSyncUPP)userRoutine)
#define NewSpeechErrorUPP(userRoutine) ((SpeechErrorUPP)userRoutine)
#define NewSpeechPhonemeUPP(userRoutine) ((SpeechPhonemeUPP)userRoutine)
#define NewSpeechWordUPP(userRoutine) ((SpeechWordUPP)userRoutine)
#define DisposeSpeechTextDoneUPP(userUPP)
#define DisposeSpeechDoneUPP(userUPP)
#define DisposeSpeechSyncUPP(userUPP)
#define DisposeSpeechErrorUPP(userUPP)
#define DisposeSpeechPhonemeUPP(userUPP)
#define DisposeSpeechWordUPP(userUPP)
#define InvokeSpeechTextDoneUPP(chan, refCon, nextBuf, byteLen, controlFlags, userUPP) (*userUPP)(chan, refCon, nextBuf, byteLen, controlFlags)
#define InvokeSpeechDoneUPP(chan, refCon, userUPP) (*userUPP)(chan, refCon)
#define InvokeSpeechSyncUPP(chan, refCon, syncMessage, userUPP) (*userUPP)(chan, refCon, syncMessage)
#define InvokeSpeechErrorUPP(chan, refCon, theError, bytePos, userUPP) (*userUPP)(chan, refCon, theError, bytePos)
#define InvokeSpeechPhonemeUPP(chan, refCon, phonemeOpcode, userUPP) (*userUPP)(chan, refCon, phonemeOpcode)
#define InvokeSpeechWordUPP(chan, refCon, wordPos, wordLen, userUPP) (*userUPP)(chan, refCon, wordPos, wordLen)
#endif
#endif
typedef CALLBACK_API( void , SpeechErrorCFProcPtr )(SpeechChannel chan, SRefCon refCon, CFErrorRef theError);
typedef CALLBACK_API( void , SpeechWordCFProcPtr )(SpeechChannel chan, SRefCon refCon, CFStringRef aString, CFRange wordRange);
/*
* SpeechManagerVersion()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern NumVersion
SpeechManagerVersion(void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* MakeVoiceSpec()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
MakeVoiceSpec(
OSType creator,
OSType id,
VoiceSpec * voice) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* CountVoices()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
CountVoices(SInt16 * numVoices) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* GetIndVoice()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
GetIndVoice(
SInt16 index,
VoiceSpec * voice) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* GetVoiceDescription()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
GetVoiceDescription(
const VoiceSpec * __nullable voice,
VoiceDescription * __nullable info,
long infoLength) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* GetVoiceInfo()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
GetVoiceInfo(
const VoiceSpec * __nullable voice,
OSType selector,
void * voiceInfo) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* NewSpeechChannel()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
NewSpeechChannel(
VoiceSpec * __nullable voice,
SpeechChannel __nullable * __nonnull chan) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* DisposeSpeechChannel()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
DisposeSpeechChannel(SpeechChannel chan) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* SpeakString() *** DEPRECATED ***
*
* Deprecated:
* Use SpeakCFString instead
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.8
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
SpeakString(ConstStr255Param textToBeSpoken) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* SpeakText() *** DEPRECATED ***
*
* Deprecated:
* Use SpeakCFString instead
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.8
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
SpeakText(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* SpeakBuffer() *** DEPRECATED ***
*
* Deprecated:
* Use SpeakCFString instead
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.8
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
SpeakBuffer(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes,
SInt32 controlFlags) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* StopSpeech()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
StopSpeech(SpeechChannel chan) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* StopSpeechAt()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
StopSpeechAt(
SpeechChannel chan,
SInt32 whereToStop) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* PauseSpeechAt()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
PauseSpeechAt(
SpeechChannel chan,
SInt32 whereToPause) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* ContinueSpeech()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
ContinueSpeech(SpeechChannel chan) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* SpeechBusy()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern SInt16
SpeechBusy(void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* SpeechBusySystemWide()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern SInt16
SpeechBusySystemWide(void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* SetSpeechRate()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
SetSpeechRate(
SpeechChannel chan,
Fixed rate) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* GetSpeechRate()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
GetSpeechRate(
SpeechChannel chan,
Fixed * rate) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* SetSpeechPitch()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
SetSpeechPitch(
SpeechChannel chan,
Fixed pitch) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* GetSpeechPitch()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
GetSpeechPitch(
SpeechChannel chan,
Fixed * pitch) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
/*
* SetSpeechInfo() *** DEPRECATED ***
*
* Deprecated:
* Use SetSpeechProperty instead
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.8
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
SetSpeechInfo(
SpeechChannel chan,
OSType selector,
const void * __nullable speechInfo) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* GetSpeechInfo() *** DEPRECATED ***
*
* Deprecated:
* Use CopySpeechProperty instead
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.8
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
GetSpeechInfo(
SpeechChannel chan,
OSType selector,
void * speechInfo) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* TextToPhonemes() *** DEPRECATED ***
*
* Deprecated:
* Use CopyPhonemesFromText instead
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.8
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
TextToPhonemes(
SpeechChannel chan,
const void * textBuf,
unsigned long textBytes,
Handle __nonnull phonemeBuf,
long * phonemeBytes) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/*
* UseDictionary() *** DEPRECATED ***
*
* Deprecated:
* Use UseSpeechDictionary instead
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.8
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in SpeechLib 1.0 and later
*/
extern OSErr
UseDictionary(
SpeechChannel chan,
Handle __nonnull dictionary) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8;
/* Replaces SpeakBuffer*/
/*
* SpeakCFString()
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSErr
SpeakCFString(
SpeechChannel chan,
CFStringRef aString,
CFDictionaryRef __nullable options) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Replaces UseDictionary*/
/*
* UseSpeechDictionary()
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSErr
UseSpeechDictionary(
SpeechChannel chan,
CFDictionaryRef speechDictionary) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Replaces TextToPhonemes*/
/*
* CopyPhonemesFromText()
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSErr
CopyPhonemesFromText(
SpeechChannel chan,
CFStringRef text,
CFStringRef __nullable * __nonnull CF_RETURNS_RETAINED phonemes) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Replaces GetSpeechInfo*/
/*
* CopySpeechProperty()
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSErr
CopySpeechProperty(
SpeechChannel chan,
CFStringRef property,
CFTypeRef __nullable * __nonnull CF_RETURNS_RETAINED object) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Replaces SetSpeechInfo*/
/*
* SetSpeechProperty()
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSErr
SetSpeechProperty(
SpeechChannel chan,
CFStringRef property,
CFTypeRef __nullable object) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
/* Support loading and unloading synthesizers and voices from locations other than the standard directories.*/
/*
* SpeechSynthesisRegisterModuleURL()
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSErr
SpeechSynthesisRegisterModuleURL(CFURLRef url) AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* SpeechSynthesisUnregisterModuleURL()
*
* Availability:
* Mac OS X: in version 10.6 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSErr
SpeechSynthesisUnregisterModuleURL(CFURLRef url) AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
#pragma pack(pop)
CF_ASSUME_NONNULL_END
CF_EXTERN_C_END
#endif /* __SPEECHSYNTHESIS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/PrintCore.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: 240A30D0-BA6D-341E-8681-8C19CB4A7C8C
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: EB091F0C-39D4-3EF2-83A9-57097E34C047
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore'
current-version: 544
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _CPLAutoSelectCancel, _CPLAutoSelectCreateContext, _CPLAutoSelectGetInfo,
_CPLAutoSelectHasNewPPD, _CPLAutoSelectInstallableOptions,
_CPLAutoSelectPPD, _CPLAutoSelectReleaseContext, _CPLAutoSelectSetIsBinaryOK,
_CPLCopyDefaultPaperID, _CPLCopyDefaultPrinterName, _CPLCopyGenericPPDURL,
_CPLCopyLocalServerURL, _CPLCopyPrinterNames, _CPLCreateOptions,
_CPLCreateOptionsStr, _CPLCreateSuggestedQueueName, _CPLEmptyPPDCache,
_CPLInstallIconFile, _CPLIsPrintAdmin, _CPLIsPrintingManaged,
_CPLPrinterCopyPPD, _CPLPrinterGetType, _CPLPrinterNameInUse,
_CPLPrinterSetLocation, _CPLPrinterSetPPD, _CPLQueuePrintDocument,
_CPLQueueResume, _CPLRemovePrinter, _CPLRemovePrinterKeepPreferences,
_CPLResetPrintingPermissions, _CPLResetPrintingSystem, _CPLServerCreateClass,
_CPLServerCreateQueue, _CPLSetDefaultPaperID, _CPLSetDefaultPrinterName,
_CPLSetUseLastPrinterAsCurrentPrinter, _CPLStartAirScanLegacyBrowsing,
_CPLUseLastPrinterAsCurrentPrinter, _CreateCStrFromEncodedValue,
_FindBestMediaForSheetSize, _GetPPDDefaultColorSpace, _GetPPDRefFromSession,
_MakePrinterDeviceIDFromStr, _PJCCopyArrayPresetPrintingPref,
_PJCCopyArrayPrintingPref, _PJCCopyBooleanPrintingPref, _PJCCopyDictionaryPresetPrintingPref,
_PJCCopyDictionaryPrintingPref, _PJCCopyNumberPresetPrintingPref,
_PJCCopyNumberPrintingPref, _PJCCopyPrinterPrimaryProfileFromSettings,
_PJCCopyStringPresetPrintingPref, _PJCCopyStringPrintingPref,
_PJCCreateAndLaunchPrinterProxy, _PJCCreateDefaultSaveToFileName,
_PJCCreateLocalizedNameFromPPDChoiceName, _PJCCreateLocalizedPaperName2,
_PJCCreateLocalizedPaperNameWithPPD, _PJCCreatePaperInfoListForMenuInternal,
_PJCCreateSuggestedPaper, _PJCGetCurrentProfileIDFromPPD,
_PJCIsMetric, _PJCLaunchPrintCenter, _PJCNewPageFormatWithPMPaper,
_PJCPrintSettingsCreateCustomProfileRef, _PJCPrintSettingsSetCustomProfilePath,
_PJCPrinterCopyFinishingTemplatesList, _PJCPrinterCopyReadyMediaList,
_PJCPrinterGetDeviceID, _PJCPrinterProxyCreateURL, _PJCPrinterSupportsFinishingTemplates,
_PJCPrinterSupportsReadyMedia, _PJCPrinterSupportsThisCustomPaper,
_PJCRunWorkflowWithRenamedPDF, _PJCSessionCreateCopyForAppKit,
_PJCSessionHasApplicationSetPrinter, _PJCSessionSetHideFileExtension,
_PJCSetPresetPrintingPref, _PJCSetPrintingPref, _PJCTicketGetSrcImageableArea,
_PJCTicketGetSrcOrientation, _PJCTicketGetSrcPaperSize, _PJCTicketGetSrcResolution,
_PJCTicketGetSrcScaling, _PMAnalyticsSendEventLazy, _PMBackendExecIO,
_PMCFEqual, _PMCGImageCreateWithEPSDataProvider, _PMConvertFile,
_PMCopyAvailablePPDs, _PMCopyLocalizedPPD, _PMCopyPPDData,
_PMCopyPageFormat, _PMCopyPrintSettings, _PMCopyUserDefaultPaperSize,
_PMCreateCFArrayForPMObjects, _PMCreateGenericPrinter, _PMCreatePageFormat,
_PMCreatePageFormatWithPMPaper, _PMCreatePaperInfoTicketFromPPDPaperName,
_PMCreatePrintSettings, _PMCreatePrinter, _PMCreateProxy,
_PMCreateSession, _PMFindProxy, _PMForceRelease, _PMGetAdjustedPageRect,
_PMGetAdjustedPaperRect, _PMGetCollate, _PMGetCopies, _PMGetDuplex,
_PMGetFirstPage, _PMGetLastPage, _PMGetOrientation, _PMGetPageFormatExtendedData,
_PMGetPageFormatPaper, _PMGetPageRange, _PMGetPrinterModel,
_PMGetReverseOrder, _PMGetScale, _PMGetUnadjustedPageRect,
_PMGetUnadjustedPaperRect, _PMInlineWorkflowCopyItems, _PMLaunchProxy,
_PMMonitorOnlineOfflineState, _PMPageFormatComputeAdjustedRects,
_PMPageFormatComputeAdjustedRectsWithPrinter, _PMPageFormatCreateDataRepresentation,
_PMPageFormatCreateWithDataRepresentation, _PMPageFormatGetPrinterID,
_PMPaperAddToUserPrefs, _PMPaperCopyUserPrefs, _PMPaperCreateCustom,
_PMPaperCreateInternal, _PMPaperCreateLocalizedName, _PMPaperCreatePMTicketRef,
_PMPaperGetHeight, _PMPaperGetID, _PMPaperGetMargins, _PMPaperGetPPDPaperName,
_PMPaperGetPrinterID, _PMPaperGetWidth, _PMPaperIsCustom,
_PMPaperRemoveFromUserPrefs, _PMPresetCopyName, _PMPresetCreatePrintSettings,
_PMPresetGetAttributes, _PMPrintSettingsCopyAsDictionary,
_PMPrintSettingsCopyKeys, _PMPrintSettingsCreateDataRepresentation,
_PMPrintSettingsCreateWithDataRepresentation, _PMPrintSettingsGetJobName,
_PMPrintSettingsGetValue, _PMPrintSettingsSetJobName, _PMPrintSettingsSetValue,
_PMPrintSettingsToOptions, _PMPrintSettingsToOptionsWithPrinterAndPageFormat,
_PMPrinterCanDuplex, _PMPrinterCanIdentify, _PMPrinterCanScan,
_PMPrinterChargeInfoURI, _PMPrinterCopyACL, _PMPrinterCopyDefaultUserCredentials,
_PMPrinterCopyDescriptionURL, _PMPrinterCopyDeviceURI, _PMPrinterCopyFinalDeviceURI,
_PMPrinterCopyHostName, _PMPrinterCopyMembers, _PMPrinterCopyPresets,
_PMPrinterCopyRequiredUserCredentials, _PMPrinterCopyScannerUUID,
_PMPrinterCopyScanningApp, _PMPrinterCopyScanningAppPath,
_PMPrinterCopyState, _PMPrinterCopySuppliesURI, _PMPrinterCopyTempPPDURL,
_PMPrinterCreateFromPrinterID, _PMPrinterCreatePaperInfoListForMenuPriv,
_PMPrinterGetCommInfo, _PMPrinterGetConsumables, _PMPrinterGetConsumablesDisclaimer,
_PMPrinterGetCustomPaperSizeHardwareMargins, _PMPrinterGetCustomPaperSizeHardwareSheetSize,
_PMPrinterGetDriverCreator, _PMPrinterGetDriverReleaseInfo,
_PMPrinterGetID, _PMPrinterGetIconData, _PMPrinterGetImage,
_PMPrinterGetIndexedPrinterResolution, _PMPrinterGetLanguageInfo,
_PMPrinterGetLocation, _PMPrinterGetMakeAndModelName, _PMPrinterGetMimeTypes,
_PMPrinterGetName, _PMPrinterGetOutputResolution, _PMPrinterGetPaperList,
_PMPrinterGetPrinterResolutionCount, _PMPrinterGetPrinterValue,
_PMPrinterGetState, _PMPrinterHasCustomPaperSizes, _PMPrinterIdentify,
_PMPrinterIsAirPrint, _PMPrinterIsAllowed, _PMPrinterIsClass,
_PMPrinterIsDefault, _PMPrinterIsDirectConnect, _PMPrinterIsFavorite,
_PMPrinterIsFax, _PMPrinterIsGenericPrinter, _PMPrinterIsLocked,
_PMPrinterIsPostScriptCapable, _PMPrinterIsPostScriptPrinter,
_PMPrinterIsRemote, _PMPrinterIsScanner, _PMPrinterIsShared,
_PMPrinterPrintWithFile, _PMPrinterPrintWithProvider, _PMPrinterRequiresAccountingInformation,
_PMPrinterRequiresUserCredentials, _PMPrinterSendCommand,
_PMPrinterSetACL, _PMPrinterSetConsumables, _PMPrinterSetConsumablesDisclaimer,
_PMPrinterSetConsumablesOptionalText, _PMPrinterSetDefault,
_PMPrinterSetFavorite, _PMPrinterSetLocation, _PMPrinterSetMarkerChangeTime,
_PMPrinterSetModel, _PMPrinterSetName, _PMPrinterSetOutputResolution,
_PMPrinterSetShared, _PMPrinterStartMonitoring, _PMPrinterStopMonitoring,
_PMPrinterSupportsMatchingMode, _PMPrinterUsesTCP, _PMPrinterWritePostScriptToURL,
_PMRelease, _PMRetain, _PMServerCopyJobLog, _PMServerCreateDeviceList,
_PMServerCreatePrinterList, _PMServerLaunchPrinterBrowser,
_PMSessionBeginCGDocumentNoDialog, _PMSessionBeginDocumentNoDialogPrivate,
_PMSessionBeginPageNoDialog, _PMSessionCopyApplicationOutputIntent,
_PMSessionCopyApplicationOutputIntentWithColorSyncProfiles,
_PMSessionCopyCurrentPrinterColorSyncProfile, _PMSessionCopyDefaultOutputIntent,
_PMSessionCopyDefaultOutputIntentWithColorSyncProfiles, _PMSessionCopyDestinationFormat,
_PMSessionCopyDestinationLocation, _PMSessionCopyOutputFormatList,
_PMSessionCreatePageFormatList, _PMSessionCreatePrinterList,
_PMSessionDefaultPageFormat, _PMSessionDefaultPrintSettings,
_PMSessionDisablePrinterPresetsPrivate, _PMSessionEnablePrinterPresetsPrivate,
_PMSessionEndDocumentNoDialog, _PMSessionEndPageNoDialog,
_PMSessionError, _PMSessionGetCGGraphicsContext, _PMSessionGetColorMatchingMode,
_PMSessionGetColorMatchingModeLock, _PMSessionGetCurrentPrinter,
_PMSessionGetDataFromSession, _PMSessionGetDestinationType,
_PMSessionGetDocumentTags, _PMSessionGetGenericPrinter, _PMSessionGetHideFileExtension,
_PMSessionSetApplicationOutputIntent, _PMSessionSetApplicationOutputIntentWithColorSyncProfiles,
_PMSessionSetColorMatchingMode, _PMSessionSetColorMatchingModeLock,
_PMSessionSetColorMatchingModeNoLock, _PMSessionSetCurrentPMPrinter,
_PMSessionSetDataInSession, _PMSessionSetDestination, _PMSessionSetDocumentTags,
_PMSessionSetError, _PMSessionSetHideFileExtension, _PMSessionValidatePageFormat,
_PMSessionValidatePrintSettings, _PMSetCollate, _PMSetCopies,
_PMSetDuplex, _PMSetFirstPage, _PMSetLastPage, _PMSetOrientation,
_PMSetPageFormatExtendedData, _PMSetPageRange, _PMSetReverseOrder,
_PMSetScale, _PMSetUserDefaultPaperSize, _PMTicketConfirmTicket,
_PMTicketContainsItem, _PMTicketCopy, _PMTicketCopyKeys, _PMTicketCreate,
_PMTicketCreateDict, _PMTicketCreateMutableDict, _PMTicketDeleteItem,
_PMTicketGetAllocator, _PMTicketGetBoolean, _PMTicketGetBytes,
_PMTicketGetCFArray, _PMTicketGetCFBoolean, _PMTicketGetCFData,
_PMTicketGetCFString, _PMTicketGetDouble, _PMTicketGetItem,
_PMTicketGetPMRect, _PMTicketGetSInt32, _PMTicketGetThisBoolean,
_PMTicketGetThisCString, _PMTicketGetThisItem, _PMTicketGetThisPMRect,
_PMTicketGetThisSInt32, _PMTicketGetThisTypedItem, _PMTicketGetTicket,
_PMTicketGetType, _PMTicketGetUInt32, _PMTicketGetUTF8String,
_PMTicketRelease, _PMTicketReleaseAndClear, _PMTicketReleaseItem,
_PMTicketRemoveTicket, _PMTicketRetain, _PMTicketSetBoolean,
_PMTicketSetBytes, _PMTicketSetCFBoolean, _PMTicketSetCFData,
_PMTicketSetCFString, _PMTicketSetCString, _PMTicketSetDouble,
_PMTicketSetItem, _PMTicketSetPMRect, _PMTicketSetSInt32,
_PMTicketSetTicket, _PMTicketSetUInt32, _PMTicketToLightXML,
_PMTicketToXML, _PMUpdateProxy, _PMWorkflowCopyItems, _PMWorkflowSubmitPDFWithOptions,
_PMWorkflowSubmitPDFWithSettings, _PMXMLToTicket, __PMLog,
__PMLogPerf, __ZN12PMBaseObject14SetAppReadOnlyEh, __ZN12PMBaseObject15CopyObjectStateEPS_,
__ZN12PMBaseObject16CreateEmptyArrayEv, __ZN12PMBaseObject21SetUsingRemoteObjectsEh,
__ZN14OpaquePMPresetC1EPK14__CFDictionary, __ZN14OpaquePMPresetC2EPK14__CFDictionary,
__ZN15OpaquePMPrinter14GetPrinterNameEv, __ZN15OpaquePMPrinter14IsQueueStoppedEv,
__ZN15OpaquePMPrinter16IsGenericPrinterEv, __ZN15OpaquePMPrinter19GetPaperListForMenuEv,
__ZN15OpaquePMPrinter19SetPaperListForMenuEPK9__CFArray, __ZN15OpaquePMPrinter22IsPrinterDirectConnectEv,
__ZN18OpaquePMPageFormat21PJCValidPageFormatKeyEPS_, __ZN18PMTicketBaseObject12GetTicketRefEv,
__ZN18PMTicketBaseObject12SetTicketRefEP17OpaquePMTicketRef,
__ZN18PMTicketBaseObject23ReleaseAndReplaceTicketEP17OpaquePMTicketRef,
__ZN20OpaquePMPrintSession10ClearErrorEv, __ZN20OpaquePMPrintSession10SetPreviewEhj,
__ZN20OpaquePMPrintSession12GetJobTicketEv, __ZN20OpaquePMPrintSession16GetXPCConnectionEv,
__ZN20OpaquePMPrintSession16SetXPCConnectionEPU24objcproto13OS_xpc_object8NSObject,
__ZN20OpaquePMPrintSession17GetCurrentPrinterEv, __ZN20OpaquePMPrintSession17SetCurrentPrinterEP15OpaquePMPrinter,
__ZN20OpaquePMPrintSession17SetCurrentPrinterEP15OpaquePMPrinterh,
__ZN20OpaquePMPrintSession19SetDataInDictionaryEPK10__CFStringPKv,
__ZN20OpaquePMPrintSession21GetEnablePresetsPopUpEv, __ZN20OpaquePMPrintSession21GetPresetGraphicsTypeEv,
__ZN20OpaquePMPrintSession21SetPresetGraphicsTypeEPK10__CFString,
__ZN20OpaquePMPrintSession23PJCValidPrintSessionKeyEPS_, __ZN20OpaquePMPrintSession24GetDefaultButtonTitleRefEv,
__ZN20OpaquePMPrintSession7PreviewEv, __ZN20OpaquePMPrintSession8GetErrorEv,
__ZN20OpaquePMPrintSession8GetStateEv, __ZN20OpaquePMPrintSession8SetErrorEi,
__ZN21OpaquePMPrintSettings14PJCGetLastPageEPj, __ZN21OpaquePMPrintSettings14PJCSetLastPageEP17OpaquePMTicketRefjhh,
__ZN21OpaquePMPrintSettings14PJCSetLastPageEjhh, __ZN21OpaquePMPrintSettings15PJCGetFirstPageEPj,
__ZN21OpaquePMPrintSettings17PJCGetDestinationEPtPPK7__CFURL,
__ZN21OpaquePMPrintSettings17PJCSetDestinationEtPK7__CFURL,
__ZN21OpaquePMPrintSettings24PJCValidPrintSettingsKeyEPS_,
_getCurrentMonochromeProfileID, _getMatchedMediaNameFromPrinter,
_getMediaNameFromPaperInfo, _getPDFSpoolingFunctionCallbacks,
_parsePostScriptStatus, _printUIToolCreateConnection, _printUIToolGetAuthenticationInfo,
_printUIToolPrintFD ]
objc-classes: [ PMInkChecker ]
objc-ivars: [ PMInkChecker._consumables, PMInkChecker._printer, PMInkChecker._supplies ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMDefinitions.h | /*
File: PrintCore/PMDefinitions.h
Contains: Carbon Printing Manager Interfaces.
Copyright (c) 1998-2006,2008 by Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PMDEFINITIONS__
#define __PMDEFINITIONS__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
/* Printing objects */
typedef const void * PMObject;
typedef struct OpaquePMPrintSettings* PMPrintSettings;
typedef struct OpaquePMPageFormat* PMPageFormat;
typedef struct OpaquePMPrintSession* PMPrintSession;
typedef struct OpaquePMPrinter* PMPrinter;
typedef struct OpaquePMServer* PMServer;
typedef struct OpaquePMPreset* PMPreset;
typedef struct OpaquePMPaper* PMPaper;
enum {
kPMCancel = 0x0080 /* user hit cancel button in dialog */
};
#define kPMNoData NULL /* for general use */
#define kPMDontWantSize NULL /* for parameters which return size information */
#define kPMDontWantData NULL /* for parameters which return data */
#define kPMDontWantBoolean NULL /* for parameters which take a boolean reference */
#define kPMNoReference NULL /* for parameters which take an address pointer */
#define kPMDuplexDefault kPMDuplexNone /* Default duplex value */
/* for parameters which take a PrintSettings reference */
#define kPMNoPrintSettings ((PMPrintSettings)NULL)
/* for parameters which take a PageFormat reference */
#define kPMNoPageFormat ((PMPageFormat)NULL)
/* for parameters which take a Server reference */
#define kPMServerLocal ((PMServer)NULL)
typedef UInt16 PMDestinationType;
enum {
kPMDestinationInvalid = 0,
kPMDestinationPrinter = 1,
kPMDestinationFile = 2,
kPMDestinationFax = 3,
kPMDestinationPreview = 4,
kPMDestinationProcessPDF = 5
};
#define kPMDestinationTypeDefault kPMDestinationPrinter
typedef UInt16 PMOrientation;
enum {
kPMPortrait = 1,
kPMLandscape = 2,
kPMReversePortrait = 3, /* will revert to kPortrait for current drivers */
kPMReverseLandscape = 4 /* will revert to kLandscape for current drivers */
};
/* Printer states */
typedef UInt16 PMPrinterState;
enum {
kPMPrinterIdle = 3,
kPMPrinterProcessing = 4,
kPMPrinterStopped = 5
};
typedef UInt32 PMColorSpaceModel;
enum {
kPMUnknownColorSpaceModel = 0,
kPMGrayColorSpaceModel = 1,
kPMRGBColorSpaceModel = 2,
kPMCMYKColorSpaceModel = 3,
kPMDevNColorSpaceModel = 4
};
#define kPMColorSpaceModelCount 4 /* total number of color space models supported */
/* Print quality modes "standard options" */
typedef UInt32 PMQualityMode;
enum {
kPMQualityLowest = 0x0000, /* Absolute lowest print quality */
kPMQualityInkSaver = 0x0001, /* Saves ink but may be slower */
kPMQualityDraft = 0x0004, /* Print at highest speed, ink used is secondary consideration */
kPMQualityNormal = 0x0008, /* Print in printers "general usage" mode for good balance between quality and speed */
kPMQualityPhoto = 0x000B, /* Optimize quality of photos on the page. Speed is not a concern */
kPMQualityBest = 0x000D, /* Get best quality output for all objects and photos. */
kPMQualityHighest = 0x000F /* Absolute highest quality attained from a printers */
};
/* Constants for our "standard" paper types */
typedef UInt32 PMPaperType;
enum {
kPMPaperTypeUnknown = 0x0000, /* Not sure yet what paper type we have. */
kPMPaperTypePlain = 0x0001, /* Plain paper */
kPMPaperTypeCoated = 0x0002, /* Has a special coating for sharper images and text */
kPMPaperTypePremium = 0x0003, /* Special premium coated paper */
kPMPaperTypeGlossy = 0x0004, /* High gloss special coating */
kPMPaperTypeTransparency = 0x0005, /* Used for overheads */
kPMPaperTypeTShirt = 0x0006 /* Used to iron on t-shirts */
};
/* Scaling alignment: */
typedef UInt16 PMScalingAlignment;
enum {
kPMScalingPinTopLeft = 1,
kPMScalingPinTopRight = 2,
kPMScalingPinBottomLeft = 3,
kPMScalingPinBottomRight = 4,
kPMScalingCenterOnPaper = 5,
kPMScalingCenterOnImgArea = 6
};
/* Duplex Mode: */
typedef UInt32 PMDuplexMode;
enum {
kPMDuplexNone = 0x0001, /* Print only on one side of sheet of paper */
kPMDuplexNoTumble = 0x0002, /* Print on both sides of the paper, with no tumbling. */
kPMDuplexTumble = 0x0003, /* Print on both sides of the paper, tumbling on. */
kPMSimplexTumble = 0x0004 /* Print on only one side of the paper, but tumble the images while printing. */
};
/* Layout directions: */
typedef UInt16 PMLayoutDirection;
enum {
/* Horizontal-major directions: */
kPMLayoutLeftRightTopBottom = 1, /* English reading direction. */
kPMLayoutLeftRightBottomTop = 2,
kPMLayoutRightLeftTopBottom = 3,
kPMLayoutRightLeftBottomTop = 4, /* Vertical-major directions: */
kPMLayoutTopBottomLeftRight = 5,
kPMLayoutTopBottomRightLeft = 6,
kPMLayoutBottomTopLeftRight = 7,
kPMLayoutBottomTopRightLeft = 8
};
/* Page borders: */
typedef UInt16 PMBorderType;
enum {
kPMBorderSingleHairline = 1,
kPMBorderDoubleHairline = 2,
kPMBorderSingleThickline = 3,
kPMBorderDoubleThickline = 4
};
/*
Options for which items to show inline in the print dialog
This is only meant to be used in Carbon environment
*/
typedef OptionBits PMPrintDialogOptionFlags;
enum {
kPMHideInlineItems = (0L << 0), /* show nothing in the inline portion of print dialog */
kPMShowDefaultInlineItems = (1L << 15), /* show the default set of items (copies & pages) in the inline portion of print dialog */
kPMShowInlineCopies = (1L << 0), /* show Copies edit text, Collate check box and Two Sided check box (if printer supports it) in top portion of print dialog */
kPMShowInlinePageRange = (1L << 1), /* show Paper Range buttons and From & To Page edit text items in top portion of print dialog */
kPMShowInlinePageRangeWithSelection = (1L << 6), /* show Paper Range buttons with the addition of a Selection button and the From & To Page edit text items in top portion of print dialog */
kPMShowInlinePaperSize = (1L << 2), /* show Paper Size popup menu in top portion of print dialog */
kPMShowInlineOrientation = (1L << 3), /* show Orientation buttons in top portion of print dialog */
kPMShowInlineScale = (1L << 7), /* show Scaling edit text in top portion of print dialog */
kPMShowPageAttributesPDE = (1L << 8), /* add a PDE to the print dialog that contains the Page Setup information (paper size, orientation and scale) */
};
typedef UInt16 PMPPDDomain;
enum {
kAllPPDDomains = 1,
kSystemPPDDomain = 2,
kLocalPPDDomain = 3,
kNetworkPPDDomain = 4,
kUserPPDDomain = 5,
kCUPSPPDDomain = 6
};
/* Description types */
#define kPMPPDDescriptionType CFSTR("PMPPDDescriptionType")
/* Document format strings */
#define kPMDocumentFormatDefault CFSTR("com.apple.documentformat.default")
#define kPMDocumentFormatPDF CFSTR("application/pdf")
#define kPMDocumentFormatPostScript CFSTR("application/postscript")
/* Graphic context strings */
#define kPMGraphicsContextDefault CFSTR("com.apple.graphicscontext.default")
#define kPMGraphicsContextCoreGraphics CFSTR("com.apple.graphicscontext.coregraphics")
/* PDF Workflow Keys */
#define kPDFWorkflowItemURLKey CFSTR("itemURL")
#define kPDFWorkflowDisplayNameKey CFSTR("displayName")
#define kPDFWorkflowItemsKey CFSTR("items")
#define kPDFWorkflowModifiedKey CFSTR("wasModifiedInline")
/* Print Selection Title string */
#define kPMPrintSelectionTitleKey CFSTR("com.apple.printSelection.title")
/* OSStatus return codes */
enum {
kPMNoError = noErr,
kPMGeneralError = -30870,
kPMOutOfScope = -30871, /* an API call is out of scope */
kPMInvalidParameter = paramErr, /* a required parameter is missing or invalid */
kPMNoDefaultPrinter = -30872, /* no default printer selected */
kPMNotImplemented = -30873, /* this API call is not supported */
kPMNoSuchEntry = -30874, /* no such entry */
kPMInvalidPrintSettings = -30875, /* the printsettings reference is invalid */
kPMInvalidPageFormat = -30876, /* the pageformat reference is invalid */
kPMValueOutOfRange = -30877, /* a value passed in is out of range */
};
enum {
kPMInvalidPrintSession = -30879, /* the print session is invalid */
kPMInvalidPrinter = -30880, /* the printer reference is invalid */
kPMObjectInUse = -30881, /* the object is in use */
kPMInvalidPreset = -30899/* the preset is invalid */
};
enum {
kPMPrintAllPages = -1
};
enum {
kPMUnlocked = false
};
struct PMRect {
double top;
double left;
double bottom;
double right;
};
typedef struct PMRect PMRect;
struct PMResolution {
double hRes;
double vRes;
};
typedef struct PMResolution PMResolution;
struct PMLanguageInfo {
Str32 level;
Str32 version;
Str32 release;
};
typedef struct PMLanguageInfo PMLanguageInfo;
typedef PMRect PMPaperMargins;
/*
PMDataFormat is used with PMPrintSettingsCreateWithDataRepresentation and
PMPageFormatCreateDataRepresentation to specify the format of the data representation created.
kPMDataFormatXMLDefault specifies a data format that is compatible with all Mac OS X versions. Data in
this format can be used with the PMUnflattenXXX routines present in all versions of Mac OS X prior to 10.5.
However, this data representation is much larger than the more modern data representations described below.
kPMDataFormatXMLMinimal is only compatible and usable with Mac OS X version 10.5 and later.
Data in this format can be only be reconsistuted into the equivalent printing manager object with
the appropriate PMXXXCreateWithDataRepresentation function. The data representation produced when
using kPMDataFormatXMLMinimal is approximately 3-5 times smaller than kPMDataFormatXMLDefault. This
format is a good choice when execution on versions of Mac OS X prior to 10.5 is not necessary and
an uncompressed XML representation of the data is needed.
kPMDataFormatXMLCompressed is only compatible and usable with Mac OS X version 10.5 and later.
Data in this format can be only be reconsistuted into the equivalent printing manager object with the
appropriate PMXXXCreateWithDataRepresentation function. The data representation produced when
using kPMDataFormatXMLCompressed is approximately 20 times smaller than kPMDataFormatXMLDefault.
This format is a good choice when execution on versions of Mac OS X prior to 10.5 is not necessary and
the minimum data size is important.
*/
enum PMDataFormat {
kPMDataFormatXMLDefault = 0,
kPMDataFormatXMLMinimal = 1,
kPMDataFormatXMLCompressed = 2
};
typedef enum PMDataFormat PMDataFormat;
/* PMPreset related */
/*
kPMPresetGraphicsTypeKey is a PMPreset attribute that specifies the graphics type of a given preset
*/
#define kPMPresetGraphicsTypeKey CFSTR("com.apple.print.preset.graphicsType")
/*
kPMPresetGraphicsTypePhoto is the graphics type of presets appropriate for printing photos.
*/
#define kPMPresetGraphicsTypePhoto CFSTR("Photo")
/*
kPMPresetGraphicsTypeAll includes all graphics types.
*/
#define kPMPresetGraphicsTypeAll CFSTR("All")
/*
kPMPresetGraphicsTypeGeneral is a graphics type that is not specific to any type of document printing.
*/
#define kPMPresetGraphicsTypeGeneral CFSTR("General")
/*
kPMPresetGraphicsTypeNone excludes all graphics types.
*/
#define kPMPresetGraphicsTypeNone CFSTR("None")
#endif /* __PMDEFINITIONS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintAETypes.h | /*
File: PMPrintAETypes.h
Contains: Mac OS X Printing Manager AE definitions.
Version: Technology: Mac OS X
Release: 1.0
Copyright (c) 2003,2008 by Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PMPrintAETypes__
#define __PMPrintAETypes__
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define kPMPrintSettingsAEType 'pset'
#define kPMShowPrintDialogAEType 'pdlg'
#define kPMPrinterAEType 'trpr'
#define kPMCopiesAEProp "copies"
#define kPMCopiesAEKey 'lwcp'
#define kPMCopieAEType typeSInt32
#define kPMCollateAEProp "collating"
#define kPMCollateAEKey 'lwcl'
#define kPMCollateAEType typeBoolean
#define kPMFirstPageAEProp "starting page"
#define kPMFirstPageAEKey 'lwfp'
#define kPMFirstPageAEType typeSInt32
#define kPMLastPageAEProp "ending page"
#define kPMLastPageAEKey 'lwlp'
#define kPMLastPageAEType typeSInt32
#define kPMLayoutAcrossAEProp "pages across"
#define kPMLayoutAcrossAEKey 'lwla'
#define kPMLayoutAcrossAEType typeSInt32
#define kPMLayoutDownAEProp "pages down"
#define kPMLayoutDownAEKey 'lwld'
#define kPMLayoutDownAEType typeSInt32
#define kPMErrorHandlingAEProp "error handling"
#define kPMErrorHandlingAEKey 'lweh'
#define kPMErrorHandlingAEType typeEnumerated
#define kPMPrintTimeAEProp "requested print time"
#define kPMPrintTimeAEKey 'lwqt'
#define kPMPrintTimeAEType cLongDateTime
#define kPMFeatureAEProp "printer features"
#define kPMFeatureAEKey 'lwpf'
#define kPMFeatureAEType typeAEList
#define kPMFaxNumberAEProp "fax number"
#define kPMFaxNumberAEKey 'faxn'
#define kPMFaxNumberAEType typeChar
#define kPMTargetPrinterAEProp "target printer"
#define kPMTargetPrinterAEKey 'trpr'
#define kPMTargetPrinterAEType typeChar
// Overrides all other settings
#define kPMPDFWorkFlowAEProp "PDF work flow"
#define kPMPDFWorkFlowAEKey 'wrkf'
#define kPMPDFWorkFlowAEType typeUTF8Text
// Overrides all other settings except kPMPDFWorkFlowAEProp
// Can optionally target a specific printer's preset by setting kPMTargetPrinterAEProp
// Search order is as follows: custom per printer presets, general printer presets, global presets
#define kPMPresetAEProp "preset"
#define kPMPresetAEKey 'prst'
#define kPMPresetAEType typeUTF8Text
// Pass in where to save the file Ex. "/tmp/foo.pdf"
#define kPMSaveAsPDFAEProp "save as PDF"
#define kPMSaveAsPDFAEKey 'spdf'
#define kPMSaveAsPDFAEType typeFileURL
// Pass in where to save the file Ex. "/tmp/foo.ps"
#define kPMSaveAsPSAEProp "save as PS"
#define kPMSaveAsPSAEKey 'sps '
#define kPMSaveAsPSAEType typeFileURL
/*** Enumerations ***/
/* For kPMErrorHandlingAEType */
#define kPMErrorHandlingStandardEnum 'lwst'
#define kPMErrorHandlingDetailedEnum 'lwdt'
#ifdef __cplusplus
}
#endif
#endif // __PRINTAETYPES__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintSettingsKeys.h | /*
File: PMPrintSettingsKeys.h
Contains: Mac OS X Printing Manager Print Settings Keys.
Version: Technology: Mac OS X
Release: 1.0
Copyright (c) 2008 by Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PMPRINTSETTINGSKEYS__
#define __PMPRINTSETTINGSKEYS__
#ifdef __cplusplus
extern "C" {
#endif
#define kPMCopiesStr "com.apple.print.PrintSettings.PMCopies"
#define kPMCopiesKey CFSTR( kPMCopiesStr ) /* CFNumber, kCFNumberSInt32Type, number of copies to print. */
#define kPMCopyCollateStr "com.apple.print.PrintSettings.PMCopyCollate"
#define kPMCopyCollateKey CFSTR( kPMCopyCollateStr ) /* CFBoolean, Turns on collating */
#define kPMOutputOrderStr "OutputOrder"
#define kPMOutputOrderKey CFSTR(kPMOutputOrderStr) /* CFString, Reverse or Normal. default is Printer Specific */
#define kPMPageSetStr "page-set"
#define kPMPageSetKey CFSTR(kPMPageSetStr) /* CFString, even, odd, or all. default is all */
#define kPMMirrorStr "mirror"
#define kPMMirrorKey CFSTR(kPMMirrorStr) /* CFString, true or false. default is false */
#define kPMPrintSelectionOnlyStr "com.apple.print.PrintSettings.PMPrintSelectionOnly"
#define kPMPrintSelectionOnlyKey CFSTR( kPMPrintSelectionOnlyStr ) /* CFBoolean - True if only current selection should be printed. */
#define kPMBorderStr "com.apple.print.PrintSettings.PMBorder"
#define kPMBorderKey CFSTR( kPMBorderStr ) /* CFBoolean - If true, we do borders. */
#define kPMBorderTypeStr "com.apple.print.PrintSettings.PMBorderType"
#define kPMBorderTypeKey CFSTR( kPMBorderTypeStr ) /* CFNumber - kCFNumberSInt32Type, Enum (PMBorderType) */
#define kPMLayoutNUpStr "com.apple.print.PrintSettings.PMLayoutNUp"
#define kPMLayoutNUpKey CFSTR( kPMLayoutNUpStr ) /* CFBoolean, Turns on N-Up layout. */
#define kPMLayoutRowsStr "com.apple.print.PrintSettings.PMLayoutRows"
#define kPMLayoutRowsKey CFSTR( kPMLayoutRowsStr ) /* CFNumber - kCFNumberSInt32Type, indicates number of layout rows. */
#define kPMLayoutColumnsStr "com.apple.print.PrintSettings.PMLayoutColumns"
#define kPMLayoutColumnsKey CFSTR( kPMLayoutColumnsStr ) /* CFNumber - kCFNumberSInt32Type, indicates number of layout columns. */
#define kPMLayoutDirectionStr "com.apple.print.PrintSettings.PMLayoutDirection"
#define kPMLayoutDirectionKey CFSTR( kPMLayoutDirectionStr ) /* CFNumber - kCFNumberSInt32Type, Enum (PMLayoutDirection) */
#define kPMLayoutTileOrientationStr "com.apple.print.PrintSettings.PMLayoutTileOrientation"
#define kPMLayoutTileOrientationKey CFSTR( kPMLayoutTileOrientationStr ) /* CFNumber - kCFNumberSInt32Type, PMOrientation, 1 = portrait, 2 = landscape, etc. */
#define kPMJobStateStr "com.apple.print.PrintSettings.PMJobState"
#define kPMJobStateKey CFSTR( kPMJobStateStr ) /* CFNumber - kCFNumberSInt32Type, Enum, active = 0, pending, hold until, hold indefinitely, aborted, finished */
#define kPMJobHoldUntilTimeStr "com.apple.print.PrintSettings.PMJobHoldUntilTime"
#define kPMJobHoldUntilTimeKey CFSTR( kPMJobHoldUntilTimeStr ) /* CFDate - Time we expect to print the job. */
#define kPMJobPriorityStr "com.apple.print.PrintSettings.PMJobPriority"
#define kPMJobPriorityKey CFSTR( kPMJobPriorityStr ) /* CFNumber - kCFNumberSInt32Type, Enum, Low = 0, normal, urgent */
#define kPMDuplexingStr "com.apple.print.PrintSettings.PMDuplexing"
#define kPMDuplexingKey CFSTR( kPMDuplexingStr ) /* CFNumber - kCFNumberSInt32Type, Enum, kPMDuplexNone, kPMDuplexNoTumble, kPMDuplexTumble, kPMSimplexTumble */
#define kPMColorSyncProfileIDStr "com.apple.print.PrintSettings.PMColorSyncProfileID"
#define kPMColorSyncProfileIDKey CFSTR( kPMColorSyncProfileIDStr ) /* CFNumber - kCFNumberSInt32Type, ID of profile to use. */
#define kPMPrimaryPaperFeedStr "com.apple.print.PrintSettings.PMPrimaryPaperFeed"
#define kPMPrimaryPaperFeedKey CFSTR( kPMPrimaryPaperFeedStr ) /* CFArray - main & option PPD key for input paper feed */
#define kPMSecondaryPaperFeedStr "com.apple.print.PrintSettings.PMSecondaryPaperFeed"
#define kPMSecondaryPaperFeedKey CFSTR( kPMSecondaryPaperFeedStr ) /* CFArray - main & option PPD key for input paper feed */
#define kPMPSErrorHandlerStr "com.apple.print.PrintSettings.PMPSErrorHandler"
#define kPMPSErrorHandlerKey CFSTR( kPMPSErrorHandlerStr ) /* CFNumber - kCFNumberSInt32Type */
#define kPMPSTraySwitchStr "com.apple.print.PrintSettings.PMPSTraySwitch"
#define kPMPSTraySwitchKey CFSTR( kPMPSTraySwitchStr ) /* CFArray - main & option PPD key for tray switching */
#define kPMTotalBeginPagesStr "com.apple.print.PrintSettings.PMTotalBeginPages"
#define kPMTotalBeginPagesKey CFSTR( kPMTotalBeginPagesStr ) /* CFNumber the total number of times beginpage was called */
#define kPMTotalSidesImagedStr "com.apple.print.PrintSettings.PMTotalSidesImaged"
#define kPMTotalSidesImagedKey CFSTR( kPMTotalSidesImagedStr ) /* CFNumber the total number of sides that will printed. Does not take into account duplex and collation */
#define kPMFitToPageStr "fit-to-page"
#define kPMFitToPageKey CFSTR( kPMFitToPageStr ) /* CFString - If CFSTR("true"), orient, scale to fit and/or center each page as appropriate. Default value: CFSTR("false"). */
#define kPMUseOptionalPINStr "com.apple.print.PrintSettings.PMUseOptionalPIN"
#define kPMUseOptionalPINKey CFSTR( kPMUseOptionalPINStr ) /* CFBoolean - requires PIN to print */
#define kPMUseOptionalAccountIDStr "com.apple.print.PrintSettings.PMUseOptionalAccountID"
#define kPMUseOptionalAccountIDKey CFSTR( kPMUseOptionalAccountIDStr ) /* CFBoolean - Uses optional AccountID for job */
/* Fax Related */
#define kPMFaxNumberStr "phone"
#define kPMFaxNumberKey CFSTR( kPMFaxNumberStr ) /* CFString - fax number to dial */
#define kPMFaxToStr "faxTo"
#define kPMFaxToKey CFSTR( kPMFaxToStr ) /* CFString - entire fax to line */
#define kPMFaxPrefixStr "faxPrefix"
#define kPMFaxPrefixKey CFSTR( kPMFaxPrefixStr ) /* CFString - fax prefix to dial */
#define kPMFaxSubjectStr "faxSubject"
#define kPMFaxSubjectKey CFSTR( kPMFaxSubjectStr ) /* CFString - fax subject linee*/
#define kPMFaxCoverSheetStr "faxCoverSheet"
#define kPMFaxCoverSheetKey CFSTR( kPMFaxCoverSheetStr ) /* CFString - fax cover sheet */
#define kPMFaxCoverSheetMessageStr "faxCoverSheetMessage"
#define kPMFaxCoverSheetMessageKey CFSTR( kPMFaxCoverSheetMessageStr ) /* CFString - fax cover sheet message*/
#define kPMFaxToneDialingStr "faxToneDialing"
#define kPMFaxToneDialingKey CFSTR( kPMFaxToneDialingStr ) /* CFString - fax use tone dialing */
#define kPMFaxUseSoundStr "faxUseSound"
#define kPMFaxUseSoundKey CFSTR( kPMFaxUseSoundStr ) /* CFString - fax use sound */
#define kPMFaxWaitForDialToneStr "faxWaitForDialTone"
#define kPMFaxWaitForDialToneKey CFSTR( kPMFaxWaitForDialToneStr ) /* CFString - fax wait for dial tone */
#define kPMFaxToLabelStr "faxToLabel"
#define kPMFaxToLabelKey CFSTR( kPMFaxToLabelStr ) /* CFString - To: label */
#define kPMFaxFromLabelStr "faxFromLabel"
#define kPMFaxFromLabelKey CFSTR( kPMFaxFromLabelStr ) /* CFString - From: label */
#define kPMFaxDateLabelStr "faxDateLabel"
#define kPMFaxDateLabelKey CFSTR( kPMFaxDateLabelStr ) /* CFString - Date: label */
#define kPMFaxSubjectLabelStr "faxSubjectLabel"
#define kPMFaxSubjectLabelKey CFSTR( kPMFaxSubjectLabelStr ) /* CFString - Subject: label */
#define kPMFaxSheetsLabelStr "faxSheetsLabel"
#define kPMFaxSheetsLabelKey CFSTR( kPMFaxSheetsLabelStr ) /* CFString - Sheets to Follow: label */
/* Coverpage Related */
#define kPMCoverPageStr "com.apple.print.PrintSettings.PMCoverPage"
#define kPMCoverPageKey CFSTR( kPMCoverPageStr ) /* CFNumber - kCFNumberSInt32Type, Enum, kPMCoverPageNone, kPMCoverPageBefore, kPMCoverPageAfter */
/* The values for kPMCoverPageKey */
enum {
kPMCoverPageNone = 1,
// Print a cover page before printing the document.
kPMCoverPageBefore = 2,
// Print a cover page after printing the document.
kPMCoverPageAfter = 3
};
/* If the kPMDuplexingKey is not in a print settings then kPMDuplexDefault should be assumed.
*/
#define kPMCoverPageDefault (kPMCoverPageNone)
#define kPMCoverPageSourceStr "com.apple.print.PrintSettings.PMCoverPageSource"
#define kPMCoverPageSourceKey CFSTR( kPMCoverPageSourceStr ) /* CFArray - main & option PPD key for cover page paper source */
#define kPMDestinationPrinterIDStr "DestinationPrinterID"
#define kPMDestinationPrinterIDKey CFSTR( kPMDestinationPrinterIDStr ) /* CFStringRef - the printer ID corresponding to the destination printer */
#define kPMInlineWorkflowStr "inlineWorkflow"
#define kPMInlineWorkflowKey CFSTR( kPMInlineWorkflowStr ) /* CFStringRef - the URL for the inline workflow item that will process this job */
#define kPMPageToPaperMappingTypeStr "com.apple.print.PageToPaperMappingType"
#define kPMPageToPaperMappingTypeKey CFSTR(kPMPageToPaperMappingTypeStr) /* a CFNumber - values from PMPageToPaperMappingType */
#define kPMPageToPaperMediaNameStr "com.apple.print.PageToPaperMappingMediaName"
#define kPMPageToPaperMediaNameKey CFSTR(kPMPageToPaperMediaNameStr) /* a CFString - the untranslated media name for the destination sheet */
#define kPMPageToPaperMappingAllowScalingUpStr "com.apple.print.PageToPaperMappingAllowScalingUp"
#define kPMPageToPaperMappingAllowScalingUpKey CFSTR(kPMPageToPaperMappingAllowScalingUpStr) /* a CFBoolean - if true, allow scaling up to fit
destination sheet, otherwise do not scale
up if destination sheet is larger than formatting
sheet. Default value: false. */
/*
The kPMCustomProfilePathKey key stores a CFString that corresponds to a custom profile setting for a given printer.
*/
#define kPMCustomProfilePathStr "PMCustomProfilePath"
#define kPMCustomProfilePathKey CFSTR( kPMCustomProfilePathStr )
/* Page to Paper Mapping Types */
typedef enum{
kPMPageToPaperMappingNone = 1,
kPMPageToPaperMappingScaleToFit,
}PMPageToPaperMappingType;
/* Possible values for the kPMColorMatchingModeKey*/
#define kPMVendorColorMatchingStr "AP_VendorColorMatching"
#define kPMVendorColorMatching CFSTR( kPMVendorColorMatchingStr )
#define kPMApplicationColorMatchingStr "AP_ApplicationColorMatching"
#define kPMApplicationColorMatching CFSTR( kPMApplicationColorMatchingStr )
#define kPMColorMatchingModeStr "AP_ColorMatchingMode"
#define kPMColorMatchingModeKey CFSTR( kPMColorMatchingModeStr ) /* Value is CFStringRef - one of kPMColorSyncMatching (deprecated),
kPMVendorColorMatching, kPMApplicationColorMatching */
/* Begin: Use of these keys is discouraged. Use PMSessionSetDestination, PMSessionGetDestinationType, PMSessionCopyDestinationFormat, and PMSessionCopyDestinationLocation instead */
#define kPMDestinationTypeStr "com.apple.print.PrintSettings.PMDestinationType"
#define kPMDestinationTypeKey CFSTR( kPMDestinationTypeStr ) /* CFNumber, kCFNumberSInt32Type kPMDestinationPrinter kPMDestinationFile kPMDestinationFax, etc. */
#define kPMOutputFilenameStr "com.apple.print.PrintSettings.PMOutputFilename"
#define kPMOutputFilenameKey CFSTR( kPMOutputFilenameStr ) /* CFString - URL for the output filename. */
/* End: Use of these keys is discouraged. Use PMSessionSetDestination, PMSessionGetDestinationType, PMSessionCopyDestinationFormat, and PMSessionCopyDestinationLocation instead */
#ifdef __cplusplus
}
#endif
#endif /* __PMPRINTSETTINGSKEYS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PDEPluginInterface.h | /*
File: PDEPluginInterface.h
Contains: Mac OS X Printing Manager Print Dialog Extensions Interfaces.
Version: Technology: Mac OS X
Release: 1.0
Copyright (c) 2004-2008 Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PDEPLUGININTERFACE__
#define __PDEPLUGININTERFACE__
#import <cups/cups.h>
#import <cups/ppd.h>
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
NS_ASSUME_NONNULL_BEGIN
@class NSView;
/*!
* @name PDEPlugIn
* @abstract An instance implementing methods in the PDEPlugIn informal protocol protocol
* acts as a factory for PDEPanels. The factory is provided with the type
* of printer panel needed (page setup or print dialog) as well as
* the current printer. It can use this information to determine which
* PDEPanels should be created.
*
*/
@interface NSObject(PDEPlugIn)
/*!
* @method initWithBundle:
* @abstract Called once when the PDE plug-in is loaded. When using a sandbox
* application, if the PDE plug-in does not declare itself sandbox-compatible,
* the PDE is loaded to get its name and is then unloaded. The PDE is reloaded when
* it is selected in the PDE menu or when the user selects the print button.
*
* @param theBundle The plug-in's bundle.
*
* @result Returns YES if initialization succeeded and NO otherwise.
*/
- (BOOL)initWithBundle:(NSBundle*)theBundle;
/*!
* @method PDEPanelsForType:withHostInfo:
* @abstract Returns an array of instances conforming to the PDEPanel informal protocol.
*
* @param pdeType The type of print panels that should be returned. These kinds are
* defined in PMPrintingDialogExtensions.h and include:
* kGeneralPageSetupDialogTypeIDStr
* - Panels that should be shown in the page setup dialog.
* kGeneralPrintDialogTypeIDStr
* - Panels that should be shown in the print dialog.
*
* @param host A print system provided instance that implements methods from the informal protocol
* PDEPlugInCallbackProtocol. The PDEPlugIn can use this parameter to
* obtain the current printer or print setting in order to filter the
* available panels if there are printer specific PDEPanels in the PDEPlugIn.
*
* @result An array of instances implementing methods from the PDEPanel informal protocol.
* Each instance represents a panel that will be shown in the printer dialog.
* The method may return either nil or an empty array if no panels should be used.
*/
- (nullable NSArray*)PDEPanelsForType:(NSString*)pdeType withHostInfo:(id)host;
@end
/*!
* @name PDEPanel
* @abstract A print dialog plugin should have an instance implementing methods
* from the PDEPanel informal protocol. Each such instance handles a single
* print dialog panel.
*
*/
@interface NSObject(PDEPanel)
/*!
* @method willShow
* @abstract The panel should complete any final preperations it needs
* before the panel is shown.
*
* @discussion The panel may want to use this method to lazily prepare
* its user interface.
*
*/
- (void)willShow;
/*!
* @method shouldHide
* @abstract Prepare the panel to be removed from the user's sight.
*
* @discussion This method is invoked by the print system just before the panel is
* removed fromthe user's sight. The panel can use this opportunity
* for any final interaction with the user, perhaps to check the user's
* input. A panel that needs more interaction with the user, perhaps
* because some of the input values were invalid, should return NO.
* Returning YES indicates that the panel can be hidden, probably to
* show another panel or to dismiss the printing dialog.
*
* @result Return YES if it is okay to hide panel and NO otherwise.
*/
- (BOOL)shouldHide;
/*!
* @method saveValuesAndReturnError:
* @abstract Take the values from the panel's user interface and write them to
* the appropriate settings.
*
* @discussion This is the panel's chance to write the values from its user interface
* controls to the permanent store. Depending upon the panel type the values may
* be stored in the print settings or into the page format. Panels of type
* kGeneralPageSetupDialogTypeIDStr will generally store values into the page
* format while panels of type kGeneralPrintDialogTypeIDStr will write to
* the print settings. The panel should use the provided PDEPlugInCallbackProtocol
* to obtain the settings and tickets it needs to write into.
*
* A panel will usually be asked to write its values when the user dismisses
* the dialog, other than via cancel, or when the user has asked that a preset
* be saved.
*/
- (BOOL)saveValuesAndReturnError:(NSError**)error;
/*!
* @method restoreValuesAndReturnError
* @abstract Set the panel's user interface elements based upon the appropriate settings.
*
* @discussion The panel should refresh its user interface elements by reading values from
* the page format or print settings. The panel should use the provided
* PDEPlugInCallbackProtocol to obtain the settings and tickets it needs to read.
*
* A panel will usually be asked to read its setting just before it is first
* shown and when the user selects a new preset.
*/
- (BOOL)restoreValuesAndReturnError:(NSError**)error;
/*!
* @method supportedPPDOptionKeys
* @abstract The panel takes responsability for displaying user interface elements for the
* PPD option keys returned from this call.
*
* @discussion Any PPD option keys not claimed by a PDEPanel are provided with a dynamically built
* user interface in the Printer Features panel.
*/
- (nullable NSArray*)supportedPPDOptionKeys;
/*!
* @method PPDOptionKeyValueDidChange
* @abstract Inform the panel that, external to the panel, the specified PPD
* choice has been made.
*
* @discussion During PPD conflict resolution the choice for a panel controlled PPD option
* may need to be changed by another panel. This call informs the panel
* that a setting has been changed. The panel should update any internal data it maintains
* in regards to this PPD option key.
*
* The 'option' and 'choice' values are taken from the printer's PPD. For
* example the PPD fragment:
*
* *OpenUI *TraySwitch/Tray Switch: Boolean
* *TraySwitch True/On: "1 dict dup /TraySwitch true put setpagedevice"
* *TraySwitch False/Off: "1 dict dup /TraySwitch false put setpagedevice"
* *CloseUI: *TraySwitch
*
* describes the option 'TraySwitch'. It has 2 choices: 'True' and 'False'.
* If another panel caused the choice of the option key 'TraySwitch' to be
* altered to 'True'then this method will be called with the 'option' parameter
* set to @"TraySwitch" and the 'choice parameter set to @"True".
*/
- (void)PPDOptionKeyValueDidChange:(NSString *)option ppdChoice:(NSString *)choice;
/*!
* @method panelView
* @abstract Return the panel's view.
*
* @discussion The panel's controls are rendered into a single view. The print system
* invokes this method to obtain the panel's view so that it can be embedded
* into the print dialog.
*
* This method has "Get" semantics: any references owned by the
* PDE must be released by the PDE.
*/
- (NSView * _Nullable)panelView;
/*!
* @method panelName
* @abstract Return the panel's name.
*
* @discussion This is the localized name of the panel. It will be placed into
* the panel menu.
*/
- (NSString*)panelName;
/*!
* @method panelKind
* @abstract Return the panel's kind.
*
* @discussion A panel's kind is used to allow a plugin to override a system panel.
* PMPrintingDialogExtensions.h lists the kinds for the print system provided
* panels. If a PDF panel is not supposed to override a print system provided
* panel then it should return a unique string for its kind.
*/
- (NSString*)panelKind;
/*!
* @method summaryInfo
* @abstract Return localized, textual descriptions of the panel's settings.
*
* @discussion Each key in the dictionary must be an NSString providing the name
* of the setting. The value for the key must be an NSString describing
* the value for the setting. The strings should be localized for the
* current user. For example a key in the dictionary for the copies and
* pages panel might have the key 'Page Range' and the value 'All'.
*/
- (NSDictionary * _Nullable)summaryInfo;
/*!
* @method shouldShowHelp
* @abstract The panel should show panel specific help if it is available.
*
* @result Return YES if the default printing help should be shown and NO otherwise.
*
* @discussion When a given panel is visible and the user clicks on the help
* icon in a print dialog or sheet, the current panel's shouldShowHelp
* method is invoked. If the panel implements custom help, the
* panel should then present that help and return NO. If this method is not
* implemented by a panel or the panel's shouldShowHelp method returns YES,
* the default printing help will be presented.
*
* Invoked only in Mac OS X version 10.5 and later.
*/
-(BOOL)shouldShowHelp;
/*!
* @method shouldPrint
* @abstract The panel should indicate whether the user should be allowed to print.
*
* @result Return YES unless the printing state for the panel does not allow printing.
*
* @discussion When a user has performed an action in a print dialog or sheet
* that will initiate printing, prior to dismissing the dialog, a panel's
* shouldPrint method is invoked, allowing a panel to indicate that the
* current state of the dialog should not allow printing. Prior to returning
* NO, a panel should present information to the user as to why printing is not
* allowed.
*
* Most panels have no need to implement a 'shouldPrint' method. Typically
* a panel manages its state so that it is always valid for the user to
* click the print button or otherwise initiate a printing action.
*
* Invoked only in Mac OS X version 10.5 and later.
*/
-(BOOL)shouldPrint;
/*!
* @method printWindowWillClose
* @abstract The print dialog or sheet is closing and a panel should perform
* any special tasks that are needed before the window is closed.
*
* @discussion This is the print panel's chance to peform any special tasks before
* the print dialog or sheet goes away. The 'userCanceled' parameter
* is true if the print window is being being dismissed because the user
* canceled the dialog or sheet.
*
* One reason for implementing a printWindowWillClose is so that a panel
* can remove any notification observers it has added.
*
* Invoked only in Mac OS X version 10.6 and later.
*/
- (void) printWindowWillClose:(BOOL)userCanceled;
@end
/*!
* @name PDEPlugInCallbackProtocol
* @abstract An informal protocol implemented by the print system so
* that printing dialog extensions can obtain information
* about the current printer and print job.
*
* @discussion An print system created instance implementing the informal protocol,
* PDEPlugInCallbackProtocol, is passed to PDEPlugin as part of the PDEPlugIn's
* PDEPanelsForType:withHostInfo: message. The PDEPlugIn is expected to
* hold on to the passed in instance and to use this PDEPlugInCallbackProtocol
* to query the print system for relevant information. The PDEPlugin can
* pass the instance implementing PDEPlugInCallbackProtocol to PDEPanels
* as needed.
*/
@interface NSObject(PDEPlugInCallbackProtocol)
/*!
* @method printSession
* @abstract Return a reference to the current print session.
*/
- (nullable PMPrintSession) printSession;
/*!
* @method printSettings
* @abstract Return a reference to the print settings object that is
* being modified by the printer dialog.
*
* @discussion This method will return nil if the current print dialog is
* not operating on a print settings. The page setup dialog is
* the most obvious case where this method will return nil.
*/
- (nullable PMPrintSettings) printSettings;
/*!
* @method pageFormat
* @abstract Return a reference to the page format that is being used
* by the printer dialog.
*
* @discussion The caller should be prepared for this method to return nil
* if the current print dialog is operating without a page format
* instance. Today both the print and page setup dialogs will return
* a reference to a page format object.
*/
- (nullable PMPageFormat) pageFormat;
/*!
* @method PMPrinter
* @abstract Return a reference to the current printer instance.
*
* @discussion When the page setup dialog is displayed this method will return
* the user's default printer. When the print dialog is displayed this
* method will return the printer currently selected in the print dialog.
*/
- (PMPrinter) PMPrinter;
/*!
* @method ppdFile
* @abstract Return a pointer to the CUPS ppd information for the current printer.
*
* @discussion Once the caller has the pointer to the CUPS PPD structure the CUPS
* PPD functions can be used to query the PPD and to set PPD options.
* A description of some of the CUPS PPD functions is here:
* http://127.0.0.1:631/spm.html#3_3
*/
- (nullable ppd_file_t*) ppdFile;
/*!
* @method changePPDOptionKeyValue:ppdChoiceKey:
* @abstract A PDEPlugIn makes this call to let the print system know that
* the plugin intends to alter the choice for a PPD option.
*
* @discussion When a print dialog plugin intends to change the choice for a
* PPD option it notifies the print system with this call. If the
* desired choice is in conflict with other currently selected PPD options
* then the print system will try to do conflict resolution. This may
* include presenting the user with a dialog explaining the conflict
* and allowing the user to cancel the change.
*
* The 'option' parameter names a main key from the printer's PPD.
* As an example take the following PPD fragment:
*
* *OpenUI *MediaType/Paper Type: PickOne
* *MediaType Plain/Plain: ""
* *MediaType Transparency/Transparency: ""
* *CloseUI: *MediaType
*
* If a panel wishes to switch the value of the option key 'MediaType'
* to the choice 'Transparency' then it should invoke this callback
* passing @"MediaType" and @"Transparency" as the 'option' and
* 'choice' parameters. If that choice is allowed then YES will be
* returned otherwise NO.
* @result Returns YES if the plugin should make the change and returns NO if the
* user or the print system would like the change not to occur.
*/
- (BOOL)willChangePPDOptionKeyValue:(NSString *)option ppdChoice:(NSString *)choice;
@end
NS_ASSUME_NONNULL_END
#endif /* __PDEPLUGININTERFACE__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h | /*
File: PrintCore/PrintCore.h
Contains: Printing functions that have no UI
Copyright (c) 2000-2006,2008 Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PRINTCORE__
#define __PRINTCORE__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#ifndef __COLORSYNC__
#include <ColorSync/ColorSync.h>
#endif
#ifndef __PMDEFINITIONS__
#include <PrintCore/PMDefinitions.h>
#endif
#ifndef __PMCORE__
#include <PrintCore/PMCore.h>
#endif
#ifndef __PMPrintAETypes__
#include <PrintCore/PMPrintAETypes.h>
#endif
#ifndef __PMPRINTSETTINGSKEYS__
#include <PrintCore/PMPrintSettingsKeys.h>
#endif
#ifndef __PMERRORS__
#include <PrintCore/PMErrors.h>
#endif
#endif /* __PRINTCORE__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMErrors.h | /*
File: PMErrors.h
Contains: Mac OS X Printing Manager Error Codes.
Copyright (c) 2001-2006,2008 Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PMERRORS__
#define __PMERRORS__
#ifndef __COREFOUNDATION__
#include <CoreFoundation/CoreFoundation.h>
#endif
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#include <PrintCore/PMDefinitions.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
enum {
#if 0
// General error codes originally in PMDefinitions (-30870 to -30899)
kPMNoError = noErr, /* no error */
kPMGeneralError = -30870, /* general error */
kPMOutOfScope = -30871, /* an API call is out of scope */
kPMInvalidParameter = paramErr, /* a required parameter is missing or invalid */
kPMNoDefaultPrinter = -30872, /* no default printer selected */
kPMNotImplemented = -30873, /* this API call is not supported */
kPMNoSuchEntry = -30874, /* no such entry */
kPMInvalidPrintSettings = -30875, /* the printsettings reference is invalid */
kPMInvalidPageFormat = -30876, /* the pageformat reference is invalid */
kPMValueOutOfRange = -30877, /* a value passed in is out of range */
kPMInvalidPrintSession = -30879, /* the print session is invalid */
kPMInvalidPrinter = -30880, /* the printer reference is invalid */
kPMObjectInUse = -30881, /* the object is in use */
kPMInvalidPreset = -30899 /* the preset is invalid */
#endif
// general purpose printing error codes used by various printing modules
kPMAllocationFailure = memFullErr, /* out of memory error */
kPMInternalError = kPMGeneralError, /* internal printing error */
kPMInvalidIndex = -30882, /* invalid index in array */
kPMStringConversionFailure = -30883, /* error converting a string */
kPMXMLParseError = -30884, /* error parsing XML data */
kPMInvalidJobTemplate = -30885, /* invalid job template */
kPMInvalidPrinterInfo = -30886, /* invalid printer info ticket */
kPMInvalidConnection = -30887, /* invalid connection type */
kPMInvalidKey = -30888, /* invalid key in ticket or template or dictionary */
kPMInvalidValue = -30889, /* invalid value in ticket or template or dictionary */
kPMInvalidAllocator = -30890, /* invalid memory allocator */
kPMInvalidTicket = -30891, /* invalid job ticket */
kPMInvalidItem = -30892, /* invalid item in ticket or template or dictionary */
kPMInvalidType = -30893, /* invalid type in ticket or template or dictionary */
kPMInvalidReply = -30894, /* invalid reply from a remote server/client */
kPMInvalidFileType = -30895, /* invalid file type in queue */
kPMInvalidObject = -30896, /* invalid object or internal error */
kPMInvalidPaper = -30897, /* Invalid PMPaper. */
kPMInvalidCalibrationTarget = -30898, /* invalid dictionary specifying printer calibration target */
/* Print Job Creator and Printing Dialog Extension error codes (-9500 to -9540) */
kPMNoDefaultItem = -9500,
kPMNoDefaultSettings = -9501, /* unused; to be removed */
kPMInvalidPDEContext = -9530, /* invalid printing dialog extension context */
kPMDontSwitchPDEError = -9531, /* tells the pjc not to switch panels */
kPMUnableToFindProcess = -9532, /* unable to find the Finder.app process */
kPMFeatureNotInstalled = -9533, /* printer is feature capable, but not installed */
/* PrintCenter and Printer Browser error codes (-9540 to -9579) */
kPMInvalidPBMRef = -9540, /* invalid printer browser module reference.*/
kPMNoSelectedPrinters = -9541, /* no selected printers or error getting selection.*/
kPMInvalidLookupSpec = -9542, /* error retrieving lookup specification. */
kPMSyncRequestFailed = -9543, /* error handling sync request. */
kPMEditRequestFailed = -9544, /* error handling request to update Edit menu */
kPMPrBrowserNoUI = -9545, /* got UI function call with no UI present. */
/* Job Ticket error codes (-9580 to -9619) */
kPMTicketTypeNotFound = -9580, /* we can't find the ticket type in our ticket. */
kPMUpdateTicketFailed = -9581, /* attempt to update ticket to current API failed. */
kPMValidateTicketFailed = -9582, /* ticket has at least one key that's invalid. */
kPMSubTicketNotFound = -9583, /* sub ticket requested is not stored in this ticket. */
kPMInvalidSubTicket = -9584, /* unable to add the requested sub-ticket. */
kPMDeleteSubTicketFailed = -9585, /* sub ticket could not be deleted. */
kPMItemIsLocked = -9586, /* item's locked flag was true when attempt made to update. */
kPMTicketIsLocked = -9587, /* caller may not change a locked ticket. */
kPMTemplateIsLocked = -9588, /* caller can't change the template. */
kPMKeyNotFound = -9589, /* the requested update is for a key that doesn't exist. */
kPMKeyNotUnique = -9590, /* the key passed in already exists in the ticket, can't make a new one. */
kPMUnknownDataType = -9591, /* couldn't determine proper CF type for the value passed in. */
/* ClientPrintingLib (-9620 to -9629) */
kPMCreateMessageFailed = -9620, /* could not create message */
kPMServerCommunicationFailed = -9621, /* communication with print server failed */
kPMKeyOrValueNotFound = -9623, /* missing required key or value */
kPMMessagingError = -9624, /* could not connect to message port or send a message to remote client */
/* Queue Manager (-9630 to -9659) */
kPMServerNotFound = -9630, /* print server not found */
kPMServerAlreadyRunning = -9631, /* print server is already running */
kPMServerSuspended = -9632, /* server suspended */
kPMServerAttributeRestricted = -9633, /* access to attribute restricted */
kPMFileOrDirOperationFailed = -9634, /* file/directory operation failed */
kPMUserOrGroupNotFound = -9635, /* specified user/group not found */
kPMPermissionError = -9636, /* permission related error */
kPMUnknownMessage = -9637, /* unknown message */
kPMQueueNotFound = -9638, /* queue not found */
kPMQueueAlreadyExists = -9639, /* queue already exists */
kPMQueueJobFailed = -9640, /* could not queue a new job */
kPMJobNotFound = -9641, /* job not found */
kPMJobBusy = -9642, /* job is busy */
kPMJobCanceled = -9643, /* job has aborted */
kPMDocumentNotFound = -9644, /* document not found */
/* Job Manager (-9660 to -9699) */
kPMPMSymbolNotFound = -9660, /* a required printer module symbol is missing */
kPMIOMSymbolNotFound = -9661, /* a required IO module symbol is missing */
kPMCVMSymbolNotFound = -9662, /* a required converter module symbol is missing */
kPMInvalidPMContext = -9663, /* PrinterModule context is invalid */
kPMInvalidIOMContext = -9664, /* IO Module context is invalid */
kPMInvalidCVMContext = -9665, /* Converter Module context is invalid */
kPMInvalidJobID = -9666, /* JobID passed from Printer Module is not valid */
kPMNoPrinterJobID = -9667, /* no JobID from target printer/connection */
kPMJobStreamOpenFailed = -9668, /* failed to open job stream */
kPMJobStreamReadFailed = -9669, /* failed to read from job stream */
kPMJobStreamEndError = -9670, /* reached end of job stream */
kPMJobManagerAborted = -9671, /* Job Manager is aborting */
kPMJobGetTicketBadFormatError = -9672, /* The XML for the printer module tickets could not be parsed. */
kPMJobGetTicketReadError = -9673, /* There was an unknown error reading stdout from the PrintJobMgr */
/* Converters (-9700 to -9739) */
kPMPluginNotFound = -9701, /* Converter plugin not found */
kPMPluginRegisterationFailed = -9702, /* Converter Plugin error */
kPMFontNotFound = -9703, /* Font not found */
kPMFontNameTooLong = -9704, /* font name too long */
kPMGeneralCGError = -9705, /* CoreGraphics returned error */
kPMInvalidState = -9706, /* Invalid converter state */
kPMUnexpectedImagingError = -9707, /* An unexpected imaging error occurred */
/* Printer Modules (-9740 to -9779) */
/* IO Modules (-9780 to -9799) */
kPMInvalidPrinterAddress = -9780, /* a file or connection could not be open */
kPMOpenFailed = -9781, /* a file or connection could not be open */
kPMReadFailed = -9782, /* file/connection read failed */
kPMWriteFailed = -9783, /* file/connection write failed */
kPMStatusFailed = -9784, /* connection status failed */
kPMCloseFailed = -9785, /* close file/connection failed */
kPMUnsupportedConnection = -9786, /* connection type not supported */
kPMIOAttrNotAvailable = -9787, /* IO attribute not available on current connection type */
kPMReadGotZeroData = -9788, /* Read got zero bytes, but no error. */
/* End of list */
kPMLastErrorCodeToMakeMaintenanceOfThisListEasier = -9799
};
#ifdef __cplusplus
}
#endif
#endif /* __PMERRORS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PMPrintingDialogExtensions.h | /*
File: PMPrintingDialogExtensions.h
Contains: Mac OS X Printing Manager Print Dialog Extensions' Interfaces.
Version: Technology: Mac OS X
Release: 1.0
Copyright (c) 1998-2008 by Apple Inc. All Rights Reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PMPRINTINGDIALOGEXTENSIONS__
#define __PMPRINTINGDIALOGEXTENSIONS__
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#ifdef __cplusplus
extern "C" {
#endif
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Constants
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*
Define the Kind IDs for Universal and Standard Printing Dialog Extensions.
*/
/* Implemented Universal */
#define kPMPageAttributesKindID CFSTR("com.apple.print.pde.PageAttributesKind")
#define kPMCopiesAndPagesPDEKindID CFSTR("com.apple.print.pde.CopiesAndPagesKind")
#define kPMLayoutPDEKindID CFSTR("com.apple.print.pde.LayoutUserOptionKind")
#define kPMOutputOptionsPDEKindID CFSTR("com.apple.print.pde.OutputOptionsKind")
#define kPMDuplexPDEKindID CFSTR("com.apple.print.pde.DuplexKind")
#define kPMCustomPaperSizePDEKindID CFSTR("com.apple.print.pde.CustomPaperSizeKind")
#define kPMCoverPagePDEKindID CFSTR("com.apple.print.pde.CoverPageKind")
#define kPMColorMatchingPDEKindID CFSTR("com.apple.print.pde.ColorMatchingKind")
#define kPMSchedulerPDEKindID CFSTR("com.apple.print.pde.SchedulerKind")
#define kPMImagingOptionsPDEKindID CFSTR("com.apple.print.pde.ImagingOptionsKind")
#define kPMFaxCoverPagePDEKindID CFSTR("com.apple.print.pde.FaxCoverPageKind")
#define kPMFaxModemPDEKindID CFSTR("com.apple.print.pde.FaxModemKind")
#define kPMFaxAddressesPDEKindID CFSTR("com.apple.print.pde.FaxAddressesKind")
#define kPMPaperHandlingPDEKindID CFSTR("com.apple.print.pde.PaperHandlingKind")
#define kPMPDFEffectsPDEKindID CFSTR("com.apple.print.pde.PDFEffects")
#define kPMSummaryPanelKindID CFSTR("com.apple.print.pde.SummaryKind")
#define kPMUniPrinterPDEKindID CFSTR("com.apple.print.pde.UniPrinterKind")
#define kPMJobPINPDEKindID CFSTR("com.apple.print.pde.jobPIN")
/* Unimplemented Universal */
#define kPMPaperSourcePDEKindID CFSTR("com.apple.print.pde.PaperSourceKind")
#define kPMPriorityPDEKindID CFSTR("com.apple.print.pde.PriorityKind")
#define kPMRotationScalingPDEKindID CFSTR("com.apple.print.pde.RotationScalingKind")
#define kPMUnsupportedPDEKindID CFSTR("com.apple.print.pde.UnsupportedPDEKind")
/* Implemented Standard */
#define kPMErrorHandlingPDEKindID CFSTR("com.apple.print.pde.ErrorHandlingKind")
#define kPMPaperFeedPDEKindID CFSTR("com.apple.print.pde.PaperFeedKind")
#define kPMPrinterFeaturesPDEKindID CFSTR("com.apple.print.pde.PrinterFeaturesKind")
#define kPMInkPDEKindID CFSTR("com.apple.print.pde.InkKind")
/* Unimplemented Standard */
#define kPMColorPDEKindID CFSTR("com.apple.print.pde.ColorKind")
#define kPMMediaQualityPDEKindID CFSTR("com.apple.print.pde.MediaQualityPDEKind")
#define kPMWatermarkPDEKindID CFSTR("com.apple.print.pde.WatermarkPDEKind")
/* Key to represent information about display order for Cocoa summary info */
#define SUMMARY_DISPLAY_ORDER CFSTR("Summary Display Order")
/* Boolean key in the Bundle's Info.plist file that sepecifies whether the PDEPanels created by the Bundle are Sandbox compatible */
#define kPMSandboxCompatiblePDEs CFSTR("PMSandboxCompatiblePDEs")
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Type Definitions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*
Basic types...
*/
/* Type and Interface IDs. */
#define kDialogExtensionIntfIDStr CFSTR("A996FD7E-B738-11D3-8519-0050E4603277")
#define kGeneralPageSetupDialogTypeIDStr CFSTR("6E6ED964-B738-11D3-952F-0050E4603277")
#define kGeneralPrintDialogTypeIDStr CFSTR("C1BF838E-B72A-11D3-9644-0050E4603277")
#define kAppPageSetupDialogTypeIDStr CFSTR("B9A0DA98-E57F-11D3-9E83-0050E4603277")
#define kAppPrintDialogTypeIDStr CFSTR("BCB07250-E57F-11D3-8CA6-0050E4603277")
#define kAppPrintThumbnailTypeIDStr CFSTR("9320FE03-B5D5-11D5-84D1-003065D6135E")
#define kPrinterModuleTypeIDStr CFSTR("BDB091F4-E57F-11D3-B5CC-0050E4603277")
#ifdef __cplusplus
}
#endif
#endif /* __PMPRINTINGDIALOGEXTENSIONS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/QD.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: A1BDAC15-0CBD-34C1-9062-F216847870FD
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 0CAC6072-49F0-3C8A-B2C7-E70ABF66C7DD
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ '$ld$hide$os10.10$_AddPt', '$ld$hide$os10.10$_ClipCGContextToRegion',
'$ld$hide$os10.10$_ConvertARGBToRGBA', '$ld$hide$os10.10$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.10$_DisposeCalcColorTableUPP', '$ld$hide$os10.10$_DisposeColorComplementUPP',
'$ld$hide$os10.10$_DisposeColorSearchUPP', '$ld$hide$os10.10$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.10$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.10$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.10$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.10$_DisposeDMNotificationUPP',
'$ld$hide$os10.10$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.10$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.10$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.10$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.10$_DisposeInitPickMethodUPP', '$ld$hide$os10.10$_DisposePixMap',
'$ld$hide$os10.10$_DisposeQDArcUPP', '$ld$hide$os10.10$_DisposeQDBitsUPP',
'$ld$hide$os10.10$_DisposeQDCommentUPP', '$ld$hide$os10.10$_DisposeQDGetPicUPP',
'$ld$hide$os10.10$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.10$_DisposeQDLineUPP',
'$ld$hide$os10.10$_DisposeQDOpcodeUPP', '$ld$hide$os10.10$_DisposeQDOvalUPP',
'$ld$hide$os10.10$_DisposeQDPolyUPP', '$ld$hide$os10.10$_DisposeQDPutPicUPP',
'$ld$hide$os10.10$_DisposeQDRRectUPP', '$ld$hide$os10.10$_DisposeQDRectUPP',
'$ld$hide$os10.10$_DisposeQDRgnUPP', '$ld$hide$os10.10$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.10$_DisposeQDTextUPP', '$ld$hide$os10.10$_DisposeQDTxMeasUPP',
'$ld$hide$os10.10$_DisposeRGBA32ImageData', '$ld$hide$os10.10$_DisposeRecordColorsUPP',
'$ld$hide$os10.10$_DisposeRegionToRectsUPP', '$ld$hide$os10.10$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.10$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.10$_GetCTSeed', '$ld$hide$os10.10$_GetPMBaseAddr',
'$ld$hide$os10.10$_GetPMRowBytes', '$ld$hide$os10.10$_GetPixBaseAddr',
'$ld$hide$os10.10$_HandleToRgn', '$ld$hide$os10.10$_InvokeCalcColorTableUPP',
'$ld$hide$os10.10$_InvokeColorComplementUPP', '$ld$hide$os10.10$_InvokeColorSearchUPP',
'$ld$hide$os10.10$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.10$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.10$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.10$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.10$_InvokeDMNotificationUPP', '$ld$hide$os10.10$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.10$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.10$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.10$_InvokeDragGrayRgnUPP', '$ld$hide$os10.10$_InvokeInitPickMethodUPP',
'$ld$hide$os10.10$_InvokeQDArcUPP', '$ld$hide$os10.10$_InvokeQDBitsUPP',
'$ld$hide$os10.10$_InvokeQDCommentUPP', '$ld$hide$os10.10$_InvokeQDGetPicUPP',
'$ld$hide$os10.10$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.10$_InvokeQDLineUPP',
'$ld$hide$os10.10$_InvokeQDOpcodeUPP', '$ld$hide$os10.10$_InvokeQDOvalUPP',
'$ld$hide$os10.10$_InvokeQDPolyUPP', '$ld$hide$os10.10$_InvokeQDPutPicUPP',
'$ld$hide$os10.10$_InvokeQDRRectUPP', '$ld$hide$os10.10$_InvokeQDRectUPP',
'$ld$hide$os10.10$_InvokeQDRgnUPP', '$ld$hide$os10.10$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.10$_InvokeQDTextUPP', '$ld$hide$os10.10$_InvokeQDTxMeasUPP',
'$ld$hide$os10.10$_InvokeRecordColorsUPP', '$ld$hide$os10.10$_InvokeRegionToRectsUPP',
'$ld$hide$os10.10$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.10$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.10$_IsValidRgnHandle', '$ld$hide$os10.10$_LMGetFontFlag',
'$ld$hide$os10.10$_LMSetFontFlag', '$ld$hide$os10.10$_MapPt',
'$ld$hide$os10.10$_MapRect', '$ld$hide$os10.10$_MapRgn', '$ld$hide$os10.10$_NewCalcColorTableUPP',
'$ld$hide$os10.10$_NewColorComplementUPP', '$ld$hide$os10.10$_NewColorSearchUPP',
'$ld$hide$os10.10$_NewDMComponentListIteratorUPP', '$ld$hide$os10.10$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.10$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.10$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.10$_NewDMNotificationUPP', '$ld$hide$os10.10$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.10$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.10$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.10$_NewDragGrayRgnUPP', '$ld$hide$os10.10$_NewInitPickMethodUPP',
'$ld$hide$os10.10$_NewQDArcUPP', '$ld$hide$os10.10$_NewQDBitsUPP',
'$ld$hide$os10.10$_NewQDCommentUPP', '$ld$hide$os10.10$_NewQDGetPicUPP',
'$ld$hide$os10.10$_NewQDJShieldCursorUPP', '$ld$hide$os10.10$_NewQDLineUPP',
'$ld$hide$os10.10$_NewQDOpcodeUPP', '$ld$hide$os10.10$_NewQDOvalUPP',
'$ld$hide$os10.10$_NewQDPolyUPP', '$ld$hide$os10.10$_NewQDPutPicUPP',
'$ld$hide$os10.10$_NewQDRRectUPP', '$ld$hide$os10.10$_NewQDRectUPP',
'$ld$hide$os10.10$_NewQDRgnUPP', '$ld$hide$os10.10$_NewQDStdGlyphsUPP',
'$ld$hide$os10.10$_NewQDTextUPP', '$ld$hide$os10.10$_NewQDTxMeasUPP',
'$ld$hide$os10.10$_NewRecordColorsUPP', '$ld$hide$os10.10$_NewRegionToRectsUPP',
'$ld$hide$os10.10$_NewStyleRunDirectionUPP', '$ld$hide$os10.10$_Pt2Rect',
'$ld$hide$os10.10$_PtToAngle', '$ld$hide$os10.10$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.10$_QDAssureNativeRegionFormat', '$ld$hide$os10.10$_QDAssureNewRegionFormat',
'$ld$hide$os10.10$_QDDebugDumpRegion', '$ld$hide$os10.10$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.10$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.10$_RgnToHandle',
'$ld$hide$os10.10$_ScalePt', '$ld$hide$os10.10$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.10$_SetEmptyRect', '$ld$hide$os10.10$_ShieldCursor',
'$ld$hide$os10.10$_SlopeFromAngle', '$ld$hide$os10.10$_XorRgn',
'$ld$hide$os10.11$_AddPt', '$ld$hide$os10.11$_ClipCGContextToRegion',
'$ld$hide$os10.11$_ConvertARGBToRGBA', '$ld$hide$os10.11$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.11$_DisposeCalcColorTableUPP', '$ld$hide$os10.11$_DisposeColorComplementUPP',
'$ld$hide$os10.11$_DisposeColorSearchUPP', '$ld$hide$os10.11$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.11$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.11$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.11$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.11$_DisposeDMNotificationUPP',
'$ld$hide$os10.11$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.11$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.11$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.11$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.11$_DisposeInitPickMethodUPP', '$ld$hide$os10.11$_DisposePixMap',
'$ld$hide$os10.11$_DisposeQDArcUPP', '$ld$hide$os10.11$_DisposeQDBitsUPP',
'$ld$hide$os10.11$_DisposeQDCommentUPP', '$ld$hide$os10.11$_DisposeQDGetPicUPP',
'$ld$hide$os10.11$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.11$_DisposeQDLineUPP',
'$ld$hide$os10.11$_DisposeQDOpcodeUPP', '$ld$hide$os10.11$_DisposeQDOvalUPP',
'$ld$hide$os10.11$_DisposeQDPolyUPP', '$ld$hide$os10.11$_DisposeQDPutPicUPP',
'$ld$hide$os10.11$_DisposeQDRRectUPP', '$ld$hide$os10.11$_DisposeQDRectUPP',
'$ld$hide$os10.11$_DisposeQDRgnUPP', '$ld$hide$os10.11$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.11$_DisposeQDTextUPP', '$ld$hide$os10.11$_DisposeQDTxMeasUPP',
'$ld$hide$os10.11$_DisposeRGBA32ImageData', '$ld$hide$os10.11$_DisposeRecordColorsUPP',
'$ld$hide$os10.11$_DisposeRegionToRectsUPP', '$ld$hide$os10.11$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.11$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.11$_GetCTSeed', '$ld$hide$os10.11$_GetPMBaseAddr',
'$ld$hide$os10.11$_GetPMRowBytes', '$ld$hide$os10.11$_GetPixBaseAddr',
'$ld$hide$os10.11$_HandleToRgn', '$ld$hide$os10.11$_InvokeCalcColorTableUPP',
'$ld$hide$os10.11$_InvokeColorComplementUPP', '$ld$hide$os10.11$_InvokeColorSearchUPP',
'$ld$hide$os10.11$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.11$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.11$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.11$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.11$_InvokeDMNotificationUPP', '$ld$hide$os10.11$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.11$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.11$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.11$_InvokeDragGrayRgnUPP', '$ld$hide$os10.11$_InvokeInitPickMethodUPP',
'$ld$hide$os10.11$_InvokeQDArcUPP', '$ld$hide$os10.11$_InvokeQDBitsUPP',
'$ld$hide$os10.11$_InvokeQDCommentUPP', '$ld$hide$os10.11$_InvokeQDGetPicUPP',
'$ld$hide$os10.11$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.11$_InvokeQDLineUPP',
'$ld$hide$os10.11$_InvokeQDOpcodeUPP', '$ld$hide$os10.11$_InvokeQDOvalUPP',
'$ld$hide$os10.11$_InvokeQDPolyUPP', '$ld$hide$os10.11$_InvokeQDPutPicUPP',
'$ld$hide$os10.11$_InvokeQDRRectUPP', '$ld$hide$os10.11$_InvokeQDRectUPP',
'$ld$hide$os10.11$_InvokeQDRgnUPP', '$ld$hide$os10.11$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.11$_InvokeQDTextUPP', '$ld$hide$os10.11$_InvokeQDTxMeasUPP',
'$ld$hide$os10.11$_InvokeRecordColorsUPP', '$ld$hide$os10.11$_InvokeRegionToRectsUPP',
'$ld$hide$os10.11$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.11$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.11$_IsValidRgnHandle', '$ld$hide$os10.11$_LMGetFontFlag',
'$ld$hide$os10.11$_LMSetFontFlag', '$ld$hide$os10.11$_MapPt',
'$ld$hide$os10.11$_MapRect', '$ld$hide$os10.11$_MapRgn', '$ld$hide$os10.11$_NewCalcColorTableUPP',
'$ld$hide$os10.11$_NewColorComplementUPP', '$ld$hide$os10.11$_NewColorSearchUPP',
'$ld$hide$os10.11$_NewDMComponentListIteratorUPP', '$ld$hide$os10.11$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.11$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.11$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.11$_NewDMNotificationUPP', '$ld$hide$os10.11$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.11$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.11$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.11$_NewDragGrayRgnUPP', '$ld$hide$os10.11$_NewInitPickMethodUPP',
'$ld$hide$os10.11$_NewQDArcUPP', '$ld$hide$os10.11$_NewQDBitsUPP',
'$ld$hide$os10.11$_NewQDCommentUPP', '$ld$hide$os10.11$_NewQDGetPicUPP',
'$ld$hide$os10.11$_NewQDJShieldCursorUPP', '$ld$hide$os10.11$_NewQDLineUPP',
'$ld$hide$os10.11$_NewQDOpcodeUPP', '$ld$hide$os10.11$_NewQDOvalUPP',
'$ld$hide$os10.11$_NewQDPolyUPP', '$ld$hide$os10.11$_NewQDPutPicUPP',
'$ld$hide$os10.11$_NewQDRRectUPP', '$ld$hide$os10.11$_NewQDRectUPP',
'$ld$hide$os10.11$_NewQDRgnUPP', '$ld$hide$os10.11$_NewQDStdGlyphsUPP',
'$ld$hide$os10.11$_NewQDTextUPP', '$ld$hide$os10.11$_NewQDTxMeasUPP',
'$ld$hide$os10.11$_NewRecordColorsUPP', '$ld$hide$os10.11$_NewRegionToRectsUPP',
'$ld$hide$os10.11$_NewStyleRunDirectionUPP', '$ld$hide$os10.11$_Pt2Rect',
'$ld$hide$os10.11$_PtToAngle', '$ld$hide$os10.11$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.11$_QDAssureNativeRegionFormat', '$ld$hide$os10.11$_QDAssureNewRegionFormat',
'$ld$hide$os10.11$_QDDebugDumpRegion', '$ld$hide$os10.11$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.11$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.11$_RgnToHandle',
'$ld$hide$os10.11$_ScalePt', '$ld$hide$os10.11$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.11$_SetEmptyRect', '$ld$hide$os10.11$_ShieldCursor',
'$ld$hide$os10.11$_SlopeFromAngle', '$ld$hide$os10.11$_XorRgn',
'$ld$hide$os10.12$_AddPt', '$ld$hide$os10.12$_ClipCGContextToRegion',
'$ld$hide$os10.12$_ConvertARGBToRGBA', '$ld$hide$os10.12$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.12$_DisposeCalcColorTableUPP', '$ld$hide$os10.12$_DisposeColorComplementUPP',
'$ld$hide$os10.12$_DisposeColorSearchUPP', '$ld$hide$os10.12$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.12$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.12$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.12$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.12$_DisposeDMNotificationUPP',
'$ld$hide$os10.12$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.12$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.12$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.12$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.12$_DisposeInitPickMethodUPP', '$ld$hide$os10.12$_DisposePixMap',
'$ld$hide$os10.12$_DisposeQDArcUPP', '$ld$hide$os10.12$_DisposeQDBitsUPP',
'$ld$hide$os10.12$_DisposeQDCommentUPP', '$ld$hide$os10.12$_DisposeQDGetPicUPP',
'$ld$hide$os10.12$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.12$_DisposeQDLineUPP',
'$ld$hide$os10.12$_DisposeQDOpcodeUPP', '$ld$hide$os10.12$_DisposeQDOvalUPP',
'$ld$hide$os10.12$_DisposeQDPolyUPP', '$ld$hide$os10.12$_DisposeQDPutPicUPP',
'$ld$hide$os10.12$_DisposeQDRRectUPP', '$ld$hide$os10.12$_DisposeQDRectUPP',
'$ld$hide$os10.12$_DisposeQDRgnUPP', '$ld$hide$os10.12$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.12$_DisposeQDTextUPP', '$ld$hide$os10.12$_DisposeQDTxMeasUPP',
'$ld$hide$os10.12$_DisposeRGBA32ImageData', '$ld$hide$os10.12$_DisposeRecordColorsUPP',
'$ld$hide$os10.12$_DisposeRegionToRectsUPP', '$ld$hide$os10.12$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.12$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.12$_GetCTSeed', '$ld$hide$os10.12$_GetPMBaseAddr',
'$ld$hide$os10.12$_GetPMRowBytes', '$ld$hide$os10.12$_GetPixBaseAddr',
'$ld$hide$os10.12$_HandleToRgn', '$ld$hide$os10.12$_InvokeCalcColorTableUPP',
'$ld$hide$os10.12$_InvokeColorComplementUPP', '$ld$hide$os10.12$_InvokeColorSearchUPP',
'$ld$hide$os10.12$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.12$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.12$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.12$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.12$_InvokeDMNotificationUPP', '$ld$hide$os10.12$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.12$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.12$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.12$_InvokeDragGrayRgnUPP', '$ld$hide$os10.12$_InvokeInitPickMethodUPP',
'$ld$hide$os10.12$_InvokeQDArcUPP', '$ld$hide$os10.12$_InvokeQDBitsUPP',
'$ld$hide$os10.12$_InvokeQDCommentUPP', '$ld$hide$os10.12$_InvokeQDGetPicUPP',
'$ld$hide$os10.12$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.12$_InvokeQDLineUPP',
'$ld$hide$os10.12$_InvokeQDOpcodeUPP', '$ld$hide$os10.12$_InvokeQDOvalUPP',
'$ld$hide$os10.12$_InvokeQDPolyUPP', '$ld$hide$os10.12$_InvokeQDPutPicUPP',
'$ld$hide$os10.12$_InvokeQDRRectUPP', '$ld$hide$os10.12$_InvokeQDRectUPP',
'$ld$hide$os10.12$_InvokeQDRgnUPP', '$ld$hide$os10.12$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.12$_InvokeQDTextUPP', '$ld$hide$os10.12$_InvokeQDTxMeasUPP',
'$ld$hide$os10.12$_InvokeRecordColorsUPP', '$ld$hide$os10.12$_InvokeRegionToRectsUPP',
'$ld$hide$os10.12$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.12$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.12$_IsValidRgnHandle', '$ld$hide$os10.12$_LMGetFontFlag',
'$ld$hide$os10.12$_LMSetFontFlag', '$ld$hide$os10.12$_MapPt',
'$ld$hide$os10.12$_MapRect', '$ld$hide$os10.12$_MapRgn', '$ld$hide$os10.12$_NewCalcColorTableUPP',
'$ld$hide$os10.12$_NewColorComplementUPP', '$ld$hide$os10.12$_NewColorSearchUPP',
'$ld$hide$os10.12$_NewDMComponentListIteratorUPP', '$ld$hide$os10.12$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.12$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.12$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.12$_NewDMNotificationUPP', '$ld$hide$os10.12$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.12$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.12$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.12$_NewDragGrayRgnUPP', '$ld$hide$os10.12$_NewInitPickMethodUPP',
'$ld$hide$os10.12$_NewQDArcUPP', '$ld$hide$os10.12$_NewQDBitsUPP',
'$ld$hide$os10.12$_NewQDCommentUPP', '$ld$hide$os10.12$_NewQDGetPicUPP',
'$ld$hide$os10.12$_NewQDJShieldCursorUPP', '$ld$hide$os10.12$_NewQDLineUPP',
'$ld$hide$os10.12$_NewQDOpcodeUPP', '$ld$hide$os10.12$_NewQDOvalUPP',
'$ld$hide$os10.12$_NewQDPolyUPP', '$ld$hide$os10.12$_NewQDPutPicUPP',
'$ld$hide$os10.12$_NewQDRRectUPP', '$ld$hide$os10.12$_NewQDRectUPP',
'$ld$hide$os10.12$_NewQDRgnUPP', '$ld$hide$os10.12$_NewQDStdGlyphsUPP',
'$ld$hide$os10.12$_NewQDTextUPP', '$ld$hide$os10.12$_NewQDTxMeasUPP',
'$ld$hide$os10.12$_NewRecordColorsUPP', '$ld$hide$os10.12$_NewRegionToRectsUPP',
'$ld$hide$os10.12$_NewStyleRunDirectionUPP', '$ld$hide$os10.12$_Pt2Rect',
'$ld$hide$os10.12$_PtToAngle', '$ld$hide$os10.12$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.12$_QDAssureNativeRegionFormat', '$ld$hide$os10.12$_QDAssureNewRegionFormat',
'$ld$hide$os10.12$_QDDebugDumpRegion', '$ld$hide$os10.12$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.12$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.12$_RgnToHandle',
'$ld$hide$os10.12$_ScalePt', '$ld$hide$os10.12$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.12$_SetEmptyRect', '$ld$hide$os10.12$_ShieldCursor',
'$ld$hide$os10.12$_SlopeFromAngle', '$ld$hide$os10.12$_XorRgn',
'$ld$hide$os10.13$_AddPt', '$ld$hide$os10.13$_ClipCGContextToRegion',
'$ld$hide$os10.13$_ConvertARGBToRGBA', '$ld$hide$os10.13$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.13$_DisposeCalcColorTableUPP', '$ld$hide$os10.13$_DisposeColorComplementUPP',
'$ld$hide$os10.13$_DisposeColorSearchUPP', '$ld$hide$os10.13$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.13$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.13$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.13$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.13$_DisposeDMNotificationUPP',
'$ld$hide$os10.13$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.13$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.13$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.13$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.13$_DisposeInitPickMethodUPP', '$ld$hide$os10.13$_DisposePixMap',
'$ld$hide$os10.13$_DisposeQDArcUPP', '$ld$hide$os10.13$_DisposeQDBitsUPP',
'$ld$hide$os10.13$_DisposeQDCommentUPP', '$ld$hide$os10.13$_DisposeQDGetPicUPP',
'$ld$hide$os10.13$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.13$_DisposeQDLineUPP',
'$ld$hide$os10.13$_DisposeQDOpcodeUPP', '$ld$hide$os10.13$_DisposeQDOvalUPP',
'$ld$hide$os10.13$_DisposeQDPolyUPP', '$ld$hide$os10.13$_DisposeQDPutPicUPP',
'$ld$hide$os10.13$_DisposeQDRRectUPP', '$ld$hide$os10.13$_DisposeQDRectUPP',
'$ld$hide$os10.13$_DisposeQDRgnUPP', '$ld$hide$os10.13$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.13$_DisposeQDTextUPP', '$ld$hide$os10.13$_DisposeQDTxMeasUPP',
'$ld$hide$os10.13$_DisposeRGBA32ImageData', '$ld$hide$os10.13$_DisposeRecordColorsUPP',
'$ld$hide$os10.13$_DisposeRegionToRectsUPP', '$ld$hide$os10.13$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.13$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.13$_GetCTSeed', '$ld$hide$os10.13$_GetPMBaseAddr',
'$ld$hide$os10.13$_GetPMRowBytes', '$ld$hide$os10.13$_GetPixBaseAddr',
'$ld$hide$os10.13$_HandleToRgn', '$ld$hide$os10.13$_InvokeCalcColorTableUPP',
'$ld$hide$os10.13$_InvokeColorComplementUPP', '$ld$hide$os10.13$_InvokeColorSearchUPP',
'$ld$hide$os10.13$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.13$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.13$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.13$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.13$_InvokeDMNotificationUPP', '$ld$hide$os10.13$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.13$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.13$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.13$_InvokeDragGrayRgnUPP', '$ld$hide$os10.13$_InvokeInitPickMethodUPP',
'$ld$hide$os10.13$_InvokeQDArcUPP', '$ld$hide$os10.13$_InvokeQDBitsUPP',
'$ld$hide$os10.13$_InvokeQDCommentUPP', '$ld$hide$os10.13$_InvokeQDGetPicUPP',
'$ld$hide$os10.13$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.13$_InvokeQDLineUPP',
'$ld$hide$os10.13$_InvokeQDOpcodeUPP', '$ld$hide$os10.13$_InvokeQDOvalUPP',
'$ld$hide$os10.13$_InvokeQDPolyUPP', '$ld$hide$os10.13$_InvokeQDPutPicUPP',
'$ld$hide$os10.13$_InvokeQDRRectUPP', '$ld$hide$os10.13$_InvokeQDRectUPP',
'$ld$hide$os10.13$_InvokeQDRgnUPP', '$ld$hide$os10.13$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.13$_InvokeQDTextUPP', '$ld$hide$os10.13$_InvokeQDTxMeasUPP',
'$ld$hide$os10.13$_InvokeRecordColorsUPP', '$ld$hide$os10.13$_InvokeRegionToRectsUPP',
'$ld$hide$os10.13$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.13$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.13$_IsValidRgnHandle', '$ld$hide$os10.13$_LMGetFontFlag',
'$ld$hide$os10.13$_LMSetFontFlag', '$ld$hide$os10.13$_MapPt',
'$ld$hide$os10.13$_MapRect', '$ld$hide$os10.13$_MapRgn', '$ld$hide$os10.13$_NewCalcColorTableUPP',
'$ld$hide$os10.13$_NewColorComplementUPP', '$ld$hide$os10.13$_NewColorSearchUPP',
'$ld$hide$os10.13$_NewDMComponentListIteratorUPP', '$ld$hide$os10.13$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.13$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.13$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.13$_NewDMNotificationUPP', '$ld$hide$os10.13$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.13$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.13$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.13$_NewDragGrayRgnUPP', '$ld$hide$os10.13$_NewInitPickMethodUPP',
'$ld$hide$os10.13$_NewQDArcUPP', '$ld$hide$os10.13$_NewQDBitsUPP',
'$ld$hide$os10.13$_NewQDCommentUPP', '$ld$hide$os10.13$_NewQDGetPicUPP',
'$ld$hide$os10.13$_NewQDJShieldCursorUPP', '$ld$hide$os10.13$_NewQDLineUPP',
'$ld$hide$os10.13$_NewQDOpcodeUPP', '$ld$hide$os10.13$_NewQDOvalUPP',
'$ld$hide$os10.13$_NewQDPolyUPP', '$ld$hide$os10.13$_NewQDPutPicUPP',
'$ld$hide$os10.13$_NewQDRRectUPP', '$ld$hide$os10.13$_NewQDRectUPP',
'$ld$hide$os10.13$_NewQDRgnUPP', '$ld$hide$os10.13$_NewQDStdGlyphsUPP',
'$ld$hide$os10.13$_NewQDTextUPP', '$ld$hide$os10.13$_NewQDTxMeasUPP',
'$ld$hide$os10.13$_NewRecordColorsUPP', '$ld$hide$os10.13$_NewRegionToRectsUPP',
'$ld$hide$os10.13$_NewStyleRunDirectionUPP', '$ld$hide$os10.13$_Pt2Rect',
'$ld$hide$os10.13$_PtToAngle', '$ld$hide$os10.13$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.13$_QDAssureNativeRegionFormat', '$ld$hide$os10.13$_QDAssureNewRegionFormat',
'$ld$hide$os10.13$_QDDebugDumpRegion', '$ld$hide$os10.13$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.13$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.13$_RgnToHandle',
'$ld$hide$os10.13$_ScalePt', '$ld$hide$os10.13$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.13$_SetEmptyRect', '$ld$hide$os10.13$_ShieldCursor',
'$ld$hide$os10.13$_SlopeFromAngle', '$ld$hide$os10.13$_XorRgn',
'$ld$hide$os10.9$_AddPt', '$ld$hide$os10.9$_ClipCGContextToRegion',
'$ld$hide$os10.9$_ConvertARGBToRGBA', '$ld$hide$os10.9$_CreateCGImageRefFromPixMaps',
'$ld$hide$os10.9$_DisposeCalcColorTableUPP', '$ld$hide$os10.9$_DisposeColorComplementUPP',
'$ld$hide$os10.9$_DisposeColorSearchUPP', '$ld$hide$os10.9$_DisposeDMComponentListIteratorUPP',
'$ld$hide$os10.9$_DisposeDMDisplayListIteratorUPP', '$ld$hide$os10.9$_DisposeDMDisplayModeListIteratorUPP',
'$ld$hide$os10.9$_DisposeDMExtendedNotificationUPP', '$ld$hide$os10.9$_DisposeDMNotificationUPP',
'$ld$hide$os10.9$_DisposeDMProfileListIteratorUPP', '$ld$hide$os10.9$_DisposeDeviceLoopDrawingUPP',
'$ld$hide$os10.9$_DisposeDisposeColorPickMethodUPP', '$ld$hide$os10.9$_DisposeDragGrayRgnUPP',
'$ld$hide$os10.9$_DisposeInitPickMethodUPP', '$ld$hide$os10.9$_DisposePixMap',
'$ld$hide$os10.9$_DisposeQDArcUPP', '$ld$hide$os10.9$_DisposeQDBitsUPP',
'$ld$hide$os10.9$_DisposeQDCommentUPP', '$ld$hide$os10.9$_DisposeQDGetPicUPP',
'$ld$hide$os10.9$_DisposeQDJShieldCursorUPP', '$ld$hide$os10.9$_DisposeQDLineUPP',
'$ld$hide$os10.9$_DisposeQDOpcodeUPP', '$ld$hide$os10.9$_DisposeQDOvalUPP',
'$ld$hide$os10.9$_DisposeQDPolyUPP', '$ld$hide$os10.9$_DisposeQDPutPicUPP',
'$ld$hide$os10.9$_DisposeQDRRectUPP', '$ld$hide$os10.9$_DisposeQDRectUPP',
'$ld$hide$os10.9$_DisposeQDRgnUPP', '$ld$hide$os10.9$_DisposeQDStdGlyphsUPP',
'$ld$hide$os10.9$_DisposeQDTextUPP', '$ld$hide$os10.9$_DisposeQDTxMeasUPP',
'$ld$hide$os10.9$_DisposeRGBA32ImageData', '$ld$hide$os10.9$_DisposeRecordColorsUPP',
'$ld$hide$os10.9$_DisposeRegionToRectsUPP', '$ld$hide$os10.9$_DisposeStyleRunDirectionUPP',
'$ld$hide$os10.9$_FMFontGetCGFontRefFromFontFamilyInstance',
'$ld$hide$os10.9$_GetCTSeed', '$ld$hide$os10.9$_GetPMBaseAddr',
'$ld$hide$os10.9$_GetPMRowBytes', '$ld$hide$os10.9$_GetPixBaseAddr',
'$ld$hide$os10.9$_HandleToRgn', '$ld$hide$os10.9$_InvokeCalcColorTableUPP',
'$ld$hide$os10.9$_InvokeColorComplementUPP', '$ld$hide$os10.9$_InvokeColorSearchUPP',
'$ld$hide$os10.9$_InvokeDMComponentListIteratorUPP', '$ld$hide$os10.9$_InvokeDMDisplayListIteratorUPP',
'$ld$hide$os10.9$_InvokeDMDisplayModeListIteratorUPP', '$ld$hide$os10.9$_InvokeDMExtendedNotificationUPP',
'$ld$hide$os10.9$_InvokeDMNotificationUPP', '$ld$hide$os10.9$_InvokeDMProfileListIteratorUPP',
'$ld$hide$os10.9$_InvokeDeviceLoopDrawingUPP', '$ld$hide$os10.9$_InvokeDisposeColorPickMethodUPP',
'$ld$hide$os10.9$_InvokeDragGrayRgnUPP', '$ld$hide$os10.9$_InvokeInitPickMethodUPP',
'$ld$hide$os10.9$_InvokeQDArcUPP', '$ld$hide$os10.9$_InvokeQDBitsUPP',
'$ld$hide$os10.9$_InvokeQDCommentUPP', '$ld$hide$os10.9$_InvokeQDGetPicUPP',
'$ld$hide$os10.9$_InvokeQDJShieldCursorUPP', '$ld$hide$os10.9$_InvokeQDLineUPP',
'$ld$hide$os10.9$_InvokeQDOpcodeUPP', '$ld$hide$os10.9$_InvokeQDOvalUPP',
'$ld$hide$os10.9$_InvokeQDPolyUPP', '$ld$hide$os10.9$_InvokeQDPutPicUPP',
'$ld$hide$os10.9$_InvokeQDRRectUPP', '$ld$hide$os10.9$_InvokeQDRectUPP',
'$ld$hide$os10.9$_InvokeQDRgnUPP', '$ld$hide$os10.9$_InvokeQDStdGlyphsUPP',
'$ld$hide$os10.9$_InvokeQDTextUPP', '$ld$hide$os10.9$_InvokeQDTxMeasUPP',
'$ld$hide$os10.9$_InvokeRecordColorsUPP', '$ld$hide$os10.9$_InvokeRegionToRectsUPP',
'$ld$hide$os10.9$_InvokeStyleRunDirectionUPP', '$ld$hide$os10.9$_IsAntiAliasedTextEnabled',
'$ld$hide$os10.9$_IsValidRgnHandle', '$ld$hide$os10.9$_LMGetFontFlag',
'$ld$hide$os10.9$_LMSetFontFlag', '$ld$hide$os10.9$_MapPt',
'$ld$hide$os10.9$_MapRect', '$ld$hide$os10.9$_MapRgn', '$ld$hide$os10.9$_NewCalcColorTableUPP',
'$ld$hide$os10.9$_NewColorComplementUPP', '$ld$hide$os10.9$_NewColorSearchUPP',
'$ld$hide$os10.9$_NewDMComponentListIteratorUPP', '$ld$hide$os10.9$_NewDMDisplayListIteratorUPP',
'$ld$hide$os10.9$_NewDMDisplayModeListIteratorUPP', '$ld$hide$os10.9$_NewDMExtendedNotificationUPP',
'$ld$hide$os10.9$_NewDMNotificationUPP', '$ld$hide$os10.9$_NewDMProfileListIteratorUPP',
'$ld$hide$os10.9$_NewDeviceLoopDrawingUPP', '$ld$hide$os10.9$_NewDisposeColorPickMethodUPP',
'$ld$hide$os10.9$_NewDragGrayRgnUPP', '$ld$hide$os10.9$_NewInitPickMethodUPP',
'$ld$hide$os10.9$_NewQDArcUPP', '$ld$hide$os10.9$_NewQDBitsUPP',
'$ld$hide$os10.9$_NewQDCommentUPP', '$ld$hide$os10.9$_NewQDGetPicUPP',
'$ld$hide$os10.9$_NewQDJShieldCursorUPP', '$ld$hide$os10.9$_NewQDLineUPP',
'$ld$hide$os10.9$_NewQDOpcodeUPP', '$ld$hide$os10.9$_NewQDOvalUPP',
'$ld$hide$os10.9$_NewQDPolyUPP', '$ld$hide$os10.9$_NewQDPutPicUPP',
'$ld$hide$os10.9$_NewQDRRectUPP', '$ld$hide$os10.9$_NewQDRectUPP',
'$ld$hide$os10.9$_NewQDRgnUPP', '$ld$hide$os10.9$_NewQDStdGlyphsUPP',
'$ld$hide$os10.9$_NewQDTextUPP', '$ld$hide$os10.9$_NewQDTxMeasUPP',
'$ld$hide$os10.9$_NewRecordColorsUPP', '$ld$hide$os10.9$_NewRegionToRectsUPP',
'$ld$hide$os10.9$_NewStyleRunDirectionUPP', '$ld$hide$os10.9$_Pt2Rect',
'$ld$hide$os10.9$_PtToAngle', '$ld$hide$os10.9$_QDAssureCompatibleRegionFormat',
'$ld$hide$os10.9$_QDAssureNativeRegionFormat', '$ld$hide$os10.9$_QDAssureNewRegionFormat',
'$ld$hide$os10.9$_QDDebugDumpRegion', '$ld$hide$os10.9$_QDNewCGPathFromQDRegion',
'$ld$hide$os10.9$_QDPlatformNativeRegionToMacRegion', '$ld$hide$os10.9$_RgnToHandle',
'$ld$hide$os10.9$_ScalePt', '$ld$hide$os10.9$_SetAntiAliasedTextEnabled',
'$ld$hide$os10.9$_SetEmptyRect', '$ld$hide$os10.9$_ShieldCursor',
'$ld$hide$os10.9$_SlopeFromAngle', '$ld$hide$os10.9$_XorRgn',
_AddPt, _AngleFromSlope, _BitMapToRegion, _ClipCGContextToRegion,
_ConvertARGBToRGBA, _CopyRgn, _CreateCGImageRefFromPixMaps,
_CreateRGBA32FromPixMaps, _DiffRgn, _DisposeCalcColorTableUPP,
_DisposeColorComplementUPP, _DisposeColorSearchUPP, _DisposeDMComponentListIteratorUPP,
_DisposeDMDisplayListIteratorUPP, _DisposeDMDisplayModeListIteratorUPP,
_DisposeDMExtendedNotificationUPP, _DisposeDMNotificationUPP,
_DisposeDMProfileListIteratorUPP, _DisposeDeviceLoopDrawingUPP,
_DisposeDisposeColorPickMethodUPP, _DisposeDragGrayRgnUPP,
_DisposeInitPickMethodUPP, _DisposePixMap, _DisposePixPat,
_DisposeQDArcUPP, _DisposeQDBitsUPP, _DisposeQDCommentUPP,
_DisposeQDGetPicUPP, _DisposeQDJShieldCursorUPP, _DisposeQDLineUPP,
_DisposeQDOpcodeUPP, _DisposeQDOvalUPP, _DisposeQDPolyUPP,
_DisposeQDPutPicUPP, _DisposeQDRRectUPP, _DisposeQDRectUPP,
_DisposeQDRgnUPP, _DisposeQDStdGlyphsUPP, _DisposeQDTextUPP,
_DisposeQDTxMeasUPP, _DisposeRGBA32ImageData, _DisposeRecordColorsUPP,
_DisposeRegionToRectsUPP, _DisposeRgn, _DisposeStyleRunDirectionUPP,
_EmptyRect, _EmptyRgn, _EqualPt, _EqualRect, _EqualRgn, _FMFontGetCGFontRefFromFontFamilyInstance,
_FMGetATSFontFamilyRefFromFontFamily, _FMGetATSFontRefFromFont,
_FMGetFontFamilyFromATSFontFamilyRef, _FMGetFontFromATSFontRef,
_GetCGSConnectionID, _GetCTSeed, _GetCTable, _GetPMBaseAddr,
_GetPMRowBytes, _GetPixBaseAddr, _GetRegionBounds, _HandleToRgn,
_HideCursor, _InitCursor, _InsetRect, _InsetRgn, _InvokeCalcColorTableUPP,
_InvokeColorComplementUPP, _InvokeColorSearchUPP, _InvokeDMComponentListIteratorUPP,
_InvokeDMDisplayListIteratorUPP, _InvokeDMDisplayModeListIteratorUPP,
_InvokeDMExtendedNotificationUPP, _InvokeDMNotificationUPP,
_InvokeDMProfileListIteratorUPP, _InvokeDeviceLoopDrawingUPP,
_InvokeDisposeColorPickMethodUPP, _InvokeDragGrayRgnUPP, _InvokeInitPickMethodUPP,
_InvokeQDArcUPP, _InvokeQDBitsUPP, _InvokeQDCommentUPP, _InvokeQDGetPicUPP,
_InvokeQDJShieldCursorUPP, _InvokeQDLineUPP, _InvokeQDOpcodeUPP,
_InvokeQDOvalUPP, _InvokeQDPolyUPP, _InvokeQDPutPicUPP, _InvokeQDRRectUPP,
_InvokeQDRectUPP, _InvokeQDRgnUPP, _InvokeQDStdGlyphsUPP,
_InvokeQDTextUPP, _InvokeQDTxMeasUPP, _InvokeRecordColorsUPP,
_InvokeRegionToRectsUPP, _InvokeStyleRunDirectionUPP, _IsAntiAliasedTextEnabled,
_IsRegionRectangular, _IsValidRgnHandle, _LMGetFontFlag, _LMSetFontFlag,
_MacRegionToNativeRegion, _MapPt, _MapRect, _MapRgn, _NativeRegionToMacRegion,
_NewCalcColorTableUPP, _NewColorComplementUPP, _NewColorSearchUPP,
_NewDMComponentListIteratorUPP, _NewDMDisplayListIteratorUPP,
_NewDMDisplayModeListIteratorUPP, _NewDMExtendedNotificationUPP,
_NewDMNotificationUPP, _NewDMProfileListIteratorUPP, _NewDeviceLoopDrawingUPP,
_NewDisposeColorPickMethodUPP, _NewDragGrayRgnUPP, _NewInitPickMethodUPP,
_NewQDArcUPP, _NewQDBitsUPP, _NewQDCommentUPP, _NewQDGetPicUPP,
_NewQDJShieldCursorUPP, _NewQDLineUPP, _NewQDOpcodeUPP, _NewQDOvalUPP,
_NewQDPolyUPP, _NewQDPutPicUPP, _NewQDRRectUPP, _NewQDRectUPP,
_NewQDRgnUPP, _NewQDStdGlyphsUPP, _NewQDTextUPP, _NewQDTxMeasUPP,
_NewRecordColorsUPP, _NewRegionToRectsUPP, _NewRgn, _NewStyleRunDirectionUPP,
_ObscureCursor, _OffsetRect, _OffsetRgn, _Pt2Rect, _PtInRect,
_PtInRgn, _PtToAngle, _QDAssureCompatibleRegionFormat, _QDAssureNativeRegionFormat,
_QDAssureNewRegionFormat, _QDDebugDumpRegion, _QDGetCGDirectDisplayID,
_QDNewCGPathFromQDRegion, _QDPlatformMacRegionToNativeRegion,
_QDPlatformNativeRegionToMacRegion, _QDRegionToRects, _QDStencilListToRegion,
_QDUnflattenPixPat, _RectInRgn, _RectRgn, _RgnToHandle, _ScalePt,
_SectRect, _SectRgn, _SetAntiAliasedTextEnabled, _SetEmptyRect,
_SetEmptyRgn, _SetPt, _SetRect, _SetRectRgn, _ShieldCursor,
_ShowCursor, _SlopeFromAngle, _SubPt, _UnionRect, _UnionRgn,
_XorRgn ]
--- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: F04921AB-73D9-3E0E-973F-83EE84F09C4B
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 7B9808EE-00FD-3F04-8035-E6F784C95611
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATSUI.framework/Versions/A/ATSUI'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _ATSApplyMorph, _ATSClearGlyphVector, _ATSGrowGlyphVector,
_ATSInitializeGlyphVector, _ATSUBatchBreakLines, _ATSUBreakLine,
_ATSUClearAttributes, _ATSUClearFontFeatures, _ATSUClearFontVariations,
_ATSUClearLayoutCache, _ATSUClearLayoutControls, _ATSUClearLineControls,
_ATSUClearSoftLineBreaks, _ATSUClearStyle, _ATSUCompareStyles,
_ATSUConvertCharToGlyphs, _ATSUCopyAttributes, _ATSUCopyLayoutControls,
_ATSUCopyLineControls, _ATSUCountFontFeatureSelectors, _ATSUCountFontFeatureTypes,
_ATSUCountFontInstances, _ATSUCountFontNames, _ATSUCountFontVariations,
_ATSUCreateAndCopyStyle, _ATSUCreateAndCopyTextLayout, _ATSUCreateFontFallbacks,
_ATSUCreateStyle, _ATSUCreateTextLayout, _ATSUCreateTextLayoutWithTextPtr,
_ATSUDirectAddStyleSettingRef, _ATSUDirectGetLayoutDataArrayPtrFromLineRef,
_ATSUDirectGetLayoutDataArrayPtrFromTextLayout, _ATSUDirectReleaseLayoutDataArrayPtr,
_ATSUDisposeFontFallbacks, _ATSUDisposeStyle, _ATSUDisposeStyleGroup,
_ATSUDisposeTextLayout, _ATSUDrawText, _ATSUFONDtoFontID,
_ATSUFindFontFromName, _ATSUFindFontName, _ATSUFlattenStyleRunsToStream,
_ATSUFontCount, _ATSUFontIDtoFOND, _ATSUGetAllAttributes,
_ATSUGetAllFontFeatures, _ATSUGetAllFontVariations, _ATSUGetAllLayoutControls,
_ATSUGetAllLineControls, _ATSUGetAttribute, _ATSUGetContinuousAttributes,
_ATSUGetFontFeature, _ATSUGetFontFeatureNameCode, _ATSUGetFontFeatureSelectors,
_ATSUGetFontFeatureTypes, _ATSUGetFontIDs, _ATSUGetFontInstance,
_ATSUGetFontInstanceNameCode, _ATSUGetFontVariationNameCode,
_ATSUGetFontVariationValue, _ATSUGetGlyphBounds, _ATSUGetGlyphInfo,
_ATSUGetIndFontName, _ATSUGetIndFontVariation, _ATSUGetLayoutControl,
_ATSUGetLineControl, _ATSUGetNativeCurveType, _ATSUGetObjFontFallbacks,
_ATSUGetRunStyle, _ATSUGetSoftLineBreaks, _ATSUGetStyleGroup,
_ATSUGetStyleIndex, _ATSUGetStyleRefCon, _ATSUGetTabArray,
_ATSUGetTextLayoutRefCon, _ATSUGetTextLocation, _ATSUGetTransientFontMatching,
_ATSUGetUnjustifiedBounds, _ATSUGlyphGetCubicPaths, _ATSUGlyphGetCurvePaths,
_ATSUGlyphGetIdealMetrics, _ATSUGlyphGetQuadraticPaths, _ATSUGlyphGetScreenMetrics,
_ATSUHighlightInactiveText, _ATSUHighlightText, _ATSULeftwardCursorPosition,
_ATSULineBreakEngine, _ATSUMatchFontsToText, _ATSUMeasureTextImage,
_ATSUNextCursorPosition, _ATSUOffsetToCursorPosition, _ATSUOffsetToPosition,
_ATSUOverwriteAttributes, _ATSUPositionToCursorOffset, _ATSUPositionToOffset,
_ATSUPreviousCursorPosition, _ATSURightwardCursorPosition,
_ATSUSetAttributes, _ATSUSetFontFeatures, _ATSUSetHighlightingMethod,
_ATSUSetLayoutControls, _ATSUSetLineControls, _ATSUSetObjFontFallbacks,
_ATSUSetRunStyle, _ATSUSetSoftLineBreak, _ATSUSetStyleRefCon,
_ATSUSetTabArray, _ATSUSetTextLayoutRefCon, _ATSUSetTextPointerLocation,
_ATSUSetTransientFontMatching, _ATSUSetVariations, _ATSUStyleIsEmpty,
_ATSUTextDeleted, _ATSUTextInserted, _ATSUTextMoved, _ATSUUnderwriteAttributes,
_ATSUUnflattenStyleRunsFromStream, _ATSUUnhighlightText, _DisposeATSCubicClosePathUPP,
_DisposeATSCubicCurveToUPP, _DisposeATSCubicLineToUPP, _DisposeATSCubicMoveToUPP,
_DisposeATSQuadraticClosePathUPP, _DisposeATSQuadraticCurveUPP,
_DisposeATSQuadraticLineUPP, _DisposeATSQuadraticNewPathUPP,
_DisposeRedrawBackgroundUPP, _InvokeATSCubicClosePathUPP,
_InvokeATSCubicCurveToUPP, _InvokeATSCubicLineToUPP, _InvokeATSCubicMoveToUPP,
_InvokeATSQuadraticClosePathUPP, _InvokeATSQuadraticCurveUPP,
_InvokeATSQuadraticLineUPP, _InvokeATSQuadraticNewPathUPP,
_InvokeRedrawBackgroundUPP, _NewATSCubicClosePathUPP, _NewATSCubicCurveToUPP,
_NewATSCubicLineToUPP, _NewATSCubicMoveToUPP, _NewATSQuadraticClosePathUPP,
_NewATSQuadraticCurveUPP, _NewATSQuadraticLineUPP, _NewATSQuadraticNewPathUPP,
_NewRedrawBackgroundUPP ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeGlyphs.h | /*
File: QD/ATSUnicodeGlyphs.h
Contains: ATSUI glyph handling functions.
Version: Quickdraw-291~1
Copyright: � 2003-2019 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEGLYPHS__
#include <ATSUI/ATSUnicodeGlyphs.h>
#endif /* __ATSUNICODEGLYPHS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeObjects.h | /*
File: QD/ATSUnicodeObjects.h
Contains: ATSUI object manipulation functions.
Version: Quickdraw-291~1
Copyright: � 2003-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEOBJECTS__
#include <ATSUI/ATSUnicodeObjects.h>
#endif /* __ATSUNICODEOBJECTS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFlattening.h | /*
File: QD/ATSUnicodeFlattening.h
Contains: Public interfaces for Apple Type Services for Unicode Imaging
Version: Quickdraw-291~1
Copyright: � 2002-2019 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEFLATTENING__
#include <ATSUI/ATSUnicodeFlattening.h>
#endif /* __ATSUNICODEFLATTENING__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeTypes.h | /*
File: QD/ATSUnicodeTypes.h
Contains: ATSUI types and constants.
Version: Quickdraw-291~1
Copyright: � 2003-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODETYPES__
#include <ATSUI/ATSUnicodeTypes.h>
#endif /* __ATSUNICODETYPES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDirectAccess.h | /*
File: QD/ATSUnicodeDirectAccess.h
Contains: Public Interfaces/Types for Low Level ATSUI
Version: Quickdraw-291~1
Copyright: � 2002-2019 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEDIRECTACCESS__
#include <ATSUI/ATSUnicodeDirectAccess.h>
#endif /* __ATSUNICODEDIRECTACCESS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeFonts.h | /*
File: QD/ATSUnicodeFonts.h
Contains: ATSUI font handling functions.
Version: Quickdraw-291~1
Copyright: � 2003-2019 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEFONTS__
#include <ATSUI/ATSUnicodeFonts.h>
#endif /* __ATSUNICODEFONTS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicode.h | /*
File: QD/ATSUnicode.h
Contains: Public interfaces for Apple Type Services for Unicode Imaging
Version: Quickdraw-291~1
Copyright: � 1997-2019 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODE__
#include <ATSUI/ATSUnicode.h>
#endif /* __ATSUNICODE__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDAvailability.h | //
// QDAvailability.h
// Quickdraw
//
// Copyright © 2018 Apple Inc. All rights reserved.
//
#ifndef __QD_AVAILIBILITY__
#define __QD_AVAILIBILITY__
#ifndef __OS_AVAILABILITY__
#include <os/availability.h>
#endif
// The "_R" variation of the macros is for "retroactive"
// Functions declared with it were not deprecated until Mojave, though they should have been by Tiger
#undef QD_AVAILABLE_BUT_DEPRECATED2
#if QD_BUILDING_QD
#define QD_AVAILABLE_BUT_DEPRECATED(m0,m1)
#define QD_AVAILABLE_BUT_DEPRECATED_R(m0,m1)
#else
#define QD_AVAILABLE_BUT_DEPRECATED(m0,m1) API_DEPRECATED("No longer supported", macos(m0,m1))
#define QD_AVAILABLE_BUT_DEPRECATED_R(m0,m1) API_DEPRECATED("No longer supported", macos(m0,m1))
#endif
#endif /* __QD_AVAILIBILITY__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ColorSyncDeprecated.h | /* ColorSync- ColorSyncDeprecated.h
* Copyright (c) 2008 Apple Inc.
* All rights reserved.
*/
#ifndef __COLORSYNCDEPRECATED__
#define __COLORSYNCDEPRECATED__
#include <stddef.h>
#include <sys/types.h>
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#if TARGET_OS_OSX
#pragma mark --- CMBase.h ---
#ifdef __cplusplus
extern "C" {
#endif
#if !defined(CSEXTERN)
#if defined(_MSC_VER)
#if defined(CG_BUILDING_CG)
#define CSEXTERN __declspec(dllexport) extern
#else
#define CSEXTERN __declspec(dllimport) extern
#endif
#else
#define CSEXTERN __attribute__((visibility("default"))) extern
#endif
#endif
#if !defined(CSEXPORT)
#if defined(_MSC_VER)
#if defined(CG_BUILDING_CG)
#define CSEXPORT __declspec(dllexport)
#else
#define CSEXPORT __declspec(dllimport)
#endif
#else
#define CSEXPORT __attribute__((visibility("default")))
#endif
#endif
#ifdef __cplusplus
}
#endif
#include <AvailabilityMacros.h>
#ifdef BUILDING_COLORSYNC
#ifdef DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER
#undef DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER
#endif
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER
#endif
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#pragma mark --- CMICCProfile.h ----
#pragma pack(push, 2)
/* ICC Profile version constants */
enum {
cmICCProfileVersion4 = 0x04000000,
cmICCProfileVersion2 = 0x02000000,
cmICCProfileVersion21 = 0x02100000,
cmCS2ProfileVersion = cmICCProfileVersion2,
cmCS1ProfileVersion = 0x00000100 /* ColorSync 1.0 profile version */
};
/* Current Major version number */
enum {
cmProfileMajorVersionMask = (int)0xFF000000,
cmCurrentProfileMajorVersion = 0x02000000
};
/* magic cookie number for anonymous file ID */
enum {
cmMagicNumber = 'acsp'
};
/************************************************************************/
/*************** ColorSync 2.0 profile specification ********************/
/************************************************************************/
/**** flags field ****/
enum {
cmICCReservedFlagsMask = 0x0000FFFF, /* these bits of the flags field are defined and reserved by ICC */
cmEmbeddedMask = 0x00000001, /* if bit 0 is 0 then not embedded profile, if 1 then embedded profile */
cmEmbeddedUseMask = 0x00000002, /* if bit 1 is 0 then ok to use anywhere, if 1 then ok to use as embedded profile only */
cmBlackPointCompensationMask = 0x00000004, /* if bit 2 is 1 then CMM will enable Black Point Compensation if applicable*/
cmCMSReservedFlagsMask = (int)0xFFFF0000, /* these bits of the flags field are defined and reserved by CMS vendor */
cmQualityMask = 0x00030000, /* if bits 16-17 is 0 then normal, if 1 then draft, if 2 then best */
cmInterpolationMask = 0x00040000, /* if bit 18 is 0 then interpolation, if 1 then lookup only */
cmGamutCheckingMask = 0x00080000 /* if bit 19 is 0 then create gamut checking info, if 1 then no gamut checking info */
};
/* copyright-protection flag options */
enum {
cmEmbeddedProfile = 0, /* 0 is not embedded profile, 1 is embedded profile */
cmEmbeddedUse = 1 /* 0 is to use anywhere, 1 is to use as embedded profile only */
};
/* speed and quality flag options */
enum {
cmNormalMode = 0, /* it uses the least significent two bits in the high word of flag */
cmDraftMode = 1, /* it should be evaulated like this: right shift 16 bits first, mask off the */
cmBestMode = 2 /* high 14 bits, and then compare with the enum to determine the option value */
};
/* black point compensation flag option */
enum {
cmBlackPointCompensation = 1 /* 0 do not apply Black Point Compensation, 1 apply */
};
/**** deviceAttributes fields ****/
/* deviceAttributes[0] is defined by and reserved for device vendors */
/* deviceAttributes[1] is defined by and reserved for ICC */
/* The following bits of deviceAttributes[1] are currently defined */
enum {
cmReflectiveTransparentMask = 0x00000001, /* if bit 0 is 0 then reflective media, if 1 then transparency media */
cmGlossyMatteMask = 0x00000002 /* if bit 1 is 0 then glossy, if 1 then matte */
};
/* device/media attributes element values */
enum {
cmReflective = 0, /* if bit 0 is 0 then reflective media, if 1 then transparency media */
cmGlossy = 1 /* if bit 1 is 0 then glossy, if 1 then matte */
};
/**** renderingIntent field ****/
enum {
cmPerceptual = 0, /* Photographic images */
cmRelativeColorimetric = 1, /* Logo Colors */
cmSaturation = 2, /* Business graphics */
cmAbsoluteColorimetric = 3 /* Logo Colors */
};
/* data type element values */
enum {
cmAsciiData = 0,
cmBinaryData = 1
};
/* screen encodings */
enum {
cmPrtrDefaultScreens = 0, /* Use printer default screens. 0 is false, 1 is ture */
cmLinesPer = 1 /* 0 is LinesPerCm, 1 is LinesPerInch */
};
/* 2.0 tag type information */
enum {
cmNumHeaderElements = 10
};
/* public tags */
enum {
cmAToB0Tag = 'A2B0',
cmAToB1Tag = 'A2B1',
cmAToB2Tag = 'A2B2',
cmBlueColorantTag = 'bXYZ',
cmBlueTRCTag = 'bTRC',
cmBToA0Tag = 'B2A0',
cmBToA1Tag = 'B2A1',
cmBToA2Tag = 'B2A2',
cmCalibrationDateTimeTag = 'calt',
cmChromaticAdaptationTag = 'chad',
cmCharTargetTag = 'targ',
cmCopyrightTag = 'cprt',
cmDeviceMfgDescTag = 'dmnd',
cmDeviceModelDescTag = 'dmdd',
cmGamutTag = 'gamt',
cmGrayTRCTag = 'kTRC',
cmGreenColorantTag = 'gXYZ',
cmGreenTRCTag = 'gTRC',
cmLuminanceTag = 'lumi',
cmMeasurementTag = 'meas',
cmMediaBlackPointTag = 'bkpt',
cmMediaWhitePointTag = 'wtpt',
cmNamedColorTag = 'ncol',
cmNamedColor2Tag = 'ncl2',
cmPreview0Tag = 'pre0',
cmPreview1Tag = 'pre1',
cmPreview2Tag = 'pre2',
cmProfileDescriptionTag = 'desc',
cmProfileSequenceDescTag = 'pseq',
cmPS2CRD0Tag = 'psd0',
cmPS2CRD1Tag = 'psd1',
cmPS2CRD2Tag = 'psd2',
cmPS2CRD3Tag = 'psd3',
cmPS2CSATag = 'ps2s',
cmPS2RenderingIntentTag = 'ps2i',
cmRedColorantTag = 'rXYZ',
cmRedTRCTag = 'rTRC',
cmScreeningDescTag = 'scrd',
cmScreeningTag = 'scrn',
cmTechnologyTag = 'tech',
cmUcrBgTag = 'bfd ',
cmViewingConditionsDescTag = 'vued',
cmViewingConditionsTag = 'view'
};
/* custom tags */
enum {
cmPS2CRDVMSizeTag = 'psvm',
cmVideoCardGammaTag = 'vcgt',
cmMakeAndModelTag = 'mmod',
cmProfileDescriptionMLTag = 'dscm',
cmNativeDisplayInfoTag = 'ndin'
};
/* public type signatures */
enum {
cmSigCrdInfoType = 'crdi',
cmSigCurveType = 'curv',
cmSigDataType = 'data',
cmSigDateTimeType = 'dtim',
cmSigLut16Type = 'mft2',
cmSigLut8Type = 'mft1',
cmSigMeasurementType = 'meas',
cmSigMultiFunctA2BType = 'mAB ',
cmSigMultiFunctB2AType = 'mBA ',
cmSigNamedColorType = 'ncol',
cmSigNamedColor2Type = 'ncl2',
cmSigParametricCurveType = 'para',
cmSigProfileDescriptionType = 'desc',
cmSigProfileSequenceDescType = 'pseq',
cmSigScreeningType = 'scrn',
cmSigS15Fixed16Type = 'sf32',
cmSigSignatureType = 'sig ',
cmSigTextType = 'text',
cmSigU16Fixed16Type = 'uf32',
cmSigU1Fixed15Type = 'uf16',
cmSigUInt8Type = 'ui08',
cmSigUInt16Type = 'ui16',
cmSigUInt32Type = 'ui32',
cmSigUInt64Type = 'ui64',
cmSigUcrBgType = 'bfd ',
cmSigUnicodeTextType = 'utxt',
cmSigViewingConditionsType = 'view',
cmSigXYZType = 'XYZ '
};
/* custom type signatures */
enum {
cmSigPS2CRDVMSizeType = 'psvm',
cmSigVideoCardGammaType = 'vcgt',
cmSigMakeAndModelType = 'mmod',
cmSigNativeDisplayInfoType = 'ndin',
cmSigMultiLocalizedUniCodeType = 'mluc'
};
/* technology tag descriptions */
enum {
cmTechnologyDigitalCamera = 'dcam',
cmTechnologyFilmScanner = 'fscn',
cmTechnologyReflectiveScanner = 'rscn',
cmTechnologyInkJetPrinter = 'ijet',
cmTechnologyThermalWaxPrinter = 'twax',
cmTechnologyElectrophotographicPrinter = 'epho',
cmTechnologyElectrostaticPrinter = 'esta',
cmTechnologyDyeSublimationPrinter = 'dsub',
cmTechnologyPhotographicPaperPrinter = 'rpho',
cmTechnologyFilmWriter = 'fprn',
cmTechnologyVideoMonitor = 'vidm',
cmTechnologyVideoCamera = 'vidc',
cmTechnologyProjectionTelevision = 'pjtv',
cmTechnologyCRTDisplay = 'CRT ',
cmTechnologyPMDisplay = 'PMD ',
cmTechnologyAMDisplay = 'AMD ',
cmTechnologyPhotoCD = 'KPCD',
cmTechnologyPhotoImageSetter = 'imgs',
cmTechnologyGravure = 'grav',
cmTechnologyOffsetLithography = 'offs',
cmTechnologySilkscreen = 'silk',
cmTechnologyFlexography = 'flex'
};
/* Measurement type encodings */
/* Measurement Flare */
enum {
cmFlare0 = 0x00000000,
cmFlare100 = 0x00000001
};
/* Measurement Geometry */
enum {
cmGeometryUnknown = 0x00000000,
cmGeometry045or450 = 0x00000001,
cmGeometry0dord0 = 0x00000002
};
/* Standard Observer */
enum {
cmStdobsUnknown = 0x00000000,
cmStdobs1931TwoDegrees = 0x00000001,
cmStdobs1964TenDegrees = 0x00000002
};
/* Standard Illuminant */
enum {
cmIlluminantUnknown = 0x00000000,
cmIlluminantD50 = 0x00000001,
cmIlluminantD65 = 0x00000002,
cmIlluminantD93 = 0x00000003,
cmIlluminantF2 = 0x00000004,
cmIlluminantD55 = 0x00000005,
cmIlluminantA = 0x00000006,
cmIlluminantEquiPower = 0x00000007,
cmIlluminantF8 = 0x00000008
};
/* Spot Function Value */
enum {
cmSpotFunctionUnknown = 0,
cmSpotFunctionDefault = 1,
cmSpotFunctionRound = 2,
cmSpotFunctionDiamond = 3,
cmSpotFunctionEllipse = 4,
cmSpotFunctionLine = 5,
cmSpotFunctionSquare = 6,
cmSpotFunctionCross = 7
};
/* Color Space Signatures */
enum {
cmXYZData = 'XYZ ',
cmLabData = 'Lab ',
cmLuvData = 'Luv ',
cmYCbCrData = 'YCbr',
cmYxyData = 'Yxy ',
cmRGBData = 'RGB ',
cmSRGBData = 'sRGB',
cmGrayData = 'GRAY',
cmHSVData = 'HSV ',
cmHLSData = 'HLS ',
cmCMYKData = 'CMYK',
cmCMYData = 'CMY ',
cmMCH5Data = 'MCH5',
cmMCH6Data = 'MCH6',
cmMCH7Data = 'MCH7',
cmMCH8Data = 'MCH8',
cm3CLRData = '3CLR',
cm4CLRData = '4CLR',
cm5CLRData = '5CLR',
cm6CLRData = '6CLR',
cm7CLRData = '7CLR',
cm8CLRData = '8CLR',
cm9CLRData = '9CLR',
cm10CLRData = 'ACLR',
cm11CLRData = 'BCLR',
cm12CLRData = 'CCLR',
cm13CLRData = 'DCLR',
cm14CLRData = 'ECLR',
cm15CLRData = 'FCLR',
cmNamedData = 'NAME'
};
/* profileClass enumerations */
enum {
cmInputClass = 'scnr',
cmDisplayClass = 'mntr',
cmOutputClass = 'prtr',
cmLinkClass = 'link',
cmAbstractClass = 'abst',
cmColorSpaceClass = 'spac',
cmNamedColorClass = 'nmcl'
};
/* platform enumerations */
enum {
cmMacintosh = 'APPL',
cmMicrosoft = 'MSFT',
cmSolaris = 'SUNW',
cmSiliconGraphics = 'SGI ',
cmTaligent = 'TGNT'
};
/* parametric curve type enumerations */
enum {
cmParametricType0 = 0, /* Y = X^gamma */
cmParametricType1 = 1, /* Y = (aX+b)^gamma [X>=-b/a], Y = 0 [X<-b/a] */
cmParametricType2 = 2, /* Y = (aX+b)^gamma + c [X>=-b/a], Y = c [X<-b/a] */
cmParametricType3 = 3, /* Y = (aX+b)^gamma [X>=d], Y = cX [X<d] */
cmParametricType4 = 4 /* Y = (aX+b)^gamma + e [X>=d], Y = cX+f [X<d] */
};
/* ColorSync 1.0 elements */
enum {
cmCS1ChromTag = 'chrm',
cmCS1TRCTag = 'trc ',
cmCS1NameTag = 'name',
cmCS1CustTag = 'cust'
};
/* General element data types */
typedef struct CMDateTime {
UInt16 year;
UInt16 month;
UInt16 dayOfTheMonth;
UInt16 hours;
UInt16 minutes;
UInt16 seconds;
} CMDateTime DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMFixedXYColor {
Fixed x;
Fixed y;
} CMFixedXYColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMFixedXYZColor {
Fixed X;
Fixed Y;
Fixed Z;
} CMFixedXYZColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef UInt16 CMXYZComponent;
typedef struct CMXYZColor {
CMXYZComponent X;
CMXYZComponent Y;
CMXYZComponent Z;
} CMXYZColor;
/* Typedef for Profile MD5 message digest */
/* Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm */
typedef unsigned char CMProfileMD5[16] DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef CMProfileMD5 * CMProfileMD5Ptr DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
* CMProfileMD5AreEqual()
*
* Availability: available as macro/inline
*/
#ifdef __cplusplus
inline Boolean CMProfileMD5AreEqual(CMProfileMD5 a, CMProfileMD5 b)
{
return ((UInt32*)a)[0]==((UInt32*)b)[0] && ((UInt32*)a)[1]==((UInt32*)b)[1] &&
((UInt32*)a)[2]==((UInt32*)b)[2] && ((UInt32*)a)[3]==((UInt32*)b)[3];
}
#else
#define CMProfileMD5AreEqual(a, b) (\
((UInt32*)a)[0]==((UInt32*)b)[0] && ((UInt32*)a)[1]==((UInt32*)b)[1] && \
((UInt32*)a)[2]==((UInt32*)b)[2] && ((UInt32*)a)[3]==((UInt32*)b)[3])
#endif
typedef struct CM2Header {
UInt32 size; /* This is the total size of the Profile */
OSType CMMType; /* CMM signature, Registered with CS2 consortium */
UInt32 profileVersion; /* Version of CMProfile format */
OSType profileClass; /* input, display, output, devicelink, abstract, or color conversion profile type */
OSType dataColorSpace; /* color space of data */
OSType profileConnectionSpace; /* profile connection color space */
CMDateTime dateTime; /* date and time of profile creation */
OSType CS2profileSignature; /* 'acsp' constant ColorSync 2.0 file ID */
OSType platform; /* primary profile platform, Registered with CS2 consortium */
UInt32 flags; /* profile flags */
OSType deviceManufacturer; /* Registered with ICC consortium */
UInt32 deviceModel; /* Registered with ICC consortium */
UInt32 deviceAttributes[2]; /* Attributes[0] is for device vendors, [1] is for ICC */
UInt32 renderingIntent; /* preferred rendering intent of tagged object */
CMFixedXYZColor white; /* profile illuminant */
OSType creator; /* profile creator */
char reserved[44]; /* reserved for future use */
} CM2Header DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CM4Header {
UInt32 size; /* This is the total size of the Profile */
OSType CMMType; /* CMM signature, Registered with CS2 consortium */
UInt32 profileVersion; /* Version of CMProfile format */
OSType profileClass; /* input, display, output, devicelink, abstract, or color conversion profile type */
OSType dataColorSpace; /* color space of data */
OSType profileConnectionSpace; /* profile connection color space */
CMDateTime dateTime; /* date and time of profile creation */
OSType CS2profileSignature; /* 'acsp' constant ColorSync 2.0 file ID */
OSType platform; /* primary profile platform, Registered with CS2 consortium */
UInt32 flags; /* profile flags */
OSType deviceManufacturer; /* Registered with ICC consortium */
UInt32 deviceModel; /* Registered with ICC consortium */
UInt32 deviceAttributes[2]; /* Attributes[0] is for device vendors, [1] is for ICC */
UInt32 renderingIntent; /* preferred rendering intent of tagged object */
CMFixedXYZColor white; /* profile illuminant */
OSType creator; /* profile creator */
CMProfileMD5 digest; /* Profile message digest */
char reserved[28]; /* reserved for future use */
} CM4Header DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMTagRecord {
OSType tag; /* Registered with CS2 consortium */
UInt32 elementOffset; /* Relative to start of CMProfile */
UInt32 elementSize;
} CMTagRecord DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMTagElemTable {
UInt32 count;
CMTagRecord tagList[1]; /* variable size, determined by count */
} CMTagElemTable DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CM2Profile {
CM2Header header;
CMTagElemTable tagTable;
char elemData[1]; /* variable size data for tagged element storage */
} CM2Profile, *CM2ProfilePtr, **CM2ProfileHandle DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Tag Type Definitions */
typedef struct CMAdaptationMatrixType {
OSType typeDescriptor; /* 'sf32' = cmSigS15Fixed16Type */
UInt32 reserved; /* fill with 0x00 */
Fixed adaptationMatrix[9]; /* fixed size of nine matrix entries */
} CMAdaptationMatrixType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMCurveType {
OSType typeDescriptor; /* 'curv' = cmSigCurveType */
UInt32 reserved; /* fill with 0x00 */
UInt32 countValue; /* number of entries in table that follows */
UInt16 data[1]; /* variable size, determined by countValue */
} CMCurveType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMDataType {
OSType typeDescriptor; /* 'data' = cmSigDataType*/
UInt32 reserved; /* fill with 0x00 */
UInt32 dataFlag; /* 0 = ASCII, 1 = binary */
char data[1]; /* variable size, determined by tag element size */
} CMDataType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMDateTimeType {
OSType typeDescriptor; /* 'dtim' = cmSigDateTimeType */
UInt32 reserved; /* fill with 0x00 */
CMDateTime dateTime; /* */
} CMDateTimeType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMLut16Type {
OSType typeDescriptor; /* 'mft2' = cmSigLut16Type */
UInt32 reserved; /* fill with 0x00 */
UInt8 inputChannels; /* Number of input channels */
UInt8 outputChannels; /* Number of output channels */
UInt8 gridPoints; /* Number of clutTable grid points */
UInt8 reserved2; /* fill with 0x00 */
Fixed matrix[3][3]; /* */
UInt16 inputTableEntries; /* Number of entries in 1-D input luts */
UInt16 outputTableEntries; /* Number of entries in 1-D output luts */
UInt16 inputTable[1]; /* variable size, determined by inputChannels*inputTableEntries */
#if 0 /* NOTE: Field offsets are variable from here on. */
/* In order to correctly reflect the actual format of this tag, some of the fields in */
/* this structure have been removed because they follow an array field of variable size. */
/* As a result, the size of this structure has changed from previous versions of this interface. */
/* Code that relies on sizeof(CMLut16Type) should be changed. */
UInt16 CLUT[]; /* variable size, determined by (gridPoints^inputChannels)*outputChannels */
UInt16 outputTable[]; /* variable size, determined by outputChannels*outputTableEntries */
#endif
} CMLut16Type DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMLut8Type {
OSType typeDescriptor; /* 'mft1' = cmSigLut8Type */
UInt32 reserved; /* fill with 0x00 */
UInt8 inputChannels; /* Number of input channels */
UInt8 outputChannels; /* Number of output channels */
UInt8 gridPoints; /* Number of clutTable grid points */
UInt8 reserved2; /* fill with 0x00 */
Fixed matrix[3][3]; /* */
UInt8 inputTable[1]; /* variable size, determined by inputChannels*256 */
#if 0 /* NOTE: Field offsets are variable from here on. */
/* In order to correctly reflect the actual format of this tag, some of the fields in */
/* this structure have been removed because they follow an array field of variable size. */
/* As a result, the size of this structure has changed from previous versions of this interface. */
/* Code that relies on sizeof(CMLut8Type) should be changed. */
UInt8 CLUT[]; /* variable size, determined by (gridPoints^inputChannels)*outputChannels */
UInt8 outputTable[]; /* variable size, determined by outputChannels*256 */
#endif
} CMLut8Type DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultiFunctLutType {
OSType typeDescriptor; /* 'mAB ' = cmSigMultiFunctA2BType or 'mBA ' = cmSigMultiFunctB2AType */
UInt32 reserved; /* fill with 0x00 */
UInt8 inputChannels; /* Number of input channels */
UInt8 outputChannels; /* Number of output channels */
UInt16 reserved2; /* fill with 0x00 */
UInt32 offsetBcurves; /* offset to first "B" curve */
UInt32 offsetMatrix; /* offset to 3x4 matrix */
UInt32 offsetMcurves; /* offset to first "M" curve */
UInt32 offsetCLUT; /* offset to multi-dimensional LUT of type CMMultiFunctCLUTType */
UInt32 offsetAcurves; /* offset to first "A" curve */
UInt8 data[1]; /* variable size */
} CMMultiFunctLutType, CMMultiFunctLutA2BType, CMMultiFunctLutB2AType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultiFunctCLUTType {
UInt8 gridPoints[16]; /* grigpoints for each input channel dimension (remaining are 0) */
UInt8 entrySize; /* bytes per lut enrty (1 or 2) */
UInt8 reserved[3]; /* fill with 0x00 */
UInt8 data[2]; /* variable size, determined by above */
} CMMultiFunctCLUTType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMeasurementType {
OSType typeDescriptor; /* 'meas' = cmSigMeasurementType */
UInt32 reserved; /* fill with 0x00 */
UInt32 standardObserver; /* cmStdobsUnknown, cmStdobs1931TwoDegrees, cmStdobs1964TenDegrees */
CMFixedXYZColor backingXYZ; /* absolute XYZ values of backing */
UInt32 geometry; /* cmGeometryUnknown, cmGeometry045or450 (0/45), cmGeometry0dord0 (0/d or d/0) */
UInt32 flare; /* cmFlare0, cmFlare100 */
UInt32 illuminant; /* cmIlluminantUnknown, cmIlluminantD50, ... */
} CMMeasurementType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMNamedColorType {
OSType typeDescriptor; /* 'ncol' = cmSigNamedColorType */
UInt32 reserved; /* fill with 0x00 */
UInt32 vendorFlag; /* */
UInt32 count; /* count of named colors in array that follows */
UInt8 prefixName[1]; /* variable size, max = 32 */
#if 0 /* NOTE: Field offsets are variable from here on. */
/* In order to correctly reflect the actual format of this tag, some of the fields in */
/* this structure have been removed because they follow an array field of variable size. */
/* As a result, the size of this structure has changed from previous versions of this interface. */
/* Code that relies on sizeof(CMNamedColorType) should be changed. */
UInt8 suffixName[]; /* variable size, max = 32 */
struct {
UInt8 rootName[]; /* variable size, max = 32 */
UInt8 colorCoords[]; /* variable size */
} colorName[]; /* variable size */
#endif
} CMNamedColorType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMNamedColor2EntryType {
UInt8 rootName[32]; /* 32 byte field. 7 bit ASCII null terminated */
UInt16 PCSColorCoords[3]; /* Lab or XYZ color */
UInt16 DeviceColorCoords[1]; /* variable size */
} CMNamedColor2EntryType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMNamedColor2Type {
OSType typeDescriptor; /* 'ncl2' = cmSigNamedColor2Type */
UInt32 reserved; /* fill with 0x00 */
UInt32 vendorFlag; /* lower 16 bits reserved for ICC use */
UInt32 count; /* count of named colors in array that follows */
UInt32 deviceChannelCount; /* number of device channels, 0 indicates no device value available */
UInt8 prefixName[32]; /* Fixed 32 byte size. 7 bit ASCII null terminated */
UInt8 suffixName[32]; /* Fixed 32 byte size. 7 bit ASCII null terminated */
char data[1]; /* variable size data for CMNamedColor2EntryType */
} CMNamedColor2Type DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMNativeDisplayInfo {
UInt32 dataSize; /* Size of this structure */
CMFixedXYColor redPhosphor; /* Phosphors - native cromaticity values of the display */
CMFixedXYColor greenPhosphor;
CMFixedXYColor bluePhosphor;
CMFixedXYColor whitePoint;
Fixed redGammaValue; /* Gammas - native gamma values of the display */
Fixed greenGammaValue;
Fixed blueGammaValue;
/* Gamma tables - if if gammaChannels is not zero, */
/* native gamma tables are preferred over values */
/* redGammaValue, greenGammaValue, blueGammaValue */
UInt16 gammaChannels; /* # of gamma channels (1 or 3) */
UInt16 gammaEntryCount; /* 1-based number of entries per channel */
UInt16 gammaEntrySize; /* size in bytes of each entry */
char gammaData[1]; /* variable size, determined by channels*entryCount*entrySize */
} CMNativeDisplayInfo DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMNativeDisplayInfoType {
OSType typeDescriptor; /* 'ndin' = cmSigNativeDisplayInfoType */
UInt32 reserved; /* fill with 0x00 */
CMNativeDisplayInfo nativeDisplayInfo; /* data of type CMNativeDisplayInfo */
} CMNativeDisplayInfoType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMParametricCurveType {
OSType typeDescriptor; /* 'para' = cmSigParametricCurveType */
UInt32 reserved; /* fill with 0x00 */
UInt16 functionType; /* cmParametricType0, cmParametricType1, etc. */
UInt16 reserved2; /* fill with 0x00 */
Fixed value[1]; /* variable size, determined by functionType */
} CMParametricCurveType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMTextDescriptionType {
OSType typeDescriptor; /* 'desc' = cmSigProfileDescriptionType */
UInt32 reserved; /* fill with 0x00 */
UInt32 ASCIICount; /* Count of bytes (including null terminator) */
UInt8 ASCIIName[2]; /* variable size, determined by ASCIICount. 7 bit ASCII null terminated */
#if 0 /* NOTE: Field offsets are variable from here on. */
/* In order to correctly reflect the actual format of this tag, some of the fields in */
/* this structure have been removed because they follow an array field of variable size. */
/* As a result, the size of this structure has changed from previous versions of this interface. */
/* Code that relies on sizeof(CMTextDescriptionType) should be changed. */
UInt32 UniCodeCode; /* Unused */
UInt32 UniCodeCount; /* Count of 2-byte characters (including null terminator) */
UInt8 UniCodeName[]; /* variable size, determined by UniCodeCount */
SInt16 ScriptCodeCode; /* Mac-defined script code */
UInt8 ScriptCodeCount; /* Count of bytes (including null terminator) */
UInt8 ScriptCodeName[]; /* variable size, determined by ScriptCodeCount */
#endif
} CMTextDescriptionType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMTextType {
OSType typeDescriptor; /* 'text' = cmSigTextType */
UInt32 reserved; /* fill with 0x00 */
UInt8 text[1]; /* variable size, determined by tag element size */
} CMTextType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMUnicodeTextType {
OSType typeDescriptor; /* 'utxt' = cmSigUnicodeTextType */
UInt32 reserved; /* fill with 0x00 */
UniChar text[1]; /* variable size, determined by tag element size */
} CMUnicodeTextType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMScreeningChannelRec {
Fixed frequency;
Fixed angle;
UInt32 spotFunction;
} CMScreeningChannelRec DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMScreeningType {
OSType typeDescriptor; /* 'scrn' = cmSigScreeningType */
UInt32 reserved; /* fill with 0x00 */
UInt32 screeningFlag; /* bit 0 : use printer default screens, bit 1 : inch/cm */
UInt32 channelCount; /* */
CMScreeningChannelRec channelInfo[1]; /* variable size, determined by channelCount */
} CMScreeningType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMSignatureType {
OSType typeDescriptor; /* 'sig ' = cmSigSignatureType */
UInt32 reserved; /* fill with 0x00 */
OSType signature;
} CMSignatureType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMS15Fixed16ArrayType {
OSType typeDescriptor; /* 'sf32' = cmSigS15Fixed16Type */
UInt32 reserved; /* fill with 0x00 */
Fixed value[1]; /* variable size, determined by tag element size */
} CMS15Fixed16ArrayType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMU16Fixed16ArrayType {
OSType typeDescriptor; /* 'uf32' = cmSigU16Fixed16Type */
UInt32 reserved; /* fill with 0x00 */
UInt32 value[1]; /* variable size, determined by tag element size */
} CMU16Fixed16ArrayType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMUInt8ArrayType {
OSType typeDescriptor; /* 'ui08' = cmSigUInt8Type */
UInt32 reserved; /* fill with 0x00 */
UInt8 value[1]; /* variable size, determined by tag element size */
} CMUInt8ArrayType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMUInt16ArrayType {
OSType typeDescriptor; /* 'ui16' = cmSigUInt16Type */
UInt32 reserved; /* fill with 0x00 */
UInt16 value[1]; /* variable size, determined by tag element size */
} CMUInt16ArrayType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMUInt32ArrayType {
OSType typeDescriptor; /* 'ui32' = cmSigUInt32Type */
UInt32 reserved; /* fill with 0x00 */
UInt32 value[1]; /* variable size, determined by tag element size */
} CMUInt32ArrayType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMUInt64ArrayType {
OSType typeDescriptor; /* 'ui64' = cmSigUInt64Type */
UInt32 reserved; /* fill with 0x00 */
UInt32 value[1]; /* variable size, determined by tag element size */
} CMUInt64ArrayType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMViewingConditionsType {
OSType typeDescriptor; /* 'view' = cmSigViewingConditionsType */
UInt32 reserved; /* fill with 0x00 */
CMFixedXYZColor illuminant; /* absolute XYZs of illuminant in cd/m^2 */
CMFixedXYZColor surround; /* absolute XYZs of surround in cd/m^2 */
UInt32 stdIlluminant; /* see definitions of std illuminants */
} CMViewingConditionsType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMXYZType {
OSType typeDescriptor; /* 'XYZ ' = cmSigXYZType */
UInt32 reserved; /* fill with 0x00 */
CMFixedXYZColor XYZ[1]; /* variable size, determined by tag element size */
} CMXYZType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMProfileSequenceDescType {
OSType typeDescriptor; /* 'pseq' = cmProfileSequenceDescTag */
UInt32 reserved; /* fill with 0x00 */
UInt32 count; /* Number of descriptions */
char data[1]; /* variable size data explained in ICC spec */
} CMProfileSequenceDescType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMUcrBgType {
OSType typeDescriptor; /* 'bfd ' = cmSigUcrBgType */
UInt32 reserved; /* fill with 0x00 */
UInt32 ucrCount; /* Number of UCR entries */
UInt16 ucrValues[1]; /* variable size, determined by ucrCount */
#if 0 /* NOTE: Field offsets are variable from here on. */
/* In order to correctly reflect the actual format of this tag, some of the fields in */
/* this structure have been removed because they follow an array field of variable size. */
/* As a result, the size of this structure has changed from previous versions of this interface. */
/* Code that relies on sizeof(CMUcrBgType) should be changed. */
UInt32 bgCount; /* Number of BG entries */
UInt16 bgValues[]; /* variable size, determined by bgCount */
UInt8 ucrbgASCII[]; /* null terminated ASCII string */
#endif
} CMUcrBgType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Private Tag Type Definitions */
typedef struct CMIntentCRDVMSize {
UInt32 renderingIntent; /* rendering intent */
UInt32 VMSize; /* VM size taken up by the CRD */
} CMIntentCRDVMSize DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMPS2CRDVMSizeType {
OSType typeDescriptor; /* 'psvm' = cmSigPS2CRDVMSizeType */
UInt32 reserved; /* fill with 0x00 */
UInt32 count; /* number of intent entries */
CMIntentCRDVMSize intentCRD[1]; /* variable size, determined by count */
} CMPS2CRDVMSizeType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
enum {
cmVideoCardGammaTableType = 0,
cmVideoCardGammaFormulaType = 1
};
typedef struct CMVideoCardGammaTable {
UInt16 channels; /* # of gamma channels (1 or 3) */
UInt16 entryCount; /* 1-based number of entries per channel */
UInt16 entrySize; /* size in bytes of each entry */
char data[1]; /* variable size, determined by channels*entryCount*entrySize */
} CMVideoCardGammaTable DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMVideoCardGammaFormula {
Fixed redGamma; /* must be > 0.0 */
Fixed redMin; /* must be > 0.0 and < 1.0 */
Fixed redMax; /* must be > 0.0 and < 1.0 */
Fixed greenGamma; /* must be > 0.0 */
Fixed greenMin; /* must be > 0.0 and < 1.0 */
Fixed greenMax; /* must be > 0.0 and < 1.0 */
Fixed blueGamma; /* must be > 0.0 */
Fixed blueMin; /* must be > 0.0 and < 1.0 */
Fixed blueMax; /* must be > 0.0 and < 1.0 */
} CMVideoCardGammaFormula DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMVideoCardGamma {
UInt32 tagType;
union {
CMVideoCardGammaTable table;
CMVideoCardGammaFormula formula;
} u;
} CMVideoCardGamma DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMVideoCardGammaType {
OSType typeDescriptor; /* 'vcgt' = cmSigVideoCardGammaType */
UInt32 reserved; /* fill with 0x00 */
CMVideoCardGamma gamma;
} CMVideoCardGammaType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMakeAndModel {
OSType manufacturer;
UInt32 model;
UInt32 serialNumber;
UInt32 manufactureDate;
UInt32 reserved1; /* fill with 0x00 */
UInt32 reserved2; /* fill with 0x00 */
UInt32 reserved3; /* fill with 0x00 */
UInt32 reserved4; /* fill with 0x00 */
} CMMakeAndModel DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMakeAndModelType {
OSType typeDescriptor; /* 'mmod' = cmSigMakeAndModelType */
UInt32 reserved; /* fill with 0x00 */
CMMakeAndModel makeAndModel;
} CMMakeAndModelType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultiLocalizedUniCodeEntryRec {
char languageCode[2]; /* language code from ISO-639 */
char regionCode[2]; /* region code from ISO-3166 */
UInt32 textLength; /* the length in bytes of the string */
UInt32 textOffset; /* the offset from the start of tag in bytes */
} CMMultiLocalizedUniCodeEntryRec DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultiLocalizedUniCodeType {
OSType typeDescriptor; /* 'mluc' = cmSigMultiLocalizedUniCodeType */
UInt32 reserved; /* fill with 0x00 */
UInt32 entryCount; /* 1-based number of name records that follow */
UInt32 entrySize; /* size in bytes of name records that follow */
/* variable-length data for storage of CMMultiLocalizedUniCodeEntryRec */
/* variable-length data for storage of Unicode strings*/
} CMMultiLocalizedUniCodeType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#if !__LP64__
/************************************************************************/
/*************** ColorSync 1.0 profile specification ********************/
/************************************************************************/
enum {
cmGrayResponse = 0,
cmRedResponse = 1,
cmGreenResponse = 2,
cmBlueResponse = 3,
cmCyanResponse = 4,
cmMagentaResponse = 5,
cmYellowResponse = 6,
cmUcrResponse = 7,
cmBgResponse = 8,
cmOnePlusLastResponse = 9
};
/* Device types */
enum {
cmMonitorDevice = 'mntr',
cmScannerDevice = 'scnr',
cmPrinterDevice = 'prtr'
};
typedef struct CMIString {
ScriptCode theScript;
Str63 theString;
} CMIString DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Profile options */
enum {
cmPerceptualMatch = 0x0000, /* Default. For photographic images */
cmColorimetricMatch = 0x0001, /* Exact matching when possible */
cmSaturationMatch = 0x0002 /* For solid colors */
};
/* Profile flags */
enum {
cmNativeMatchingPreferred = 0x00000001, /* Default to native not preferred */
cmTurnOffCache = 0x00000002 /* Default to turn on CMM cache */
};
typedef UInt32 CMMatchOption DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef UInt32 CMMatchFlag DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMHeader {
UInt32 size;
OSType CMMType;
UInt32 applProfileVersion;
OSType dataType;
OSType deviceType;
OSType deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 profileNameOffset;
UInt32 customDataOffset;
CMMatchFlag flags;
CMMatchOption options;
CMXYZColor white;
CMXYZColor black;
} CMHeader DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMProfileChromaticities {
CMXYZColor red;
CMXYZColor green;
CMXYZColor blue;
CMXYZColor cyan;
CMXYZColor magenta;
CMXYZColor yellow;
} CMProfileChromaticities DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMProfileResponse {
UInt16 counts[9];
UInt16 data[1]; /* Variable size */
} CMProfileResponse DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMProfile {
CMHeader header;
CMProfileChromaticities profile;
CMProfileResponse response;
CMIString profileName;
char customData[1]; /* Variable size */
} CMProfile, *CMProfilePtr, **CMProfileHandle DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif // !__LP64__
#pragma pack(pop)
#pragma mark --- CMTypes.h ----
/* Abstract data type for memory-based Profile */
typedef struct OpaqueCMProfileRef* CMProfileRef DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#if !__LP64__
/* Abstract data type for Profile search result */
typedef struct OpaqueCMProfileSearchRef* CMProfileSearchRef DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Abstract data type for BeginMatching(…) reference */
typedef struct OpaqueCMMatchRef* CMMatchRef DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif // !__LP64__
/* Abstract data type for ColorWorld reference */
typedef struct OpaqueCMWorldRef* CMWorldRef DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Data type for ColorSync DisplayID reference */
/* On 8 & 9 this is a AVIDType */
/* On X this is a CGSDisplayID */
typedef UInt32 CMDisplayIDType DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef UInt32 CMChromaticAdaptation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
enum {
cmUseDefaultChromaticAdaptation = 0,
cmLinearChromaticAdaptation = 1,
cmVonKriesChromaticAdaptation = 2,
cmBradfordChromaticAdaptation = 3
};
/* Caller-supplied flatten function */
typedef CALLBACK_API( OSErr , CMFlattenProcPtr )(SInt32 command, long *size, void *data, void *refCon);
typedef STACK_UPP_TYPE(CMFlattenProcPtr) CMFlattenUPP;
#if !_DECLARE_CS_QD_API_
#define CMBITMAPCALLBACKPROCPTR_DEFINED 1
/* Caller-supplied progress function for Bitmap & PixMap matching routines */
typedef CALLBACK_API( Boolean , CMBitmapCallBackProcPtr )(SInt32 progress, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef STACK_UPP_TYPE(CMBitmapCallBackProcPtr) CMBitmapCallBackUPP DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif /* _DECLARE_CS_QD_API_ */
/* Caller-supplied progress function for NCMMConcatInit & NCMMNewLinkProfile routines */
typedef CALLBACK_API( Boolean , CMConcatCallBackProcPtr )(SInt32 progress, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef STACK_UPP_TYPE(CMConcatCallBackProcPtr) CMConcatCallBackUPP DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#if !__LP64__
/* Caller-supplied filter function for Profile search*/
typedef CALLBACK_API( Boolean , CMProfileFilterProcPtr )(CMProfileRef prof, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef STACK_UPP_TYPE(CMProfileFilterProcPtr) CMProfileFilterUPP DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Caller-supplied function for profile access*/
typedef CALLBACK_API( OSErr , CMProfileAccessProcPtr )(SInt32 command, SInt32 offset, SInt32 *size, void *data, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef STACK_UPP_TYPE(CMProfileAccessProcPtr) CMProfileAccessUPP DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif // !__LP64__
#ifdef __cplusplus
}
#endif
#pragma mark --- CMApplication.h ----
#ifdef __cplusplus
extern "C" {
#endif
#if !__LP64__
#if defined(_MSC_VER)
#pragma pack(push, CMApplication_h, 2)
#else
#pragma options align=mac68k
#endif
#endif
enum {
kDefaultCMMSignature = 'appl'
};
#if !__LP64__ && !TARGET_OS_WIN32
/* PicComment IDs */
enum {
cmBeginProfile = 220,
cmEndProfile = 221,
cmEnableMatching = 222,
cmDisableMatching = 223,
cmComment = 224
};
/* PicComment selectors for cmComment */
enum {
cmBeginProfileSel = 0,
cmContinueProfileSel = 1,
cmEndProfileSel = 2,
cmProfileIdentifierSel = 3
};
/* Defines for version 1.0 CMProfileSearchRecord.fieldMask */
enum {
cmMatchCMMType = 0x00000001,
cmMatchApplProfileVersion = 0x00000002,
cmMatchDataType = 0x00000004,
cmMatchDeviceType = 0x00000008,
cmMatchDeviceManufacturer = 0x00000010,
cmMatchDeviceModel = 0x00000020,
cmMatchDeviceAttributes = 0x00000040,
cmMatchFlags = 0x00000080,
cmMatchOptions = 0x00000100,
cmMatchWhite = 0x00000200,
cmMatchBlack = 0x00000400
};
/* Defines for version 2.0 CMSearchRecord.searchMask */
enum {
cmMatchAnyProfile = 0x00000000,
cmMatchProfileCMMType = 0x00000001,
cmMatchProfileClass = 0x00000002,
cmMatchDataColorSpace = 0x00000004,
cmMatchProfileConnectionSpace = 0x00000008,
cmMatchManufacturer = 0x00000010,
cmMatchModel = 0x00000020,
cmMatchAttributes = 0x00000040,
cmMatchProfileFlags = 0x00000080
};
#endif // !__LP64__ && !TARGET_OS_WIN32
/* Flags for PostScript-related functions */
enum {
cmPS7bit = 1,
cmPS8bit = 2
};
#if !__LP64__ && !TARGET_OS_WIN32
/* Flags for profile embedding functions */
enum {
cmEmbedWholeProfile = 0x00000000,
cmEmbedProfileIdentifier = 0x00000001
};
#endif // !__LP64__ && !TARGET_OS_WIN32
/* Commands for CMFlattenUPP() */
enum {
cmOpenReadSpool = 1,
cmOpenWriteSpool = 2,
cmReadSpool = 3,
cmWriteSpool = 4,
cmCloseSpool = 5
};
/* Commands for CMAccessUPP() */
enum {
cmOpenReadAccess = 1,
cmOpenWriteAccess = 2,
cmReadAccess = 3,
cmWriteAccess = 4,
cmCloseAccess = 5,
cmCreateNewAccess = 6,
cmAbortWriteAccess = 7,
cmBeginAccess = 8,
cmEndAccess = 9
};
/* Use types for CMGet/SetDefaultProfileByUse() */
enum {
cmInputUse = 'inpt',
cmOutputUse = 'outp',
cmDisplayUse = 'dply',
cmProofUse = 'pruf'
};
/* Union of 1.0 2.0, and 4.0 profile header variants */
union CMAppleProfileHeader {
#if !__LP64__ && !TARGET_OS_WIN32
CMHeader cm1;
#endif // !__LP64__ && !TARGET_OS_WIN32
CM2Header cm2;
CM4Header cm4;
};
typedef union CMAppleProfileHeader CMAppleProfileHeader DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* CWConcatColorWorld() definitions */
typedef struct CMConcatProfileSet {
UInt16 keyIndex; /* Zero-based */
UInt16 count; /* Min 1 */
CMProfileRef profileSet[1]; /* Variable. Ordered from Source -> Dest */
} CMConcatProfileSet DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* NCWConcatColorWorld() definitions */
typedef struct NCMConcatProfileSpec {
UInt32 renderingIntent; /* renderingIntent override */
UInt32 transformTag; /* transform enumerations defined below */
CMProfileRef profile; /* profile */
} NCMConcatProfileSpec DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct NCMConcatProfileSet {
OSType cmm; /* e.g. 'KCMS', 'appl', ... uniquely ids the cmm, or 0000 */
UInt32 flags; /* specify quality, lookup only, no gamut checking ... */
UInt32 flagsMask; /* which bits of 'flags' to use to override profile */
UInt32 profileCount; /* how many ProfileSpecs in the following set */
NCMConcatProfileSpec profileSpecs[1]; /* Variable. Ordered from Source -> Dest */
} NCMConcatProfileSet DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
enum {
kNoTransform = 0, /* Not used */
kUseAtoB = 1, /* Use 'A2B*' tag from this profile or equivalent */
kUseBtoA = 2, /* Use 'B2A*' tag from this profile or equivalent */
kUseBtoB = 3, /* Use 'pre*' tag from this profile or equivalent */
/* For typical device profiles the following synonyms may be useful */
kDeviceToPCS = kUseAtoB, /* Device Dependent to Device Independent */
kPCSToDevice = kUseBtoA, /* Device Independent to Device Dependent */
kPCSToPCS = kUseBtoB, /* Independent, through device's gamut */
kUseProfileIntent = (int)0xFFFFFFFF /* For renderingIntent in NCMConcatProfileSpec */
};
/* ColorSync color data types */
typedef struct CMRGBColor {
UInt16 red; /* 0..65535 */
UInt16 green;
UInt16 blue;
} CMRGBColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMCMYKColor {
UInt16 cyan; /* 0..65535 */
UInt16 magenta;
UInt16 yellow;
UInt16 black;
} CMCMYKColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMCMYColor {
UInt16 cyan; /* 0..65535 */
UInt16 magenta;
UInt16 yellow;
} CMCMYColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMHLSColor {
UInt16 hue; /* 0..65535. Fraction of circle. Red at 0 */
UInt16 lightness; /* 0..65535 */
UInt16 saturation; /* 0..65535 */
} CMHLSColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMHSVColor {
UInt16 hue; /* 0..65535. Fraction of circle. Red at 0 */
UInt16 saturation; /* 0..65535 */
UInt16 value; /* 0..65535 */
} CMHSVColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMLabColor {
UInt16 L; /* 0..65535 maps to 0..100 */
UInt16 a; /* 0..65535 maps to -128..127.996 */
UInt16 b; /* 0..65535 maps to -128..127.996 */
} CMLabColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMLuvColor {
UInt16 L; /* 0..65535 maps to 0..100 */
UInt16 u; /* 0..65535 maps to -128..127.996 */
UInt16 v; /* 0..65535 maps to -128..127.996 */
} CMLuvColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMYxyColor {
UInt16 capY; /* 0..65535 maps to 0..1 */
UInt16 x; /* 0..65535 maps to 0..1 */
UInt16 y; /* 0..65535 maps to 0..1 */
} CMYxyColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMGrayColor {
UInt16 gray; /* 0..65535 */
} CMGrayColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultichannel5Color {
UInt8 components[5]; /* 0..255 */
} CMMultichannel5Color DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultichannel6Color {
UInt8 components[6]; /* 0..255 */
} CMMultichannel6Color DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultichannel7Color {
UInt8 components[7]; /* 0..255 */
} CMMultichannel7Color DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMMultichannel8Color {
UInt8 components[8]; /* 0..255 */
} CMMultichannel8Color DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMNamedColor {
UInt32 namedColorIndex; /* 0..a lot */
} CMNamedColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef union CMColor {
CMRGBColor rgb;
CMHSVColor hsv;
CMHLSColor hls;
CMXYZColor XYZ;
CMLabColor Lab;
CMLuvColor Luv;
CMYxyColor Yxy;
CMCMYKColor cmyk;
CMCMYColor cmy;
CMGrayColor gray;
CMMultichannel5Color mc5;
CMMultichannel6Color mc6;
CMMultichannel7Color mc7;
CMMultichannel8Color mc8;
CMNamedColor namedColor;
} CMColor DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#if !__LP64__ && !TARGET_OS_WIN32
/* GetIndexedProfile() search definition*/
typedef struct CMProfileSearchRecord {
CMHeader header;
UInt32 fieldMask;
UInt32 reserved[2];
} CMProfileSearchRecord, *CMProfileSearchRecordPtr, **CMProfileSearchRecordHandle DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* CMNewProfileSearch() search definition */
typedef struct CMSearchRecord {
OSType CMMType;
OSType profileClass;
OSType dataColorSpace;
OSType profileConnectionSpace;
UInt32 deviceManufacturer;
UInt32 deviceModel;
UInt32 deviceAttributes[2];
UInt32 profileFlags;
UInt32 searchMask;
CMProfileFilterUPP filter;
} CMSearchRecord DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif // !__LP64__ && !TARGET_OS_WIN32
/* CMMIterateUPP() structure */
typedef struct CMMInfo {
size_t dataSize; /* Size of this structure - compatibility*/
OSType CMMType; /* Signature, e.g. 'appl', 'HDM ' or 'KCMS'*/
OSType CMMMfr; /* Vendor, e.g. 'appl'*/
UInt32 CMMVersion; /* CMM version number*/
unsigned char ASCIIName[32]; /* pascal string - name*/
unsigned char ASCIIDesc[256]; /* pascal string - description or copyright*/
UniCharCount UniCodeNameCount; /* count of UniChars in following array*/
UniChar UniCodeName[32]; /* the name in UniCode chars*/
UniCharCount UniCodeDescCount; /* count of UniChars in following array*/
UniChar UniCodeDesc[256]; /* the description in UniCode chars*/
} CMMInfo DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* GetCWInfo() structures */
#if !__LP64__ && !TARGET_OS_WIN32
typedef struct CMMInfoRecord {
OSType CMMType;
long CMMVersion;
} CMMInfoRecord DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMCWInfoRecord {
UInt32 cmmCount;
CMMInfoRecord cmmInfo[2];
} CMCWInfoRecord;
/* profile identifier structures */
typedef struct CMProfileIdentifier {
CM2Header profileHeader;
CMDateTime calibrationDate;
UInt32 ASCIIProfileDescriptionLen;
char ASCIIProfileDescription[1]; /* variable length */
} CMProfileIdentifier, *CMProfileIdentifierPtr DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif // !__LP64__ && !TARGET_OS_WIN32
/* colorspace masks */
enum {
cmColorSpaceSpaceMask = 0x0000003F,
cmColorSpacePremulAlphaMask = 0x00000040,
cmColorSpaceAlphaMask = 0x00000080,
cmColorSpaceSpaceAndAlphaMask = 0x000000FF,
cmColorSpacePackingMask = 0x0000FF00,
cmColorSpaceEncodingMask = 0x000F0000,
cmColorSpaceReservedMask = (int)0xFFF00000
};
/* packing formats */
enum {
cmNoColorPacking = 0x0000,
cmWord5ColorPacking = 0x0500,
cmWord565ColorPacking = 0x0600,
cmLong8ColorPacking = 0x0800,
cmLong10ColorPacking = 0x0A00,
cmAlphaFirstPacking = 0x1000,
cmOneBitDirectPacking = 0x0B00,
cmAlphaLastPacking = 0x0000,
cm8_8ColorPacking = 0x2800,
cm16_8ColorPacking = 0x2000,
cm24_8ColorPacking = 0x2100,
cm32_8ColorPacking = cmLong8ColorPacking,
cm40_8ColorPacking = 0x2200,
cm48_8ColorPacking = 0x2300,
cm56_8ColorPacking = 0x2400,
cm64_8ColorPacking = 0x2500,
cm32_16ColorPacking = 0x2600,
cm48_16ColorPacking = 0x2900,
cm64_16ColorPacking = 0x2A00,
cm32_32ColorPacking = 0x2700,
cmLittleEndianPacking = 0x4000,
cmReverseChannelPacking = 0x8000
};
/* channel encoding format */
enum {
cmSRGB16ChannelEncoding = 0x00010000 /* used for sRGB64 encoding ( ±3.12 format)*/
};
/* general colorspaces */
enum {
cmNoSpace = 0x0000,
cmRGBSpace = 0x0001,
cmCMYKSpace = 0x0002,
cmHSVSpace = 0x0003,
cmHLSSpace = 0x0004,
cmYXYSpace = 0x0005,
cmXYZSpace = 0x0006,
cmLUVSpace = 0x0007,
cmLABSpace = 0x0008,
cmReservedSpace1 = 0x0009,
cmGraySpace = 0x000A,
cmReservedSpace2 = 0x000B,
cmGamutResultSpace = 0x000C,
cmNamedIndexedSpace = 0x0010,
cmMCFiveSpace = 0x0011,
cmMCSixSpace = 0x0012,
cmMCSevenSpace = 0x0013,
cmMCEightSpace = 0x0014,
cmAlphaPmulSpace = 0x0040,
cmAlphaSpace = 0x0080,
cmRGBASpace = cmRGBSpace + cmAlphaSpace,
cmGrayASpace = cmGraySpace + cmAlphaSpace,
cmRGBAPmulSpace = cmRGBASpace + cmAlphaPmulSpace,
cmGrayAPmulSpace = cmGrayASpace + cmAlphaPmulSpace
};
/* supported CMBitmapColorSpaces - Each of the following is a */
/* combination of a general colospace and a packing formats. */
/* Each can also be or'd with cmReverseChannelPacking. */
enum {
cmGray8Space = cmGraySpace + cm8_8ColorPacking,
cmGray16Space = cmGraySpace,
cmGray16LSpace = cmGraySpace + cmLittleEndianPacking,
cmGrayA16Space = cmGrayASpace + cm16_8ColorPacking,
cmGrayA32Space = cmGrayASpace,
cmGrayA32LSpace = cmGrayASpace + cmLittleEndianPacking,
cmGrayA16PmulSpace = cmGrayAPmulSpace + cm16_8ColorPacking,
cmGrayA32PmulSpace = cmGrayAPmulSpace,
cmGrayA32LPmulSpace = cmGrayAPmulSpace + cmLittleEndianPacking,
cmRGB16Space = cmRGBSpace + cmWord5ColorPacking,
cmRGB16LSpace = cmRGBSpace + cmWord5ColorPacking + cmLittleEndianPacking,
cmRGB565Space = cmRGBSpace + cmWord565ColorPacking,
cmRGB565LSpace = cmRGBSpace + cmWord565ColorPacking + cmLittleEndianPacking,
cmRGB24Space = cmRGBSpace + cm24_8ColorPacking,
cmRGB32Space = cmRGBSpace + cm32_8ColorPacking,
cmRGB48Space = cmRGBSpace + cm48_16ColorPacking,
cmRGB48LSpace = cmRGBSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmARGB32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaFirstPacking,
cmARGB64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaFirstPacking,
cmARGB64LSpace = cmRGBASpace + cm64_16ColorPacking + cmAlphaFirstPacking + cmLittleEndianPacking,
cmRGBA32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaLastPacking,
cmRGBA64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaLastPacking,
cmRGBA64LSpace = cmRGBASpace + cm64_16ColorPacking + cmAlphaLastPacking + cmLittleEndianPacking,
cmARGB32PmulSpace = cmRGBAPmulSpace + cm32_8ColorPacking + cmAlphaFirstPacking,
cmARGB64PmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaFirstPacking,
cmARGB64LPmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaFirstPacking + cmLittleEndianPacking,
cmRGBA32PmulSpace = cmRGBAPmulSpace + cm32_8ColorPacking + cmAlphaLastPacking,
cmRGBA64PmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaLastPacking,
cmRGBA64LPmulSpace = cmRGBAPmulSpace + cm64_16ColorPacking + cmAlphaLastPacking + cmLittleEndianPacking,
cmCMYK32Space = cmCMYKSpace + cm32_8ColorPacking,
cmCMYK64Space = cmCMYKSpace + cm64_16ColorPacking,
cmCMYK64LSpace = cmCMYKSpace + cm64_16ColorPacking + cmLittleEndianPacking,
cmHSV32Space = cmHSVSpace + cmLong10ColorPacking,
cmHLS32Space = cmHLSSpace + cmLong10ColorPacking,
cmYXY32Space = cmYXYSpace + cmLong10ColorPacking,
cmXYZ24Space = cmXYZSpace + cm24_8ColorPacking,
cmXYZ32Space = cmXYZSpace + cmLong10ColorPacking,
cmXYZ48Space = cmXYZSpace + cm48_16ColorPacking,
cmXYZ48LSpace = cmXYZSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmLUV32Space = cmLUVSpace + cmLong10ColorPacking,
cmLAB24Space = cmLABSpace + cm24_8ColorPacking,
cmLAB32Space = cmLABSpace + cmLong10ColorPacking,
cmLAB48Space = cmLABSpace + cm48_16ColorPacking,
cmLAB48LSpace = cmLABSpace + cm48_16ColorPacking + cmLittleEndianPacking,
cmGamutResult1Space = cmOneBitDirectPacking + cmGamutResultSpace,
cmNamedIndexed32Space = cm32_32ColorPacking + cmNamedIndexedSpace,
cmNamedIndexed32LSpace = cm32_32ColorPacking + cmNamedIndexedSpace + cmLittleEndianPacking,
cmMCFive8Space = cm40_8ColorPacking + cmMCFiveSpace,
cmMCSix8Space = cm48_8ColorPacking + cmMCSixSpace,
cmMCSeven8Space = cm56_8ColorPacking + cmMCSevenSpace,
cmMCEight8Space = cm64_8ColorPacking + cmMCEightSpace
};
typedef UInt32 CMBitmapColorSpace DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMBitmap {
char * image;
size_t width;
size_t height;
size_t rowBytes;
size_t pixelSize;
CMBitmapColorSpace space;
UInt32 user1;
UInt32 user2;
} CMBitmap DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Profile Locations */
enum {
#if !__LP64__ && !TARGET_OS_WIN32
CS_MAX_PATH = 256
#elif TARGET_OS_WIN32
CS_MAX_PATH = 1024,
WIN_CS_MAX_PATH = CS_MAX_PATH / sizeof(TCHAR)
#else
CS_MAX_PATH = 1024
#endif // !__LP64__ && !TARGET_OS_WIN32
};
enum {
cmNoProfileBase = 0,
#if !__LP64__ && !TARGET_OS_WIN32
cmFileBasedProfile = 1,
cmHandleBasedProfile = 2,
cmPtrBasedProfile = 3,
cmProcedureBasedProfile = 4,
#endif // !__LP64__ && !TARGET_OS_WIN32
cmPathBasedProfile = 5,
cmBufferBasedProfile = 6
};
#if !__LP64__ && !TARGET_OS_WIN32
/* This structure is deprecated in Mac OS X 10.5. Use CMPathLocation instead.*/
typedef struct CMFileLocation {
FSSpec spec;
} CMFileLocation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif // !__LP64__ && !TARGET_OS_WIN32
typedef struct CMHandleLocation {
Handle h;
} CMHandleLocation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#if !__LP64__ && !TARGET_OS_WIN32
/* This structure is deprecated in Mac OS X 10.5. Use CMBufferLocation instead.*/
typedef struct CMPtrLocation {
Ptr p;
} CMPtrLocation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* This structure is deprecated in Mac OS X 10.5.*/
typedef struct CMProcedureLocation {
CMProfileAccessUPP proc;
void * refCon;
} CMProcedureLocation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#endif // !__LP64__ && !TARGET_OS_WIN32
typedef struct CMPathLocation {
#if TARGET_OS_WIN32
TCHAR path[WIN_CS_MAX_PATH];
#else
char path[CS_MAX_PATH];
#endif
} CMPathLocation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMBufferLocation {
void * buffer;
UInt32 size;
} CMBufferLocation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef union CMProfLoc {
#if !__LP64__ && !TARGET_OS_WIN32
CMFileLocation fileLoc;
#endif // !__LP64__ && !TARGET_OS_WIN32
CMHandleLocation handleLoc;
#if !__LP64__ && !TARGET_OS_WIN32
CMPtrLocation ptrLoc;
CMProcedureLocation procLoc;
#endif // !__LP64__ && !TARGET_OS_WIN32
CMPathLocation pathLoc;
CMBufferLocation bufferLoc;
} CMProfLoc DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct CMProfileLocation {
short locType;
CMProfLoc u;
} CMProfileLocation DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
enum {
cmOriginalProfileLocationSize = 72,
cmCurrentProfileLocationSize = sizeof(CMProfileLocation)
};
/* Struct and enums used for Profile iteration */
enum {
cmProfileIterateDataVersion1 = 0x00010000,
cmProfileIterateDataVersion2 = 0x00020000, /* Added makeAndModel*/
cmProfileIterateDataVersion3 = 0x00030000, /* Added MD5 digest*/
cmProfileIterateDataVersion4 = 0x00040000 /* Only path based locations*/
};
typedef struct CMProfileIterateData {
UInt32 dataVersion; /* cmProfileIterateDataVersion2 */
CM2Header header;
ScriptCode code;
Str255 name;
CMProfileLocation location;
UniCharCount uniCodeNameCount;
UniChar * uniCodeName;
unsigned char * asciiName;
CMMakeAndModel * makeAndModel;
CMProfileMD5 * digest; /* Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm */
} CMProfileIterateData DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Caller-supplied callback function for Profile iteration */
typedef CALLBACK_API( OSErr , CMProfileIterateProcPtr )(CMProfileIterateData *iterateData, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef STACK_UPP_TYPE(CMProfileIterateProcPtr) CMProfileIterateUPP DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Caller-supplied callback function for CMM iteration */
typedef CALLBACK_API( OSErr , CMMIterateProcPtr )(CMMInfo *iterateData, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef STACK_UPP_TYPE(CMMIterateProcPtr) CMMIterateUPP DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef CALLBACK_API_C( void , CMLabToLabProcPtr )(float *L, float *a, float *b, void *refcon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/* Notifications */
/*
* Clients can register for notifications of ColorSync preference changes by
* using the kCMPrefsChangedNotification key. This notification will be sent
* if the user changes ColorSync preferences such as:
* the default profile by colors space, (CMSetDefaultProfileBySpace)
* the default profile by device useage, (CMSetDefaultProfileByUse)
* or the preferred CMM.
* See <CMDeviceIntegration.h> for more notifications that can be sent.
*/
#define kCMPrefsChangedNotification CFSTR("AppleColorSyncPreferencesChangedNotification")
#if !__LP64__
#if defined(_MSC_VER)
#pragma pack(pop, CMApplication_h)
#else
#pragma options align=reset
#endif
#endif
#ifdef __cplusplus
}
#endif
#pragma mark --- CMFloatBitmap.h ----
#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_ENUM_ALWAYSINT
#pragma enumsalwaysint on
#endif
enum CMFloatBitmapFlags {
kCMFloatBitmapFlagsNone = 0,
kCMFloatBitmapFlagsAlpha = 1,
kCMFloatBitmapFlagsAlphaPremul = 2,
kCMFloatBitmapFlagsRangeClipped = 4
};
typedef enum CMFloatBitmapFlags CMFloatBitmapFlags;
/*!
@struct CMFloatBitmap
@abstract A new struture that defines and arbritrary map of float color values.
@discussion The struture defines a pixel array of dimensions [height][width][chans]
where 'chans' is the number of channels in the colorspace plus an optional one for alpha.
The actual memory pointed to by the structure can contain a variety of possible arrangements.
The actual data values can be chuncky or planar. The channels can by in any order.
<PRE>
Examples:
a) float* p contains a 640w by 480h bitmap of chunky RGB data
CMFloatBitmap map = { 0, // version
{p, p+1, p+2}, // base addrs of R,G,B
480, 640, // height, width
640*3, // rowStride
3, // colStride
cmRGBData,
kCMFloatBitmapFlagsNone};
b) float* p contains a 640w by 480h bitmap of chunky BGRA data
CMFloatBitmap map = { 0, // version
{p+2, p+1, p, p+3}, // base addrs of R,G,B,A
480, 640, // height, width
640*4, // rowStride
3, // colStride
cmRGBData,
kCMFloatBitmapFlagsAlpha};
c) float* p contains a 640w by 480h bitmap of planar CMYK data
CMFloatBitmap map = { 0, // version
{p, p+640*480 , p+2*640*480 , p+3*640*480},
480, 640, // height, width
640, // rowStride
1, // colStride
cmCMYKData,
kCMFloatBitmapFlagsNone};
</PRE>
@field version The version number of this structure to allow for future expansion.
Should contain 0 for now.
@field buffers The base address for each channel in canonical order.
The canonical order for RGB is R,G,B. CMYK is C,M,Y,K etc.
A maximum of sixteen channels is supported.
Another way to think of this is
buffers[c] = &(pixelArray[0][0][c])
@field height The height (in pixels) of the bitmap.
@field width The width (in pixels) of the bitmap.
@field rowStride The number of floats to skip to move from one row to the next.
This is typically (width*chans) for chunky pixel buffers or (width) for planar.
Can be negative if the image is vertically flipped.
@field colStride The number of floats to skip to move from one column to the next.
This is typically (chans) for chunky pixel buffers or (1) for planar.
Can be negative if the image is horizontally flipped.
@field space The colorspace of the data (e.g cmRGBdata cmCMYKData)
@field flags Holds bits to specify the alpha type of the data.
The remaining bits are reserved for future use.
*/
typedef struct CMFloatBitmap {
unsigned long version;
float * buffers[16];
size_t height;
size_t width;
ptrdiff_t rowStride;
ptrdiff_t colStride;
OSType space;
CMFloatBitmapFlags flags;
} CMFloatBitmap DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
#if PRAGMA_ENUM_ALWAYSINT
#pragma enumsalwaysint reset
#endif
#ifdef __cplusplus
}
#endif
#pragma mark --- CMMComponent.h ----
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#pragma mark --- CMScriptingPlugin.h ----
#if !__LP64__ && !TARGET_OS_WIN32
#ifdef __cplusplus
extern "C" {
#endif
enum {
/* ColorSync Scripting Errors */
cmspInvalidImageFile = -4220, /* Plugin cannot handle this image file type */
cmspInvalidImageSpace = -4221, /* Plugin cannot create an image file of this colorspace */
cmspInvalidProfileEmbed = -4222, /* Specific invalid profile errors */
cmspInvalidProfileSource = -4223,
cmspInvalidProfileDest = -4224,
cmspInvalidProfileProof = -4225,
cmspInvalidProfileLink = -4226
};
/**** embedFlags field ****/
/* reserved for future use: currently 0 */
/**** matchFlags field ****/
enum {
cmspFavorEmbeddedMask = 0x00000001 /* if bit 0 is 0 then use srcProf profile, if 1 then use profile embedded in image if present*/
};
#ifdef __cplusplus
}
#endif
#endif // !__LP64__ && !TARGET_OS_WIN32
#pragma mark -- CMDeviceIntegration.h
#ifdef __cplusplus
extern "C" {
#endif
#if !__LP64__ && !TARGET_OS_WIN32
#pragma options align=mac68k
#endif
/*
The current versions of the data structure
containing information on registered devices.
*/
enum {
cmDeviceInfoVersion1 = 0x00010000,
cmDeviceProfileInfoVersion1 = 0x00010000,
cmDeviceProfileInfoVersion2 = 0x00020000
};
enum {
cmCurrentDeviceInfoVersion = cmDeviceInfoVersion1,
cmCurrentProfileInfoVersion = cmDeviceProfileInfoVersion1
};
/*
Certain APIs require a device ID or profile ID.
In some cases, a "default ID" can be used.
*/
enum {
cmDefaultDeviceID = 0,
cmDefaultProfileID = 0
};
/*
Possible values for device states accessible by the
CMGetDeviceState() and CMSetDeviceState() APIs.
*/
enum {
cmDeviceStateDefault = 0x00000000,
cmDeviceStateOffline = 0x00000001,
cmDeviceStateBusy = 0x00000002,
cmDeviceStateForceNotify = (int)0x80000000,
cmDeviceStateDeviceRsvdBits = 0x00FF0000,
cmDeviceStateAppleRsvdBits = (int)0xFF00FFFF
};
/*
Possible values for flags passed to the
CMIterateDeviceProfiles() API.
"Factory" profiles are registered via the
CMSetDeviceFactoryProfiles() API.
"Custom" profiles are those which are meant to take
the place of the factory profiles, as a result of
customization or calibration. These profiles are
registered via the CMSetDeviceProfiles() API.
To retrieve all of the the former for all devices,
use cmIterateFactoryDeviceProfiles as the flags
value when calling CMIterateDeviceProfiles().
To retrieve only the latter for all devices, use
the cmIterateCustomDeviceProfiles, as the flags
value when calling CMIterateDeviceProfiles().
To get the profiles in use for all devices, use
cmIterateCurrentDeviceProfiles as the flags value.
This will replace the factory profiles with any
overrides, yielding the currently used set.
To get all profiles, without replacement, use
cmIterateAllDeviceProfiles.
*/
enum {
cmIterateFactoryDeviceProfiles = 0x00000001,
cmIterateCustomDeviceProfiles = 0x00000002,
cmIterateCurrentDeviceProfiles = 0x00000003,
cmIterateAllDeviceProfiles = 0x00000004,
cmIterateDeviceProfilesMask = 0x0000000F
};
/*
Errors returned by CMDeviceIntegration APIs
*/
enum {
cmDeviceDBNotFoundErr = -4227, /* Prefs not found/loaded */
cmDeviceAlreadyRegistered = -4228, /* Re-registration of device */
cmDeviceNotRegistered = -4229, /* Device not found */
cmDeviceProfilesNotFound = -4230, /* Profiles not found */
cmInternalCFErr = -4231, /* CoreFoundation failure */
cmPrefsSynchError = -4232 /* CFPreferencesSynchronize failed */
};
/*
Clients can register for notifications of device changes:
Notification Description Sent by API
---------------- ----------- -----------
DeviceRegistered a device was registered CMRegisterColorDevice()
DeviceUnregistered a device was unregistered CMUnregisterColorDevice()
DeviceOnline a device's state changed to Online CMSetDeviceState()
DeviceOffline a device's state changed to Offline CMSetDeviceState()
DeviceState a device's state changed CMSetDeviceState()
DefaultDevice a class' default device changed CMSetDefaultDevice()
DeviceProfiles a device's profiles changed CMSetDeviceFactoryProfiles(), CMSetDeviceProfiles()
DefaultDeviceProfile a device's default profile ID changed CMSetDeviceDefaultProfileID()
DisplayDeviceProfiles a display device's profiles changed CMSetDeviceFactoryProfiles(), CMSetDeviceProfiles()
*/
#define kCMDeviceRegisteredNotification CFSTR("CMDeviceRegisteredNotification")
#define kCMDeviceUnregisteredNotification CFSTR("CMDeviceUnregisteredNotification")
#define kCMDeviceOnlineNotification CFSTR("CMDeviceOnlineNotification")
#define kCMDeviceOfflineNotification CFSTR("CMDeviceOfflineNotification")
#define kCMDeviceStateNotification CFSTR("CMDeviceStateNotification")
#define kCMDefaultDeviceNotification CFSTR("CMDefaultDeviceNotification")
#define kCMDeviceProfilesNotification CFSTR("CMDeviceProfilesNotification")
#define kCMDefaultDeviceProfileNotification CFSTR("CMDefaultDeviceProfileNotification")
#define kCMDisplayDeviceProfilesNotification CFSTR("CMDisplayDeviceProfilesNotification")
/*
Device state data.
*/
typedef UInt32 CMDeviceState DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
A CMDeviceID must be unique within a device's class.
*/
typedef UInt32 CMDeviceID DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
A CMDeviceProfileID must only be unique per device.
*/
typedef UInt32 CMDeviceProfileID DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
DeviceClass type.
*/
enum {
cmScannerDeviceClass = 'scnr',
cmCameraDeviceClass = 'cmra',
cmDisplayDeviceClass = 'mntr',
cmPrinterDeviceClass = 'prtr',
cmProofDeviceClass = 'pruf'
};
typedef OSType CMDeviceClass;
/*
CMDeviceScope
Structure specifying a device's or a device setting's scope.
*/
typedef struct CMDeviceScope {
CFStringRef deviceUser; /* kCFPreferencesCurrentUser | _AnyUser */
CFStringRef deviceHost; /* kCFPreferencesCurrentHost | _AnyHost */
} CMDeviceScope, CMDeviceProfileScope DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
CMDeviceInfo
Structure containing information on a given device.
*/
typedef struct CMDeviceInfo {
UInt32 dataVersion; /* cmDeviceInfoVersion1 */
CMDeviceClass deviceClass; /* device class */
CMDeviceID deviceID; /* device ID */
CMDeviceScope deviceScope; /* device's scope */
CMDeviceState deviceState; /* Device State flags */
CMDeviceProfileID defaultProfileID; /* Can change */
CFDictionaryRef * deviceName; /* Ptr to storage for CFDictionary of */
/* localized device names (could be nil) */
UInt32 profileCount; /* Count of registered profiles */
UInt32 reserved; /* Reserved for use by ColorSync */
} CMDeviceInfo, *CMDeviceInfoPtr DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
CMDeviceProfileInfo
Structure containing information on a device profile.
*/
typedef struct CMDeviceProfileInfo {
UInt32 dataVersion; /* cmDeviceProfileInfoVersion1 */
CMDeviceProfileID profileID; /* The identifier for this profile */
CMProfileLocation profileLoc; /* The profile's location */
CFDictionaryRef profileName; /* CFDictionary of localized profile names */
UInt32 reserved; /* Reserved for use by ColorSync */
} CMDeviceProfileInfo DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef struct NCMDeviceProfileInfo {
UInt32 dataVersion; /* cmDeviceProfileInfoVersion2 */
CMDeviceProfileID profileID; /* The identifier for this profile */
CMProfileLocation profileLoc; /* The profile's location */
CFDictionaryRef profileName; /* CFDictionary of localized profile names */
CMDeviceProfileScope profileScope; /* The scope this profile applies to */
UInt32 reserved; /* Reserved for use by ColorSync */
} NCMDeviceProfileInfo DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
CMDeviceProfileArray
Structure containing the profiles for a device.
*/
typedef struct CMDeviceProfileArray {
UInt32 profileCount; /* Count of profiles in array */
CMDeviceProfileInfo profiles[1]; /* The profile info records */
} CMDeviceProfileArray, *CMDeviceProfileArrayPtr DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
Caller-supplied iterator functions
*/
typedef CALLBACK_API_C( OSErr , CMIterateDeviceInfoProcPtr )(const CMDeviceInfo *deviceInfo, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
typedef CALLBACK_API_C( OSErr , CMIterateDeviceProfileProcPtr )(const CMDeviceInfo *deviceInfo, const NCMDeviceProfileInfo *profileInfo, void *refCon) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
/*
Device Registration
*/
/*!
@function CMRegisterColorDevice
@abstract Registers a device with ColorSync
@discussion For a device to be recognized by ColorSync it needs to register itself
via this API. After calling this API, the CMSetDeviceFactoryProfiles
API should be called to specify the initial modes and profiles for the
device. Registration need only happen once, when the device is installed.
@param deviceClass (in) Device class to add
@param deviceID (in) Device id to add
@param deviceName (in) Dictionary containing localized names
@param deviceScope (in) Scope where information should be stored
*/
#if !__LP64__ && !TARGET_OS_WIN32
#pragma options align=reset
#endif
#ifdef __cplusplus
}
#endif
#endif /* TARGET_OS_OSX */
#endif /* __COLORSYNCDEPRECATED__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ATSUnicodeDrawing.h | /*
File: QD/ATSUnicodeDrawing.h
Contains: ATSUI drawing, measuring, and highlighting functions.
Version: Quickdraw-291~1
Copyright: � 2003-2019 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEDRAWING__
#include <ATSUI/ATSUnicodeDrawing.h>
#endif /* __ATSUNICODEDRAWING__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/ATS.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
arm64e-macos, arm64e-maccatalyst ]
uuids:
- target: x86_64-macos
value: 1284AFC2-E295-3154-8793-D2863F87F6CD
- target: x86_64-maccatalyst
value: 1284AFC2-E295-3154-8793-D2863F87F6CD
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64-maccatalyst
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: FBB646C6-880A-38C4-A570-98BFAA69E62F
- target: arm64e-maccatalyst
value: FBB646C6-880A-38C4-A570-98BFAA69E62F
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS'
current-version: 236
parent-umbrella:
- targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
arm64e-macos, arm64e-maccatalyst ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, x86_64-maccatalyst, arm64e-maccatalyst,
arm64-macos, arm64-maccatalyst ]
symbols: [ _AGAddAttribute, _AGBeginIteration, _AGComputeByteCapacity,
_AGComputeByteCapacityV, _AGComputeChecksum, _AGComputeIncrementalCapacity,
_AGComputeIncrementalCapacityV, _AGCongruent, _AGFindAttribute,
_AGGetChecksum, _AGGetLength, _AGGetType, _AGIdentical, _AGNextAttribute,
_AGPrepare, _AGSetTag, _AGSetType, _ATSAlloc, _ATSCleanupClient,
_ATSCopyFontForAutoActivationIfNecessary, _ATSCopySpecifiedSetting,
_ATSCreateFontQueryRunLoopSource, _ATSCreateUnicodeCharacterCoverage,
_ATSDebugAssert, _ATSDebugMsg, _ATSDebugStr, _ATSDisposeAllocator,
_ATSDuplicate, _ATSEnableURLs, _ATSFixedDivide, _ATSFixedMultiply,
_ATSFontAcquireStrikeDescription, _ATSFontAcquireStrikeDescriptionWithVariations,
_ATSFontActivateFromFileReference, _ATSFontActivateFromMemory,
_ATSFontActivateFromPath, _ATSFontApplyFunction, _ATSFontCanBeAutoActivated,
_ATSFontConvertFromQuickDrawFont, _ATSFontConvertToQuickDrawFont,
_ATSFontCopyAutoActivationConfirmDialogResult, _ATSFontCopyLWFNsFromSuitcase,
_ATSFontCopyMDQueryResult, _ATSFontCopyPostSriptNameAndFindSuitcaseFromLWFN,
_ATSFontCopySuitcaseFromLWFN, _ATSFontCreateFPFont, _ATSFontCreateFontName,
_ATSFontCreateLocalizedFontName, _ATSFontDeactivate, _ATSFontFamilyApplyFunction,
_ATSFontFamilyFindFromName, _ATSFontFamilyFindFromQuickDrawName,
_ATSFontFamilyGetEncoding, _ATSFontFamilyGetGeneration, _ATSFontFamilyGetName,
_ATSFontFamilyGetQuickDrawName, _ATSFontFamilyIteratorCreate,
_ATSFontFamilyIteratorNext, _ATSFontFamilyIteratorRelease,
_ATSFontFamilyIteratorReset, _ATSFontFindFontFor, _ATSFontFindFromContainer,
_ATSFontFindFromFontIdentifier, _ATSFontFindFromName, _ATSFontFindFromPostScriptName,
_ATSFontFindSuitcaseFromLWFN, _ATSFontFindVariationFromPostScriptName,
_ATSFontFindWithROS, _ATSFontGetAutoActivationSettingForApplication,
_ATSFontGetContainer, _ATSFontGetContainerFromFileReference,
_ATSFontGetContainerFromPath, _ATSFontGetContainerInfo, _ATSFontGetEncoding,
_ATSFontGetFilePath, _ATSFontGetFileReference, _ATSFontGetFileReferenceForXType,
_ATSFontGetFontFamilyResource, _ATSFontGetFontIdentifier,
_ATSFontGetFormat, _ATSFontGetGeneration, _ATSFontGetGlobalAutoActivationSetting,
_ATSFontGetGlyphCount, _ATSFontGetGlyphIDsForGlyphNames, _ATSFontGetHorizontalMetrics,
_ATSFontGetHorizontalMetricsWithVariation, _ATSFontGetMaximumBoundingBox,
_ATSFontGetName, _ATSFontGetNativeCurveType, _ATSFontGetPSEncoding,
_ATSFontGetPostScriptName, _ATSFontGetPostScriptNameWithVariation,
_ATSFontGetStandardFontDirectories, _ATSFontGetTable, _ATSFontGetTableDirectory,
_ATSFontGetUnicodeCharacterCoverage, _ATSFontGetVerticalMetrics,
_ATSFontIsEnabled, _ATSFontIsInitialized, _ATSFontIsStandardFontDirectory,
_ATSFontIteratorCreate, _ATSFontIteratorNext, _ATSFontIteratorRelease,
_ATSFontIteratorReset, _ATSFontLoadUnicodeCharacterSet, _ATSFontNotificationSubscribe,
_ATSFontNotificationUnsubscribe, _ATSFontNotify, _ATSFontQueryHasHandler,
_ATSFontReleaseStrikeDescription, _ATSFontSetAutoActivationSettingForApplication,
_ATSFontSetEnabled, _ATSFontSetGlobalAutoActivationSetting,
_ATSFontSetStrikeTransform, _ATSFontValidate, _ATSFree, _ATSGetAllocator,
_ATSGetBlockSize, _ATSGetFontFileInfo, _ATSGetGeneration,
_ATSGlyphFindFromName, _ATSGlyphGetAdvanceWidth, _ATSGlyphGetBoundingBox,
_ATSGlyphGetIdealMetrics, _ATSGlyphGetMaximumNameLength, _ATSGlyphGetName,
_ATSGlyphGetScreenMetrics, _ATSGlyphGetUnicodeCharacter, _ATSGrow,
_ATSInitClient, _ATSIsFontFile, _ATSIsFontFileX, _ATSLoadUnicodeCharacterSet,
_ATSMagnitude, _ATSMultiplyDivide, _ATSNewAppHeapAllocator,
_ATSNewBufferAllocator, _ATSNewCustomAllocator, _ATSNewGlobalCacheAllocator,
_ATSNewPoolAllocator, _ATSNewScratchAllocator, _ATSRegisterData,
_ATSRegisterURLs, _ATSSendFontQuery, _CopyToMapping3x3, _FOActivateFontsFromMemory,
_FOApplyEncoding, _FOApplyEncodingForLayout, _FOApplyUnicodeEncoding,
_FOCanCreatePDFSubset, _FOCanCreatePostScriptSubset, _FOCopyFontMetaData,
_FOCopyVariationInfo, _FOCopyXMLSplicedFontsStash, _FOCountEncodings,
_FOCountFontObjects, _FOCountGlyphs, _FOCountNames, _FOCountTables,
_FOCountVariations, _FOCreateContainerFontMap, _FOCreateFontContainerArrayForDomain,
_FOCreateFontFamilyInstanceIterWithOptions, _FOCreateFontFamilyInstanceIterator,
_FOCreateFontFamilyIterator, _FOCreateFontIterator, _FOCreatePDFSubset,
_FOCreatePostScriptEncoding, _FOCreatePostScriptSubset, _FODBDumpForFileToken,
_FODeactivateFontsInContainer, _FODisableFontObject, _FODisposeFontFamilyInstanceIterator,
_FODisposeFontFamilyIterator, _FODisposeFontIterator, _FOEnableFontObject,
_FOEnsureMorphSynthesis, _FOFindEncoding, _FOFindFontIDFromName,
_FOFindFontObjectFromID, _FOFindFontObjectsFromFile, _FOFindName,
_FOFindTable, _FOFindTableInCache, _FOFindTableIndex, _FOFindTableParts,
_FOFindUnicodeEncoding, _FOFindUnicodeOrSymbolEncoding, _FOFlushCaches,
_FOGetContainerFromFSRef, _FOGetDirectory, _FOGetEncoding,
_FOGetFCacheGeneration, _FOGetFSRefFromFontContainer, _FOGetFamilyInstanceStrikeInfo,
_FOGetFlags, _FOGetFontFamilyCount, _FOGetFontFamilyFromName,
_FOGetFontFamilyGeneration, _FOGetFontFamilyInstanceFromFont,
_FOGetFontFamilyName, _FOGetFontFamilyScriptFlags, _FOGetFontFamilyTextEncoding,
_FOGetFontFolderDomainIndex, _FOGetFontFromFontFamilyInstance,
_FOGetFontFromFontFamilyInstanceVariation, _FOGetFontGeneration,
_FOGetFontID, _FOGetFontObject, _FOGetFontProtectionInfo,
_FOGetFontRegisterOrderSupplement, _FOGetFontSpecs, _FOGetFontTable,
_FOGetFontTableDirectory, _FOGetFontTraits, _FOGetFontType,
_FOGetFormat, _FOGetGeneration, _FOGetLayoutFlags, _FOGetMacintoshEncodings,
_FOGetMinRealFontSize, _FOGetNFNT, _FOGetName, _FOGetNextExtendedFontFamilyInstance,
_FOGetNextFont, _FOGetNextFontFamily, _FOGetNextFontFamilyInstance,
_FOGetPersistentData, _FOGetSpecialGlyphIDs, _FOGetStorageReference,
_FOGetTable, _FOGetTableParts, _FOGetTableTag, _FOGetUnitsPerEm,
_FOGetWeightValueFromFontName, _FOHasVariations, _FOIsAppleSystemShippedFont,
_FOIsInMemoryFont, _FOIsXMLSplicedFontObject, _FOMapCIDToGID,
_FOMapGIDToCID, _FOMatchName, _FOReadTableBytes, _FOReleaseDirectory,
_FOReleaseFontResource, _FOReleaseNFNT, _FOReleasePersistentData,
_FOReleaseTable, _FOResetFontFamilyInstanceIterWithOptions,
_FOResetFontFamilyInstanceIterator, _FOResetFontFamilyIterator,
_FOResetFontIterator, _FOSavePersistentData, _FOScanFontDirectories,
_FOSetFlags, _FOSetPreserveGlyphForATS, _FOSynthesizeTable,
_FOUnlockFontObject, _GCCompareStrikeKeys, _GCCreateStrikeKey,
_GCCreateStrikeKeyWithVariation, _GCGetGlyph1BitBitmap, _GCGetGlyph4BitGrayPixmap,
_GCGetGlyph8BitGrayPixmap, _GCGetGlyphARGBGrayPixmap, _GCGetGlyphCubicOutlinePath,
_GCGetGlyphDeviceMetrics, _GCGetGlyphIdealMetrics, _GCGetGlyphNativeOutlinePath,
_GCGetGlyphQuadraticOutlinePath, _GCGetStrikeCaretInfo, _GCGetStrikeInfo,
_GCGetStrikeLineMetrics, _GCGetStrikeMetrics, _GCReleaseStrikeKey,
_GetGlyphAddresses, _GetGlyphVectorIndex, _GetGlyphVectorSpecs,
_GetHighByteArrayForScript, _HandleOFAScalerMessage, _INIT_ATS,
_InvertMapping3x3, _LLCAddOTLTagsToGlyphRange, _LLCApplyMorph,
_LLCCharOffsetToPosition, _LLCDoLigatureCaretSplits, _LLCFreeGlyphRecs,
_LLCGetBaselineDeltas, _LLCGetOTLTagsForGlyphAtIndex, _LLCGetTrapezoids,
_LLCGrowGlyphRecArray, _LLCHitTest, _LLCLayoutText, _LLCSetOTLScriptLanguageArray,
_LLCSetUniformOTLScriptLanguage, _LLCStyleInfoCheckForOpenTypeTables,
_LLCStyleInfoClear, _LLCStyleInfoConstructVirtualGlyphTable,
_LLCStyleInfoCopy, _LLCStyleInfoCreateActiveStyleInfo, _LLCStyleInfoCreateCustomTagList,
_LLCStyleInfoCreateScaledStrikeKey, _LLCStyleInfoGetAdditionalAttribute,
_LLCStyleInfoGetAdditionalAttributeObject, _LLCStyleInfoGetAscent,
_LLCStyleInfoGetDescent, _LLCStyleInfoGetDropShadowColor,
_LLCStyleInfoGetItalicSkewAffineTransform, _LLCStyleInfoGetLeading,
_LLCStyleInfoGetUserRunFeatures, _LLCStyleInfoIdentical, _LLCStyleInfoReleaseActive,
_LLCStyleInfoRemoveAdditionalAttribute, _LLCStyleInfoSetAdditionalAttribute,
_LLCStyleInfoSetAdditionalAttributeObject, _LLCStyleInfoSynthesizeStrikeDescription,
_M3x3Concat, _M3x3Copy, _M3x3Flags, _M3x3Inverse, _M3x3Mul,
_M3x3Normalize, _MapMapping3x3, _MapPoints3x3, _OFAFindScalerForFormat,
_OFAFlatteningDownload, _OFAFlatteningRequiredFontsQuery,
_OFAFlatteningSizeQuery, _OFAFontRenderingQuery, _OFAGetFontMetrics,
_OFAGetFontSpecs, _OFAGetGlyphData, _OFAGetGlyphDataSpecs,
_OFAGetGlyphIDFromGlyphName, _OFAGetGlyphNameFromGlyphID,
_OFAGetQuickDrawMetrics, _OFAGetScalerInfo, _OFAGetStrikeSpecs,
_OFAKernGlyphs, _OFARegisterStrike, _OFASendGeneralMessage,
_OFAStreamPSDownload, _OFAStreamPSEncoding, _OFAStreamPSPrereqItem,
_OFAStreamPSPrereqQuery, _OFAStreamPSSizeQuery, _OFAStreamPSVariationOperator,
_OFAStreamPSVariationQuery, _OFAStreamTypeQuery, _PurgeGlyphVectorIndex,
_ReleaseGlyphVectorLock, _ResetMapping3x3, _ScaleMapping3x3,
_StandardFontContainerFontFilter, _StandardFontTechnologyFontFilter,
_StandardGenerationFontFamilyFilter, _StandardGenerationFontFilter,
_ValidGlyphVectorIndex, _gComboMxBmapAGPtr, _gDevAntiAGPtr,
_gDevAntiPathAGPtr, _gDevBmapAGPtr, _gDevPathAGPtr, _gFracAntiAGPtr,
_gFracBmapAGPtr, _gImageAntiAGPtr, _gImageBmapAGPtr, _gImageCubicPathAGPtr,
_gImagePathAGPtr, _identityMatrix, _kATSAutoActivationConfirmDontShowAgainKey,
_kATSAutoActivationConfirmResultKey, _kATSValidationActivationInfo,
_kATSValidationActivationInfoKeep, _kATSValidationDontRunHiLevelAPITests,
_kATSValidationDynamicActivationInfo, _kATSValidationDynamicGlyphTests,
_kATSValidationFontMD5, _kATSValidationFontSummaryOnly, _kATSValidationGenerateFontChecksum,
_kATSValidationIgnoreDumpFiles, _kATSValidationIgnoreErrors,
_kATSValidationOverallResult, _kATSValidationPostScriptName,
_kATSValidationResults, _kATSValidationRuleAuthor, _kATSValidationRuleComponents,
_kATSValidationRuleCoverage, _kATSValidationRuleDescription,
_kATSValidationRuleFormat, _kATSValidationRuleName, _kATSValidationRulePriority,
_kATSValidationRuleResult, _kATSValidationRuleSeverity, _kATSValidationRuleVersion,
_kATSValidationRulesList, _kATSValidationRunDynamic, _kATSValidationSkipDuplicateFontCheck,
_kATSValidationTestsFailed, _kATSValidationTestsPassed, _kATSValidationTestsRun,
_kATSValidationTestsWarned, _kFOComponentsKey, _kFOFontMetricsKey,
_kFOFontNameKey, _kFOFontNamesArrayKey, _kFOFontVersionKey,
_kFOLanguageKey, _kFOMatrixKey, _kFOPosingFontKey, _kFOStringKey,
_kFOTypeKey, _kFOUnicodeCharSetKey, _kFOcmapOverrideKey ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSDefines.h | //
// ATSDefines.h
// ATS
//
// Copyright (c) 2011-2019 Apple Inc. All rights reserved.
//
#ifndef __ATSDEFINES__
#define __ATSDEFINES__
#if defined(BUILDING_ATS)
# define ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(_mac,_macDep,_deprecationAdvice)
# define ATS_AVAILABLE_BUT_DEPRECATED(_mac,_macDep)
# define ATS_DEPRECATED_IN_MAC_OS_X_VERSION(_macDep) // For types
#elif defined(__has_extension) /* defined(BUILDING_ATS) */
# if __has_extension(attribute_deprecated_with_message)
# define ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(_mac,_macDep,_deprecationAdvice) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_##_mac,__MAC_##_macDep, __IPHONE_NA, __IPHONE_NA, _deprecationAdvice)
# endif /*__has_extension(attribute_deprecated_with_message) */
#endif /* defined(__has_extension)*/ /* defined(BUILDING_ATS) */
#if !defined(ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE)
# include <Availability.h>
# if defined(__MAC_10_8)
# define ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(_mac,_macDep,_deprecationAdvice) AVAILABLE_MAC_OS_X_VERSION_##_mac##_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_##_macDep
# else
# define ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(_mac,_macDep,_deprecationAdvice) AVAILABLE_MAC_OS_X_VERSION_##_mac##_AND_LATER
# endif
#endif
#if !defined(ATS_AVAILABLE_BUT_DEPRECATED)
# include <Availability.h>
# if defined(__MAC_10_8)
# define ATS_AVAILABLE_BUT_DEPRECATED(_mac,_macDep) AVAILABLE_MAC_OS_X_VERSION_##_mac##_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_##_macDep
# else
# define ATS_AVAILABLE_BUT_DEPRECATED(_mac,_macDep) AVAILABLE_MAC_OS_X_VERSION_##_mac##_AND_LATER
# endif
#endif
#if !defined(ATS_DEPRECATED_IN_MAC_OS_X_VERSION)
# define ATS_DEPRECATED_IN_MAC_OS_X_VERSION(_macDep) DEPRECATED_IN_MAC_OS_X_VERSION_##_macDep##_AND_LATER
#endif
#if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)) || (TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)
# define ATS_LEGACY_API 1
#else
# define ATS_LEGACY_API 0
#endif // (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)) || (TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)
#endif //__ATSDEFINES__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h | /*
File: ATS/ATSTypes.h
Contains: Public interfaces for Apple Type Services components.
Version: ATS
Copyright: Copyright 1997-2019 by Apple Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSTYPES__
#define __ATSTYPES__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#ifndef __CGGEOMETRY__
#include <CoreGraphics/CGGeometry.h>
#endif
#include <AvailabilityMacros.h>
#ifndef __ATSDEFINES__
#include <ATS/ATSDefines.h>
#endif
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push, 2)
#ifndef CGFLOAT_DEFINED
/* For the time being CGFLOAT_DEFINED will serve to indicate the presence
of new RefCon types in CoreServices. If new headers and associated typedefs
are not present then URefCon is declared here.
*/
#ifdef __LP64__
typedef void * URefCon;
#else
typedef unsigned long URefCon;
#endif /* defined(__LP64__) */
#endif /* !defined(CGFLOAT_DEFINED) */
#ifdef __LP64__
typedef CGPoint ATSPoint;
#else
typedef Float32Point ATSPoint;
#endif /* defined(__LP64__) */
#if ATS_LEGACY_API
#ifdef __LP64__
/*
ATSFSSpec serves as a temporary place holder for the FSSpec data type which is deprecated for 64-bit.
A 64-bit replacement for FSSpec based APIs will be introduced.
*/
struct ATSFSSpec {
FSVolumeRefNum vRefNum;
SInt32 parID;
StrFileName name;
};
typedef struct ATSFSSpec ATSFSSpec;
#else
typedef FSSpec ATSFSSpec;
#endif /* defined(__LP64__) */
#endif // ATS_LEGACY_API
/* FMGeneration */
typedef UInt32 FMGeneration;
/* The FMFontFamily reference represents a collection of fonts with the same design
characteristics. It replaces the standard QuickDraw font identifer and may be used
with all QuickDraw functions including GetFontName and TextFont. It cannot be used
with the Resource Manager to access information from a FOND resource handle. A font
reference does not imply a particular script system, nor is the character encoding
of a font family determined by an arithmetic mapping of its value.
*/
typedef SInt16 FMFontFamily;
typedef SInt16 FMFontStyle;
typedef SInt16 FMFontSize;
/*
The font family is a collection of fonts, each of which is identified
by an FMFont reference that maps to a single object registered with
the font database. The font references associated with the font
family consist of individual outline and bitmapped fonts that may be
used with the font access routines of the Font Manager and ATS.
*/
typedef UInt32 FMFont;
struct FMFontFamilyInstance {
FMFontFamily fontFamily;
FMFontStyle fontStyle;
};
typedef struct FMFontFamilyInstance FMFontFamilyInstance;
struct FMFontFamilyIterator {
UInt32 reserved[16];
};
typedef struct FMFontFamilyIterator FMFontFamilyIterator;
struct FMFontIterator {
UInt32 reserved[16];
};
typedef struct FMFontIterator FMFontIterator;
struct FMFontFamilyInstanceIterator {
UInt32 reserved[16];
};
typedef struct FMFontFamilyInstanceIterator FMFontFamilyInstanceIterator;
enum {
kInvalidGeneration = 0,
kInvalidFontFamily = -1,
kInvalidFont = 0
};
enum {
kFMCurrentFilterFormat = 0
};
typedef UInt32 FMFilterSelector;
enum {
kFMFontTechnologyFilterSelector = 1,
kFMFontContainerFilterSelector = 2,
kFMGenerationFilterSelector = 3,
kFMFontFamilyCallbackFilterSelector = 4,
kFMFontCallbackFilterSelector = 5,
kFMFontDirectoryFilterSelector = 6,
kFMFontFileRefFilterSelector = 10
};
enum {
kFMTrueTypeFontTechnology = 'true',
kFMPostScriptFontTechnology = 'typ1'
};
#if ATS_LEGACY_API
typedef CALLBACK_API( OSStatus , FMFontFamilyCallbackFilterProcPtr )(FMFontFamily iFontFamily, void *iRefCon);
typedef CALLBACK_API( OSStatus , FMFontCallbackFilterProcPtr )(FMFont iFont, void *iRefCon);
typedef STACK_UPP_TYPE(FMFontFamilyCallbackFilterProcPtr) FMFontFamilyCallbackFilterUPP;
typedef STACK_UPP_TYPE(FMFontCallbackFilterProcPtr) FMFontCallbackFilterUPP;
/*
* NewFMFontFamilyCallbackFilterUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern FMFontFamilyCallbackFilterUPP
NewFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
/*
* NewFMFontCallbackFilterUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern FMFontCallbackFilterUPP
NewFMFontCallbackFilterUPP(FMFontCallbackFilterProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
/*
* DisposeFMFontFamilyCallbackFilterUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern void
DisposeFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
/*
* DisposeFMFontCallbackFilterUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern void
DisposeFMFontCallbackFilterUPP(FMFontCallbackFilterUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
/*
* InvokeFMFontFamilyCallbackFilterUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern OSStatus
InvokeFMFontFamilyCallbackFilterUPP(
FMFontFamily iFontFamily,
void * iRefCon,
FMFontFamilyCallbackFilterUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
/*
* InvokeFMFontCallbackFilterUPP()
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern OSStatus
InvokeFMFontCallbackFilterUPP(
FMFont iFont,
void * iRefCon,
FMFontCallbackFilterUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
#if __MACH__
#ifdef __cplusplus
inline FMFontFamilyCallbackFilterUPP NewFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterProcPtr userRoutine) { return userRoutine; }
inline FMFontCallbackFilterUPP NewFMFontCallbackFilterUPP(FMFontCallbackFilterProcPtr userRoutine) { return userRoutine; }
inline void DisposeFMFontFamilyCallbackFilterUPP(FMFontFamilyCallbackFilterUPP) { }
inline void DisposeFMFontCallbackFilterUPP(FMFontCallbackFilterUPP) { }
inline OSStatus InvokeFMFontFamilyCallbackFilterUPP(FMFontFamily iFontFamily, void * iRefCon, FMFontFamilyCallbackFilterUPP userUPP) { return (*userUPP)(iFontFamily, iRefCon); }
inline OSStatus InvokeFMFontCallbackFilterUPP(FMFont iFont, void * iRefCon, FMFontCallbackFilterUPP userUPP) { return (*userUPP)(iFont, iRefCon); }
#else
#define NewFMFontFamilyCallbackFilterUPP(userRoutine) ((FMFontFamilyCallbackFilterUPP)userRoutine)
#define NewFMFontCallbackFilterUPP(userRoutine) ((FMFontCallbackFilterUPP)userRoutine)
#define DisposeFMFontFamilyCallbackFilterUPP(userUPP)
#define DisposeFMFontCallbackFilterUPP(userUPP)
#define InvokeFMFontFamilyCallbackFilterUPP(iFontFamily, iRefCon, userUPP) (*userUPP)(iFontFamily, iRefCon)
#define InvokeFMFontCallbackFilterUPP(iFont, iRefCon, userUPP) (*userUPP)(iFont, iRefCon)
#endif
#endif
struct FMFontDirectoryFilter {
SInt16 fontFolderDomain;
UInt32 reserved[2];
};
typedef struct FMFontDirectoryFilter FMFontDirectoryFilter;
/*
Note: The fontContainerFilter member is not available in 64-bit. Use fontFileRefFilter
and the kFMFontFileRefFilterSelector enum instead.
*/
struct FMFilter {
UInt32 format;
FMFilterSelector selector;
union {
FourCharCode fontTechnologyFilter;
ATSFSSpec fontContainerFilter;
FMGeneration generationFilter;
FMFontFamilyCallbackFilterUPP fontFamilyCallbackFilter;
FMFontCallbackFilterUPP fontCallbackFilter;
FMFontDirectoryFilter fontDirectoryFilter;
const FSRef * fontFileRefFilter;
} filter;
};
typedef struct FMFilter FMFilter;
#endif // ATS_LEGACY_API
typedef OptionBits ATSOptionFlags;
typedef UInt32 ATSGeneration;
typedef UInt32 ATSFontContainerRef;
typedef UInt32 ATSFontFamilyRef;
#ifndef ATSFONTREF_DEFINED
typedef UInt32 ATSFontRef;
#define ATSFONTREF_DEFINED 1
#endif
typedef UInt16 ATSGlyphRef;
typedef CGFloat ATSFontSize;
typedef UInt32 ATSFontFormat;
enum {
kATSFontFormatUnspecified = 0
};
enum {
kATSGenerationUnspecified = 0,
kATSFontContainerRefUnspecified = 0,
kATSFontFamilyRefUnspecified = 0,
kATSFontRefUnspecified = 0
};
/*
ATSFontMetrics measurements are relative to a font's point size.
For example, when a font with an ATSFontMetrics ascent of 0.6 is drawn at 18 points, its actual ascent is (0.6 * 18) = 10.8 points.
*/
struct ATSFontMetrics {
UInt32 version;
CGFloat ascent; /* Maximum height above baseline reached by the glyphs in the font */
/* or maximum distance to the right of the centerline reached by the glyphs in the font */
CGFloat descent; /* Maximum depth below baseline reached by the glyphs in the font */
/* or maximum distance to the left of the centerline reached by the glyphs in the font */
CGFloat leading; /* Desired spacing between lines of text */
CGFloat avgAdvanceWidth;
CGFloat maxAdvanceWidth; /* Maximum advance width or height of the glyphs in the font */
CGFloat minLeftSideBearing; /* Minimum left or top side bearing */
CGFloat minRightSideBearing; /* Minimum right or bottom side bearing */
CGFloat stemWidth; /* Width of the dominant vertical stems of the glyphs in the font */
CGFloat stemHeight; /* Vertical width of the dominant horizontal stems of glyphs in the font */
CGFloat capHeight; /* Height of a capital letter from the baseline to the top of the letter */
CGFloat xHeight; /* Height of lowercase characters in a font, specifically the letter x, excluding ascenders and descenders */
CGFloat italicAngle; /* Angle in degrees counterclockwise from the vertical of the dominant vertical strokes of the glyphs in the font */
CGFloat underlinePosition; /* Distance from the baseline for positioning underlining strokes */
CGFloat underlineThickness; /* Stroke width for underlining */
};
typedef struct ATSFontMetrics ATSFontMetrics;
enum {
kATSItalicQDSkew = (1 << 16) / 4, /* fixed value of 0.25 */
kATSBoldQDStretch = (1 << 16) * 3 / 2, /* fixed value of 1.50 */
kATSRadiansFactor = 1144 /* fixed value of approx. pi/180 (0.0174560546875) */
};
/* Glyph outline path constants used in ATSFontGetNativeCurveType. */
typedef UInt16 ATSCurveType;
enum {
kATSCubicCurveType = 0x0001,
kATSQuadCurveType = 0x0002,
kATSOtherCurveType = 0x0003
};
/*
This is what the ATSGlyphRef is set to when the glyph is deleted -
that is, when the glyph is set to no longer appear when the layout
is actually drawn
*/
enum {
kATSDeletedGlyphcode = 0xFFFF
};
struct ATSUCurvePath {
UInt32 vectors;
UInt32 controlBits[1];
ATSPoint vector[1];
};
typedef struct ATSUCurvePath ATSUCurvePath;
struct ATSUCurvePaths {
UInt32 contours;
ATSUCurvePath contour[1];
};
typedef struct ATSUCurvePaths ATSUCurvePaths;
/* Glyph ideal metrics */
struct ATSGlyphIdealMetrics {
ATSPoint advance;
ATSPoint sideBearing;
ATSPoint otherSideBearing;
};
typedef struct ATSGlyphIdealMetrics ATSGlyphIdealMetrics;
/* Glyph screen metrics */
struct ATSGlyphScreenMetrics {
ATSPoint deviceAdvance;
ATSPoint topLeft;
UInt32 height;
UInt32 width;
ATSPoint sideBearing;
ATSPoint otherSideBearing;
};
typedef struct ATSGlyphScreenMetrics ATSGlyphScreenMetrics;
/* Glyph References */
typedef ATSGlyphRef GlyphID;
#pragma pack(pop)
#ifdef __cplusplus
}
#endif
#endif /* __ATSTYPES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSLayoutTypes.h | /*
File: ATS/ATSLayoutTypes.h
Contains: Apple Type Services layout public structures and constants.
Version: ATS
Copyright: (c) 1994-2018 by Apple Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSLAYOUTTYPES__
#define __ATSLAYOUTTYPES__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#ifndef __SFNTLAYOUTTYPES__
#include <ATS/SFNTLayoutTypes.h>
#endif
#ifndef __ATSTYPES__
#include <ATS/ATSTypes.h>
#endif
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push, 2)
/* --------------------------------------------------------------------------- */
/* CONSTANTS and related scalar types */
/* --------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------- */
/* Miscellaneous Constants */
/* --------------------------------------------------------------------------- */
enum {
kATSUseGlyphAdvance = 0x7FFFFFFF, /* assignment to use natural glyph advance value */
kATSUseLineHeight = 0x7FFFFFFF, /* assignment to use natural line ascent/descent values */
kATSNoTracking = (int)0x80000000 /* negativeInfinity */
};
/* --------------------------------------------------------------------------- */
/*
* Summary:
* These values are passed into the ATSUGetGlyphBounds function to
* indicate whether the width of the resulting typographic glyph
* bounds will be determined using the caret origin, glyph origin in
* device space, or glyph origin in fractional absolute positions
*/
enum {
/*
* Specifies that the width of the typographic glyph bounds will be
* determined using the caret origin. The caret origin is halfway
* between two characters.
*/
kATSUseCaretOrigins = 0,
/*
* Specifies that the width of the typographic glyph bounds will be
* determined using the glyph origin in device space. This is useful
* for adjusting text on the screen.
*/
kATSUseDeviceOrigins = 1,
/*
* Specifies that the width of the typographic glyph bounds will be
* determined using the glyph origin in fractional absolute
* positions, which are uncorrected for device display. This provides
* the ideal position of laid-out text and is useful for scaling text
* on the screen. This origin is also used to get the width of the
* typographic bounding rectangle when you call ATSUMeasureText.
*/
kATSUseFractionalOrigins = 2,
kATSUseOriginFlags = 3
};
/* ---------------------------------------------------------------------------- */
/*
* ATSULayoutOperationSelector
*
* Summary:
* This is used to select which operations to override, or which
* operation is currently being run.
*/
typedef UInt32 ATSULayoutOperationSelector;
enum {
/*
* No Layout operation is currently selected.
*/
kATSULayoutOperationNone = 0x00000000,
/*
* Select the Justification operation.
*/
kATSULayoutOperationJustification = 0x00000001,
/*
* Select the character morphing operation.
*/
kATSULayoutOperationMorph = 0x00000002,
/*
* Select the kerning adjustment operation.
*/
kATSULayoutOperationKerningAdjustment = 0x00000004,
/*
* Select the baseline adjustment operation.
*/
kATSULayoutOperationBaselineAdjustment = 0x00000008,
/*
* Select the tracking adjustment operation.
*/
kATSULayoutOperationTrackingAdjustment = 0x00000010,
/*
* Select the period of time after ATSUI has finished all of it's
* layout operations.
*/
kATSULayoutOperationPostLayoutAdjustment = 0x00000020,
kATSULayoutOperationAppleReserved = (UInt32)0xFFFFFFC0
};
/* ---------------------------------------------------------------------------- */
/*
* ATSULayoutOperationCallbackStatus
*
* Summary:
* One of these must be returned by a
* ATSUDLayoutOperationOverrideUPP callback function in order to
* indicate ATSUI's status.
*/
typedef UInt32 ATSULayoutOperationCallbackStatus;
enum {
/*
* Return this if the callback function has totally handled the
* operation which triggered the callback and does not need ATSUI to
* run any further processing for the operation.
*/
kATSULayoutOperationCallbackStatusHandled = 0x00000000,
/*
* Return this if the callback function has not totally handled the
* operation which triggered the callback and needs ATSUI to run it's
* own processing.
*/
kATSULayoutOperationCallbackStatusContinue = 0x00000001
};
/* ---------------------------------------------------------------------------- */
/*
* ATSLineLayoutOptions
*
* Summary:
* ATSLineLayoutOptions are normally set in an ATSUTextLayout object
* via the kATSULineLayoutOptionsTag layout control attribute. They
* can also be set in an ATSLineLayoutParams structure.
*/
typedef UInt32 ATSLineLayoutOptions;
enum {
/*
* No options specified.
*/
kATSLineNoLayoutOptions = 0x00000000,
/*
* This line option is no longer used.
*/
kATSLineIsDisplayOnly = 0x00000001, /* obsolete option*/
/*
* Specifies that no hangers to be formed on the line.
*/
kATSLineHasNoHangers = 0x00000002,
/*
* Specifies that no optical alignment to be performed on the line.
*/
kATSLineHasNoOpticalAlignment = 0x00000004,
/*
* Specifies that space charcters should not be treated as hangers.
*/
kATSLineKeepSpacesOutOfMargin = 0x00000008,
/*
* Specifies no post-compensation justification is to be performed.
*/
kATSLineNoSpecialJustification = 0x00000010,
/*
* Specifies that if the line is the last of a paragraph, it will not
* get justified.
*/
kATSLineLastNoJustification = 0x00000020,
/*
* Specifies that the displayed line glyphs will adjust for device
* metrics.
*/
kATSLineFractDisable = 0x00000040,
/*
* Specifies that the carets at the ends of the line will be
* guarenteed to be perpendicular to the baseline.
*/
kATSLineImposeNoAngleForEnds = 0x00000080,
/*
* Highlights for the line end characters will be extended to 0 and
* the specified line width.
*/
kATSLineFillOutToWidth = 0x00000100,
/*
* Specifies that the tab character width will be automatically
* adjusted to fit the specified line width.
*/
kATSLineTabAdjustEnabled = 0x00000200,
/*
* Specifies that any leading value specified by a font will be
* ignored.
*/
kATSLineIgnoreFontLeading = 0x00000400,
/*
* Specifies that ATS produce antialiased glyph images despite system
* preferences (negates kATSLineNoAntiAliasing bit if set).
*/
kATSLineApplyAntiAliasing = 0x00000800,
/*
* Specifies that ATS turn-off antialiasing glyph imaging despite
* system preferences (negates kATSLineApplyAntiAliasing bit if set).
*/
kATSLineNoAntiAliasing = 0x00001000,
/*
* Specifies that if the line width is not sufficient to hold all its
* glyphs, glyph positions are allowed to extend beyond the line's
* assigned width so negative justification is not used.
*/
kATSLineDisableNegativeJustification = 0x00002000,
/*
* Specifies that lines with any integer glyph positioning (due to
* either any character non-antialiased or kATSLineFractDisable
* specified), not automatically esthetically adjust individual
* character positions while rendering to display.
*/
kATSLineDisableAutoAdjustDisplayPos = 0x00004000,
/*
* Specifies that rendering be done simulating Quickdraw rendering
* (4-bit pixel aligned antialiasing).
*/
kATSLineUseQDRendering = 0x00008000,
/*
* Specifies that any Justification operations will not be run.
*/
kATSLineDisableAllJustification = 0x00010000,
/*
* Specifies that any glyph morphing operations will not be run.
*/
kATSLineDisableAllGlyphMorphing = 0x00020000,
/*
* Specifies that any kerning adjustment operations will not be run.
*/
kATSLineDisableAllKerningAdjustments = 0x00040000,
/*
* Specifies that any baseline adjustment operations will not be run.
*/
kATSLineDisableAllBaselineAdjustments = 0x00080000,
/*
* Specifies that any tracking adjustment operations will not be run.
*/
kATSLineDisableAllTrackingAdjustments = 0x00100000,
/*
* Convenience constant for turning-off all adjustments.
*/
kATSLineDisableAllLayoutOperations = kATSLineDisableAllJustification | kATSLineDisableAllGlyphMorphing | kATSLineDisableAllKerningAdjustments | kATSLineDisableAllBaselineAdjustments | kATSLineDisableAllTrackingAdjustments,
/*
* Specifies to optimize for displaying text only. Note, rounded
* device metrics will be used instead of fractional path metrics.
*/
kATSLineUseDeviceMetrics = 0x01000000,
/*
* Specifies that line breaking should occur at the nearest
* character, not word. This could cause a word to be split among
* multiple lines.
*/
kATSLineBreakToNearestCharacter = 0x02000000,
/*
* These bits are reserved by Apple and will result in a invalid
* value error if attemped to set. Obsolete constants:
*/
kATSLineAppleReserved = (UInt32)0xFCE00000
};
/* --------------------------------------------------------------------------- */
/*
* ATSStyleRenderingOptions
*
* Summary:
* ATSStyleRenderingOptions are set in the ATSUStyle object via the
* attribute tag kATSUStyleRenderingOptions. They provide finer
* control over how the style is rendered.
*/
typedef UInt32 ATSStyleRenderingOptions;
enum {
/*
* No options specified.
*/
kATSStyleNoOptions = 0x00000000,
/*
* Specifies that ATS produce "unhinted" glyph outlines (default is
* hinted glyph outlines).
*/
kATSStyleNoHinting = 0x00000001,
/*
* Specifies that ATS produce antialiased glyph images despite system
* preferences or LineLayoutOptions (negates kATSStyleNoAntiAliasing
* bit if set).
*/
kATSStyleApplyAntiAliasing = 0x00000002,
/*
* Specifies that ATS turn-off antialiasing glyph imaging despite
* system preferences or LineLayoutOptions (negates
* kATSStyleApplyAntiAliasing bit if set).
*/
kATSStyleNoAntiAliasing = 0x00000004,
/*
* These bits are reserved by Apple and will result in a invalid
* value error if attemped to set.
*/
kATSStyleAppleReserved = (UInt32)0xFFFFFFF8,
/*
* (OBSOLETE) Specifies that ATS produce "hinted" glyph outlines (the
* default behavior). THIS NAME IS OBSOLETE. DO NOT USE. It's only
* left in for backwards compatibility.
*/
kATSStyleApplyHints = kATSStyleNoOptions
};
/* --------------------------------------------------------------------------- */
/*
* ATSGlyphInfoFlags
*
* Summary:
* ATSGlyphInfoFlags are set in the individual ATSLayoutRecord
* structures and apply only to the ATSGlyphRef in that structure.
* The are used by the layout engine to flag a glyph with specific
* properties.
*/
typedef UInt32 ATSGlyphInfoFlags;
enum {
/*
* These bits are Apple reserved and may result in an invalid value
* error if attempted to set.
*/
kATSGlyphInfoAppleReserved = 0x1FFBFFE8,
/*
* The glyph attaches to another glyph.
*/
kATSGlyphInfoIsAttachment = (UInt32)0x80000000,
/*
* The glyph can hang off left/top edge of line.
*/
kATSGlyphInfoIsLTHanger = 0x40000000,
/*
* The glyph can hang off right/bottom edge of line.
*/
kATSGlyphInfoIsRBHanger = 0x20000000,
/*
* The glyph is not really a glyph at all, but an end-marker designed
* to allow the calculation of the previous glyph's advance.
*/
kATSGlyphInfoTerminatorGlyph = 0x00080000,
/*
* The glyph is a white space glyph.
*/
kATSGlyphInfoIsWhiteSpace = 0x00040000,
/*
* Glyph has a style specified imposed width (i.e. advance)
*/
kATSGlyphInfoHasImposedWidth = 0x00000010,
/*
* A three-bit mask, that can be used to get the size of the original
* character that spawned this glyph. When a logical 'and' operation
* with this mask and an ATSGlyphInfoFlags variable, it will yield
* the size in bytes of the original character (0 - 7 bytes possible).
*/
kATSGlyphInfoByteSizeMask = 0x00000007
};
/* --------------------------------------------------------------------------- */
/* STRUCTURED TYPES and related constants */
/* --------------------------------------------------------------------------- */
/*
* ATSLayoutRecord
*
* Summary:
* The ATSLayoutRecord structure defines all the needed info for a
* single glyph during the layout process. This struct must be
* declared as the first element of an enclosing glyph record struct
* defined by ATSUI DirectAccess clients.
*/
struct ATSLayoutRecord {
/*
* The glyph ID reference.
*/
ATSGlyphRef glyphID;
/*
* These flags describe the individual state of the glyph (see above).
*/
ATSGlyphInfoFlags flags;
/*
* The byte offset of the original character that spawned this glyph.
*/
ByteCount originalOffset;
/*
* This is the real position that the glyph sits.
*/
Fixed realPos;
};
typedef struct ATSLayoutRecord ATSLayoutRecord;
/* --------------------------------------------------------------------------- */
/*
* ATSTrapezoid
*
* Summary:
* The ATSTrapezoid structure supplies a convenient container for
* glyph bounds in trapezoidal form.
*/
struct ATSTrapezoid {
FixedPoint upperLeft;
FixedPoint upperRight;
FixedPoint lowerRight;
FixedPoint lowerLeft;
};
typedef struct ATSTrapezoid ATSTrapezoid;
/* --------------------------------------------------------------------------- */
/*
* ATSJustWidthDeltaEntryOverride
*
* Summary:
* The JustWidthDeltaEntryOverride structure specifies values for
* the grow and shrink case during justification, both on the left
* and on the right. It also contains flags. This particular
* structure is used for passing justification overrides to LLC. For
* further sfnt resource 'just' table constants and structures, see
* SFNTLayoutTypes.h.
*/
struct ATSJustWidthDeltaEntryOverride {
/*
* ems AW can grow by at most on LT
*/
Fixed beforeGrowLimit;
/*
* ems AW can shrink by at most on LT
*/
Fixed beforeShrinkLimit;
/*
* ems AW can grow by at most on RB
*/
Fixed afterGrowLimit;
/*
* ems AW can shrink by at most on RB
*/
Fixed afterShrinkLimit;
/*
* flags controlling grow case
*/
JustificationFlags growFlags;
/*
* flags controlling shrink case
*/
JustificationFlags shrinkFlags;
};
typedef struct ATSJustWidthDeltaEntryOverride ATSJustWidthDeltaEntryOverride;
/* The JustPriorityOverrides type is an array of 4 width delta records, one per priority level override. */
typedef ATSJustWidthDeltaEntryOverride ATSJustPriorityWidthDeltaOverrides[4];
/* ---------------------------------------------------------------------------- */
#if ATS_LEGACY_API
/*
* ATSULineRef
*
* Summary:
* A reference to a line that is being laid out. This is passed into
* the ATSUDirectLayoutOperationOverrideUPP callback function to be
* used by the ATSUDirectGetLayoutDataArrayPtrFromLineRef function.
* The only way to get a line ref is inside of the callback. The
* only time the line ref is valid is inside of the callback.
*/
typedef struct ATSGlyphVector* ATSULineRef;
/* ---------------------------------------------------------------------------- */
/* DirectAccess Layout Callback Definitions */
/* ---------------------------------------------------------------------------- */
/*
* ATSUDirectLayoutOperationOverrideProcPtr
*
* Summary:
* Callback definition for a low-level adjustment routine hook.
*
* Discussion:
* This callback can be set in an ATSUTextLayout object by setting
* the attribute tag kATSULayoutOperationOverrideTag and passing in
* a ATSULayoutOperationOverrideSpecifier structure into
* ATSUSetLayoutAttribute. This callback will be called whenever an
* ATSUI call triggers a re-layout for each operation it is
* installed for. The operation that triggered the callback will be
* set in the iCurrentOperation parameter. The callback function
* defined by the developer is only required to do one thing: return
* it's status to ATSUI as to what it has done. This is done via the
* oCallbackStatus parameter. It needs to tell ATSUI if it had
* handled the layout operation or if it still needs ATSUI to run
* it's own processes. iOperationCallbackParameterPtr is there in
* case there are ever any ATSUDirectLayoutOperationSelector which
* require extra parameters to be passed into the callback function.
* It is currently unused and will always be set to NULL. iRefCon is
* the constant that is set in the ATSUTextLayout object that
* spawned the operation by the ATSUSetTextLayoutRefCon() API.
* Within the context of the callback itself, only a limited subset
* of ATSUI APIs may be called. Basically, only the APIs that have
* no chance of triggering a re-layout are allowed to be called. The
* reason for this restriction is to prevent runaway recursion. Most
* of the APIs that have "create", "get", or "copy" are safe. Any
* attempt to call one of the restricted APIs will result in an
* immediate return with the kATSUInvalidCallInsideCallbackErr
* error. ATSULayoutOperationSelector and
* ATSULayoutOperationCallbackStatus are defined in ATSLayoutTypes.i.
*/
typedef CALLBACK_API_C( OSStatus , ATSUDirectLayoutOperationOverrideProcPtr )(ATSULayoutOperationSelector iCurrentOperation, ATSULineRef iLineRef, URefCon iRefCon, void *iOperationCallbackParameterPtr, ATSULayoutOperationCallbackStatus *oCallbackStatus);
typedef STACK_UPP_TYPE(ATSUDirectLayoutOperationOverrideProcPtr) ATSUDirectLayoutOperationOverrideUPP;
/*
* NewATSUDirectLayoutOperationOverrideUPP()
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern ATSUDirectLayoutOperationOverrideUPP
NewATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideProcPtr userRoutine) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
/*
* DisposeATSUDirectLayoutOperationOverrideUPP()
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern void
DisposeATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
/*
* InvokeATSUDirectLayoutOperationOverrideUPP()
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: available as macro/inline
*/
#if !__LP64__
extern OSStatus
InvokeATSUDirectLayoutOperationOverrideUPP(
ATSULayoutOperationSelector iCurrentOperation,
ATSULineRef iLineRef,
URefCon iRefCon,
void * iOperationCallbackParameterPtr,
ATSULayoutOperationCallbackStatus * oCallbackStatus,
ATSUDirectLayoutOperationOverrideUPP userUPP) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7;
#endif // !__LP64
#if __MACH__
#ifdef __cplusplus
inline ATSUDirectLayoutOperationOverrideUPP NewATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideProcPtr userRoutine) { return userRoutine; }
inline void DisposeATSUDirectLayoutOperationOverrideUPP(ATSUDirectLayoutOperationOverrideUPP) { }
inline OSStatus InvokeATSUDirectLayoutOperationOverrideUPP(ATSULayoutOperationSelector iCurrentOperation, ATSULineRef iLineRef, URefCon iRefCon, void * iOperationCallbackParameterPtr, ATSULayoutOperationCallbackStatus * oCallbackStatus, ATSUDirectLayoutOperationOverrideUPP userUPP) { return (*userUPP)(iCurrentOperation, iLineRef, iRefCon, iOperationCallbackParameterPtr, oCallbackStatus); }
#else
#define NewATSUDirectLayoutOperationOverrideUPP(userRoutine) ((ATSUDirectLayoutOperationOverrideUPP)userRoutine)
#define DisposeATSUDirectLayoutOperationOverrideUPP(userUPP)
#define InvokeATSUDirectLayoutOperationOverrideUPP(iCurrentOperation, iLineRef, iRefCon, iOperationCallbackParameterPtr, oCallbackStatus, userUPP) (*userUPP)(iCurrentOperation, iLineRef, iRefCon, iOperationCallbackParameterPtr, oCallbackStatus)
#endif
#endif
/* ---------------------------------------------------------------------------- */
/*
* ATSULayoutOperationOverrideSpecifier
*
* Summary:
* This structure is used to install a callback for one or more
* ATSUI operations. To do this, simply passed one of these
* structure into the ATSUSetLayoutControls call with the
* kATSULayoutOperationOverrideTag tag.
*/
struct ATSULayoutOperationOverrideSpecifier {
/*
* A bitfield containing the selector for the operations in which the
* callback will be installed for.
*/
ATSULayoutOperationSelector operationSelector;
ATSUDirectLayoutOperationOverrideUPP overrideUPP;
};
typedef struct ATSULayoutOperationOverrideSpecifier ATSULayoutOperationOverrideSpecifier;
#endif // ATS_LEGACY_API
#pragma pack(pop)
#ifdef __cplusplus
}
#endif
#endif /* __ATSLAYOUTTYPES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h | /*
File: ATS/ATS.h
Contains: Master include for ATS private framework
Version: ATS
Copyright: (c) 1999-2012 by Apple Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATS__
#define __ATS__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#ifndef __ATSDEFINES__
#include <ATS/ATSDefines.h>
#endif
#ifndef __ATSLAYOUTTYPES__
#include <ATS/ATSLayoutTypes.h>
#endif
#ifndef __ATSFONT__
#include <ATS/ATSFont.h>
#endif
#ifndef __ATSTYPES__
#include <ATS/ATSTypes.h>
#endif
#ifndef __SFNTLAYOUTTYPES__
#include <ATS/SFNTLayoutTypes.h>
#endif
#ifndef __SFNTTYPES__
#include <ATS/SFNTTypes.h>
#endif
#endif /* __ATS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h | /*
File: ATS/ATSFont.h
Contains: Public interface to the font access and data management functions of ATS.
Version: ATS
Copyright: (c) 2000-2019 by Apple Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSFONT__
#define __ATSFONT__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#ifndef __COREFOUNDATION__
#include <CoreFoundation/CoreFoundation.h>
#endif
#ifndef __ATSDEFINES__
#include <ATS/ATSDefines.h>
#endif
#ifndef __ATSTYPES__
#include <ATS/ATSTypes.h>
#endif
#ifndef __SFNTTYPES__
#include <ATS/SFNTTypes.h>
#endif
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push, 2)
#if PRAGMA_ENUM_ALWAYSINT
#pragma enumsalwaysint on
#endif
enum {
kATSOptionFlagsDefault = kNilOptions,
kATSOptionFlagsComposeFontPostScriptName = 1 << 0, /* ATSFontGetPostScriptName */
kATSOptionFlagsUseDataForkAsResourceFork = 1 << 8, /* ATSFontActivateFromFileSpecification */
kATSOptionFlagsUseResourceFork = 2 << 8,
kATSOptionFlagsUseDataFork = 3 << 8
};
enum {
kATSIterationCompleted = -980L,
kATSInvalidFontFamilyAccess = -981L,
kATSInvalidFontAccess = -982L,
kATSIterationScopeModified = -983L,
kATSInvalidFontTableAccess = -984L,
kATSInvalidFontContainerAccess = -985L,
kATSInvalidGlyphAccess = -986L
};
/* Activation Option Flags */
typedef UInt32 ATSFontContext;
enum {
kATSFontContextUnspecified = 0,
kATSFontContextGlobal = 1,
kATSFontContextLocal = 2
};
enum {
kATSOptionFlagsActivateDisabled = 0x00000001 << 5, /* Used by activate to activate fonts in the disabled state */
kATSOptionFlagsProcessSubdirectories = 0x00000001 << 6, /* Used by activation/deactivation & iteration */
kATSOptionFlagsDoNotNotify = 0x00000001 << 7, /* Do not notify after global activation/deactivation */
kATSOptionFlagsRecordPersistently = 0x00000001 << 18 /* Used by activated/deactivation to record/remove font references in persistent store to be remembered at next login */
};
/* Iteration Option Flags */
enum {
kATSOptionFlagsIterateByPrecedenceMask = 0x00000001 << 5, /* Fonts returned from highest to lowest precedece */
kATSOptionFlagsIncludeDisabledMask = 0x00000001 << 7, /* Disabled Fonts will show up in iteration, also valid for ATSFontFindFromContainer */
kATSOptionFlagsIterationScopeMask = 0x00000007 << 12, /* Mask option bits 12-14 for iteration scopes */
kATSOptionFlagsDefaultScope = 0x00000000 << 12,
kATSOptionFlagsUnRestrictedScope = 0x00000001 << 12,
kATSOptionFlagsRestrictedScope = 0x00000002 << 12
};
typedef CALLBACK_API_C( OSStatus , ATSFontFamilyApplierFunction )(ATSFontFamilyRef iFamily, void *iRefCon);
typedef CALLBACK_API_C( OSStatus , ATSFontApplierFunction )(ATSFontRef iFont, void *iRefCon);
typedef struct ATSFontFamilyIterator_* ATSFontFamilyIterator;
typedef struct ATSFontIterator_* ATSFontIterator;
enum {
kATSFontFilterCurrentVersion = 0
};
enum ATSFontFilterSelector {
kATSFontFilterSelectorUnspecified = 0,
kATSFontFilterSelectorGeneration = 3,
kATSFontFilterSelectorFontFamily = 7,
kATSFontFilterSelectorFontFamilyApplierFunction = 8,
kATSFontFilterSelectorFontApplierFunction = 9,
kATSFileReferenceFilterSelector = 10
};
typedef enum ATSFontFilterSelector ATSFontFilterSelector;
struct ATSFontFilter {
UInt32 version;
ATSFontFilterSelector filterSelector;
union {
ATSGeneration generationFilter;
ATSFontFamilyRef fontFamilyFilter;
ATSFontFamilyApplierFunction fontFamilyApplierFunctionFilter;
ATSFontApplierFunction fontApplierFunctionFilter;
#if ATS_LEGACY_API
const FSRef * fontFileRefFilter;
#endif // ATS_LEGACY_API
} filter;
};
typedef struct ATSFontFilter ATSFontFilter;
/* Notification related */
typedef struct ATSFontNotificationRef_* ATSFontNotificationRef;
typedef struct ATSFontNotificationInfoRef_* ATSFontNotificationInfoRef;
/*
* ATSFontNotifyOption
*
* Discussion:
* Options used with ATSFontNotificationSubscribe. Any of the
* options that follow may be used together in order to alter the
* default behavior of ATS notifications.
*/
enum ATSFontNotifyOption {
/*
* Default behavior of ATSFontNotificationSubscribe.
*/
kATSFontNotifyOptionDefault = 0,
/*
* Normally applications will only receive ATS notifications while in
* the foreground. If suspended, the notification will be delivered
* when then application comes to the foreground. This is the
* default. You should set this option if you are a server or tool
* that performs font management functions and require immediate
* notification when something changes.
*/
kATSFontNotifyOptionReceiveWhileSuspended = 1L << 0
};
typedef enum ATSFontNotifyOption ATSFontNotifyOption;
/*
* ATSFontNotifyAction
*
* Discussion:
* Used with ATSFontNotify. The following is a list of actions you
* might wish the ATS server to perform and notify clients if
* appropriate.
*/
enum ATSFontNotifyAction {
/*
* Used after a batch (de)activation of fonts occurs. Typically the
* caller has exercised multiple global (De)Activation calls with the
* kATSOptionFlagsDoNotNotify set. Once all calls are completed, one
* may use ATSFontNotify with this action to ask ATS to notify all
* clients.
*/
kATSFontNotifyActionFontsChanged = 1,
/*
* The ATS system with the help of the Finder keeps track of changes
* to any of the font directories in the system domains ( System,
* Local, Network, User, & Classic). However, one may wish to
* add/remove fonts to these locations programmatically. This action
* is used to let ATS server to rescan these directories and post
* notifications if necessary.
*/
kATSFontNotifyActionDirectoriesChanged = 2
};
typedef enum ATSFontNotifyAction ATSFontNotifyAction;
/*
* ATSNotificationCallback
*
* Discussion:
* Callback delivered for ATS notifications.
*
* Parameters:
*
* info:
* Parameter is placed here for future improvements. Initially
* the contents of this parameter will be NULL.
*
* refCon:
* User data/state to be supplied to callback function
*/
typedef CALLBACK_API_C( void , ATSNotificationCallback )(ATSFontNotificationInfoRef info, void *refCon);
/* ----------------------------------------------------------------------------------------- */
/* Font container */
/* ----------------------------------------------------------------------------------------- */
/*
* ATSGetGeneration()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern ATSGeneration
ATSGetGeneration(void) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Register for kCTFontManagerRegisteredFontsChangedNotification notifications");
#if !__LP64__
/*
* ATSFontActivateFromFileSpecification() *** DEPRECATED ***
*
* Deprecated:
* Use ATSFontActivateFromFileReference instead.
*
* Summary:
* Activates one or more fonts from a file specification.
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Parameters:
*
* iFile:
* A pointer to the file specification that specifies the name and
* location of a file or directory that contains the font data you
* want to activate.
*
* iContext:
* A value that specifies the context of the activated font.
*
* iFormat:
* A value that represents the format identifier of the font. Pass
* kATSFontFormatUnspecified as the system automatically
* determines the format of the font.
*
* iReserved:
* This parameter is currently reserved for future use, so you
* should pass NULL.
*
* iOptions:
* An options flag. See developer documentation for appropriate
* flags.
*
* oContainer:
* On output, a reference to the font container that is activated
* from the file specification. You need this reference when you
* deactivate the font by calling the function ATSFontDeactivate.
*
* Result:
* noErr Activated successfully
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontActivateFromFileSpecification(
const FSSpec * iFile,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iReserved,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0 , 10_5 , "Use CTFontManagerRegisterFontsForURL() or CTFontManagerRegisterFontsForURLs()");
#endif /* !__LP64__ */
#if ATS_LEGACY_API
/*
* ATSFontActivateFromFileReference()
*
* Summary:
* Activates one or more fonts from a file reference.
*
* Mac OS X threading:
* Thread safe since version 10.5
*
* Parameters:
*
* iFile:
* A pointer to the file specification that specifies the name and
* location of a file or directory that contains the font data you
* want to activate.
*
* iContext:
* A value that specifies the context of the activated font.
*
* iFormat:
* A value that represents the format identifier of the font. Pass
* kATSFontFormatUnspecified as the system automatically
* determines the format of the font.
*
* iRefCon:
* This parameter is currently reserved for future use, so you
* should pass NULL.
*
* iOptions:
* An options flag. See developer documentation for appropriate
* flags.
*
* oContainer:
* On output, a reference to the font container that is activated
* from the file specification. You need this reference when you
* deactivate the font by calling the function ATSFontDeactivate.
*
* Result:
* noErr Activated successfully
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontActivateFromFileReference(
const FSRef * iFile,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontManagerRegisterFontsForURL() or CTFontManagerRegisterFontsForURLs()");
#endif // ATS_LEGACY_API
/*
* ATSFontActivateFromMemory()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontActivateFromMemory(
LogicalAddress iData,
ByteCount iLength,
ATSFontContext iContext,
ATSFontFormat iFormat,
void * iReserved,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontManagerRegisterFontForData() or CGFontCreateWithDataProvider() w/ CTFontManagerRegisterGraphicsFont()");
/*
* ATSFontDeactivate()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontDeactivate(
ATSFontContainerRef iContainer,
void * iRefCon,
ATSOptionFlags iOptions) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontManagerUnregisterFontsForURL() or CTFontManagerUnregisterFontsForURLs()");
#if ATS_LEGACY_API
/*
* ATSFontGetContainerFromFileReference()
*
* Summary:
* Get the font container reference associated with an activated
* file reference.
*
* Mac OS X threading:
* Thread safe since version 10.5
*
* Parameters:
*
* iFile:
* A pointer to the valid file reference that specificies the
* activated font file for which to get the container.
*
* iContext:
* The context that the font file is accessible too. If
* kATSFontContextGlobal is specified this function will return
* only a valid font container reference that was activated in
* kATSFontContextGlobal. If kATSFontContextDefault or
* kATSFontContextLocal is used, the container returned will
* adhere to precedence rules. In which case a container activated
* in kATSFontContextLocal will be preferred over one activated in
* kATSFontContextGlobal.
*
* iOptions:
* An options flag. See developer documentation for appropriate
* flags.
*
* oContainer:
* On output, a reference to the font container representing the
* file reference activated in the specified context. On error or
* for a file that is not activated, this will be set to
* kATSFontContainerRefUnspecified.
*
* Result:
* paramErr One or more parameters are invalid.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetContainerFromFileReference(
const FSRef * iFile,
ATSFontContext iContext,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontCopyAttribute() with kCTFontURLAttribute.");
#endif // ATS_LEGACY_API
/*
* ATSFontGetContainer()
*
* Summary:
* Gets the font container reference for the font.
*
* Mac OS X threading:
* Thread safe since version 10.5
*
* Parameters:
*
* iFont:
* The font reference.
*
* iOptions:
* An options flag. See developer documentation for appropriate
* flags.
*
* oContainer:
* On output, a reference to the font container that was used to
* activate the font reference. On error this will be set to
* kATSFontContainerRefUnspecified.
*
* Result:
* kATSInvalidFontContainerAccess The font container is invalid.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetContainer(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontContainerRef * oContainer) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontCopyAttribute() with kCTFontURLAttribute.");
/*
* ATSFontSetEnabled()
*
* Summary:
* Sets a font's state to enabled or disabled.
*
* Mac OS X threading:
* Thread safe since version 10.5
*
* Parameters:
*
* iFont:
* The font reference.
*
* iOptions:
* An options flag. See developer documentation for appropriate
* flags.
*
* iEnabled:
* The state to set the font to. True for enabled, false for
* disabled.
*
* Result:
* kATSInvalidFontAccess The font reference is invalid in the
* current application context.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontSetEnabled(
ATSFontRef iFont,
ATSOptionFlags iOptions,
Boolean iEnabled) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontManagerEnableFontDescriptors()");
/*
* ATSFontIsEnabled()
*
* Summary:
* Returns true if the font is enabled.
*
* Mac OS X threading:
* Thread safe since version 10.5
*
* Parameters:
*
* iFont:
* The font reference
*
* Result:
* false The font is disabled.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern Boolean
ATSFontIsEnabled(ATSFontRef iFont) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontCopyAttribute() with kCTFontEnabledAttribute");
/* ----------------------------------------------------------------------------------------- */
/* Font family */
/* ----------------------------------------------------------------------------------------- */
/*
* ATSFontFamilyApplyFunction()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFamilyApplyFunction(
ATSFontFamilyApplierFunction iFunction,
void * iRefCon) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontManagerCopyAvailableFontFamilyNames()");
/*
* ATSFontFamilyIteratorCreate()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFamilyIteratorCreate(
ATSFontContext iContext,
const ATSFontFilter * iFilter, /* can be NULL */
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontFamilyIterator * ioIterator) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontManagerCopyAvailableFontFamilyNames()");
/*
* ATSFontFamilyIteratorRelease()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFamilyIteratorRelease(ATSFontFamilyIterator * ioIterator) ATS_AVAILABLE_BUT_DEPRECATED(10_0, 10_8);
/*
* ATSFontFamilyIteratorReset()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFamilyIteratorReset(
ATSFontContext iContext,
const ATSFontFilter * iFilter, /* can be NULL */
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontFamilyIterator * ioIterator) ATS_AVAILABLE_BUT_DEPRECATED(10_0, 10_8);
/*
* ATSFontFamilyIteratorNext()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFamilyIteratorNext(
ATSFontFamilyIterator iIterator,
ATSFontFamilyRef * oFamily) ATS_AVAILABLE_BUT_DEPRECATED(10_0, 10_8);
/*
* ATSFontFamilyFindFromName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern ATSFontFamilyRef
ATSFontFamilyFindFromName(
CFStringRef iName,
ATSOptionFlags iOptions) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontDescriptorCreateMatchingFontDescriptors() with kCTFontFamilyNameAttribute");
/*
* ATSFontFamilyGetGeneration()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern ATSGeneration
ATSFontFamilyGetGeneration(ATSFontFamilyRef iFamily) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Register for kCTFontManagerRegisteredFontsChangedNotification notifications");
/*
* ATSFontFamilyGetName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFamilyGetName(
ATSFontFamilyRef iFamily,
ATSOptionFlags iOptions,
CFStringRef * oName) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCopyFamilyName()");
#if ATS_LEGACY_API
/*
* ATSFontFamilyGetEncoding()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern TextEncoding
ATSFontFamilyGetEncoding(ATSFontFamilyRef iFamily) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontGetStringEncoding()");
#endif // ATS_LEGACY_API
/* ----------------------------------------------------------------------------------------- */
/* Font */
/* ----------------------------------------------------------------------------------------- */
/*
* ATSFontApplyFunction()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontApplyFunction(
ATSFontApplierFunction iFunction,
void * iRefCon) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCollectionCreateFromAvailableFonts()");
/*
* ATSFontIteratorCreate()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontIteratorCreate(
ATSFontContext iContext,
const ATSFontFilter * iFilter, /* can be NULL */
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontIterator * ioIterator) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCollectionCreateFromAvailableFonts()");
/*
* ATSFontIteratorRelease()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontIteratorRelease(ATSFontIterator * ioIterator) ATS_AVAILABLE_BUT_DEPRECATED(10_0, 10_8);
/*
* ATSFontIteratorReset()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontIteratorReset(
ATSFontContext iContext,
const ATSFontFilter * iFilter, /* can be NULL */
void * iRefCon,
ATSOptionFlags iOptions,
ATSFontIterator * ioIterator) ATS_AVAILABLE_BUT_DEPRECATED(10_0, 10_8);
/*
* ATSFontIteratorNext()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontIteratorNext(
ATSFontIterator iIterator,
ATSFontRef * oFont) ATS_AVAILABLE_BUT_DEPRECATED(10_0, 10_8);
/*
* ATSFontFindFromName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern ATSFontRef
ATSFontFindFromName(
CFStringRef iName,
ATSOptionFlags iOptions) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCreateWithName()");
/*
* ATSFontFindFromPostScriptName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern ATSFontRef
ATSFontFindFromPostScriptName(
CFStringRef iName,
ATSOptionFlags iOptions) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCreateWithName()");
/*
* ATSFontFindFromContainer()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFindFromContainer(
ATSFontContainerRef iContainer,
ATSOptionFlags iOptions,
ItemCount iCount,
ATSFontRef ioArray[],
ItemCount * oCount) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontDescriptorCreateMatchingFontDescriptors() with kCTFontURLAttribute or use CTFontManagerCreateFontDescriptorsFromURL()");
/*
* ATSFontGetGeneration()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern ATSGeneration
ATSFontGetGeneration(ATSFontRef iFont) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Register for kCTFontManagerRegisteredFontsChangedNotification notifications");
/*
* ATSFontGetName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetName(
ATSFontRef iFont,
ATSOptionFlags iOptions,
CFStringRef * oName) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCopyFullName()");
/*
* ATSFontGetPostScriptName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetPostScriptName(
ATSFontRef iFont,
ATSOptionFlags iOptions,
CFStringRef * oName) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCopyPostScriptName()");
/*
* ATSFontGetTableDirectory()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetTableDirectory(
ATSFontRef iFont,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) /* can be NULL */ ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCopyAvailableTables()");
/*
* ATSFontGetTable()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetTable(
ATSFontRef iFont,
FourCharCode iTag,
ByteOffset iOffset,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) /* can be NULL */ ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCopyTable()");
/*
* ATSFontGetHorizontalMetrics()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetHorizontalMetrics(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontMetrics * oMetrics) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontGetXHeight(), CTFontGetAscent(), and friends to find a specific metric.");
/*
* ATSFontGetVerticalMetrics()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetVerticalMetrics(
ATSFontRef iFont,
ATSOptionFlags iOptions,
ATSFontMetrics * oMetrics) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontGetXHeight(), CTFontGetAscent(), and friends to find a specific metric.");
/* ----------------------------------------------------------------------------------------- */
/* Compatibility */
/* ----------------------------------------------------------------------------------------- */
/*
* ATSFontFamilyFindFromQuickDrawName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern ATSFontFamilyRef
ATSFontFamilyFindFromQuickDrawName(ConstStr255Param iName) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCreateWithQuickdrawInstance()");
/*
* ATSFontFamilyGetQuickDrawName()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontFamilyGetQuickDrawName(
ATSFontFamilyRef iFamily,
Str255 oName) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "QuickDraw is deprecated");
#if !__LP64__
/*
* ATSFontGetFileSpecification() *** DEPRECATED ***
*
* Deprecated:
* Use ATSFontGetFileReference instead.
*
* Summary:
* Obtains the file specification for a font.
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Parameters:
*
* iFont:
* A reference to the font whose file specification you want to
* obtain.
*
* oFile:
* On output, points to the file specification that specifies the
* name and location of a file or directory that contains the font
* data specified by the iFont parameter.
*
* Result:
* noErr File specification obtained successfully.
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetFileSpecification(
ATSFontRef iFont,
ATSFSSpec * oFile) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_5, "Use CTFontCopyAttribute() with kCTFontURLAttribute.");
#endif /* !__LP64__ */
#if ATS_LEGACY_API
/*
* ATSFontGetFileReference()
*
* Summary:
* Obtains the file reference for a font.
*
* Mac OS X threading:
* Thread safe since version 10.5
*
* Parameters:
*
* iFont:
* A reference to the font whose file specification you want to
* obtain.
*
* oFile:
* On output, points to the file reference that specifies the name
* and location of a file or directory that contains the font data
* specified by the iFont parameter.
*
* Result:
* noErr File specification obtained successfully.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetFileReference(
ATSFontRef iFont,
FSRef * oFile) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "Use CTFontCopyAttribute() with kCTFontURLAttribute.");
#endif // ATS_LEGACY_API
/*
* ATSFontGetFontFamilyResource()
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontGetFontFamilyResource(
ATSFontRef iFont,
ByteCount iBufferSize,
void * ioBuffer,
ByteCount * oSize) /* can be NULL */ ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_0, 10_8, "QuickDraw is deprecated");
/* ----------------------------------------------------------------------------------------- */
/* Notification */
/* ----------------------------------------------------------------------------------------- */
/*
* ATSFontNotify()
*
* Summary:
* Used to alert ATS that an action which may require notification
* to clients has occurred.
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Parameters:
*
* action:
* Action that should be taken by the ATS Server
*
* info:
* Any required or optional information that may be required by
* the action taken.
*
* Result:
* noErr Action successfully reported paramErr Invalid action passed
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontNotify(
ATSFontNotifyAction action,
void * info) /* can be NULL */ ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_2, 10_8, "Register for kCTFontManagerRegisteredFontsChangedNotification notifications");
/*
* ATSFontNotificationSubscribe()
*
* Summary:
* Ask the ATS System to notify caller when certain events have
* occurred. Note that your application must have a CFRunLoop in
* order to receive notifications. Any Appkit or Carbon event loop
* based application will have one by default.
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Parameters:
*
* callback:
* Function that will be called by the ATS system whenever an
* event of interest takes place.
*
* options:
* Set the wanted ATSFontNotificationOptions to modify the default
* behavior of ATS Notifications.
*
* iRefcon:
* User data/state which will be passed to the callback funtion
*
* oNotificationRef:
* You may use this reference to un-subscribe to this notification.
*
* Result:
* noErr Subscribed successfully paramErr NULL callback was passed.
* memFullErr Could not allocate enough memory for internal data
* structures.
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontNotificationSubscribe(
ATSNotificationCallback callback,
ATSFontNotifyOption options,
void * iRefcon, /* can be NULL */
ATSFontNotificationRef * oNotificationRef) /* can be NULL */ ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_2, 10_8, "Register for kCTFontManagerRegisteredFontsChangedNotification notifications");
/*
* ATSFontNotificationUnsubscribe()
*
* Summary:
* Release subscription and stop receiving notifications for a given
* reference.
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Parameters:
*
* notificationRef:
* Notification reference for which you want to stop receiving
* notifications. Note, if more than one notification has been
* requested of ATS, you will still receive notifications on those
* requests.
*
* Result:
* noErr Unsubscribed successfully paramErr NULL/invalid
* notificationRef passed
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontNotificationUnsubscribe(ATSFontNotificationRef notificationRef) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_2, 10_8, "Unregister for kCTFontManagerRegisteredFontsChangedNotification notifications");
/* ----------------------------------------------------------------------------------------- */
/* Font query message hooks */
/* ----------------------------------------------------------------------------------------- */
/*
* ATSFontQuerySourceContext
*
* Summary:
* A parameter block for client information to be retained by ATS
* and passed back to an ATSFontQueryCallback function.
*/
struct ATSFontQuerySourceContext {
/*
* A 32-bit unsigned integer that indicates the version of this
* structure. This should be set to 0.
*/
UInt32 version;
/*
* A pointer-sized client datum that should be passed back to an
* ATSFontQueryCallback function.
*/
void * refCon;
/*
* The callback used to add a retain to the refCon.
*/
CFAllocatorRetainCallBack retain;
/*
* The callback used to remove a retain to the refCon.
*/
CFAllocatorReleaseCallBack release;
};
typedef struct ATSFontQuerySourceContext ATSFontQuerySourceContext;
/*
* ATSFontQueryMessageID
*
* Discussion:
* Constants for ATS font query message types.
*/
enum ATSFontQueryMessageID {
/*
* The message ID for a font request query. The data for a message
* with this ID is a flattened CFDictionaryRef with keys and values
* as decribed below. A query dictionary may have any or all of these
* entries.
*/
kATSQueryActivateFontMessage = 'atsa'
};
typedef enum ATSFontQueryMessageID ATSFontQueryMessageID;
/*
* ATSFontQueryCallback
*
* Summary:
* Callback for receiving font-related queries from ATS.
*
* Parameters:
*
* msgid:
* An ATSFontQueryMessageID that identifies the message type.
*
* data:
* A CFPropertyListRef that represents the query. The content is
* message type-specific.
*
* refCon:
* A pointer-sized client datum that was optionally provided to
* ATSCreateFontQueryRunLoopSource.
*
* Result:
* A CFPropertyListRef that represents the message type-specific
* response to the query. May be NULL.
*/
typedef CALLBACK_API_C( CFPropertyListRef , ATSFontQueryCallback )(ATSFontQueryMessageID msgid, CFPropertyListRef data, void *refCon);
/*
* ATSCreateFontQueryRunLoopSource()
*
* Summary:
* Creates a CFRunLoopSourceRef that will be used to convey font
* queries from ATS.
*
* Mac OS X threading:
* Thread safe since version Jaguar
*
* Parameters:
*
* queryOrder:
* A CFIndex that specifies the priority of this query receiver
* relative to others. When ATS makes a font query, it will send
* the query to each receiver in priority order, from highest to
* lowest. "Normal" priority is 0.
*
* sourceOrder:
* The order of the created run loop source.
*
* callout:
* A function pointer of type ATSFontQueryCallback that will be
* called to process a font query.
*
* context:
* An ATSFontQuerySourceContext parameter block that provides a
* pointer-sized client datum which will be retained by ATS and
* passed to the callout function. May be NULL.
*
* Result:
* A CFRunLoopSourceRef. To stop receiving queries, invalidate this
* run loop source.
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern CFRunLoopSourceRef
ATSCreateFontQueryRunLoopSource(
CFIndex queryOrder,
CFIndex sourceOrder,
ATSFontQueryCallback callout,
const ATSFontQuerySourceContext * context) /* can be NULL */ ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_2, 10_8, "Use CTFontManagerCreateFontRequestRunLoopSource()");
/* ----------------------------------------------------------------------------------------- */
/* Font request query message content */
/* ----------------------------------------------------------------------------------------- */
/* Keys in a font request query dictionary. */
/* These keys appear in the dictionary for a kATSQueryActivateFontMessage query. */
/*
* kATSQueryClientPID
*
* Discussion:
* The process ID of the application making the query. The
* corresponding value is a CFNumberRef that contains a pid_t.
*/
#define kATSQueryClientPID CFSTR("ATS client pid")
/*
* kATSQueryQDFamilyName
*
* Discussion:
* The Quickdraw-style family name of the font being requested, e.g.
* the name passed to GetFNum. The corresponding value is a
* CFStringRef.
*/
#define kATSQueryQDFamilyName CFSTR("font family name")
/*
* kATSQueryFontName
*
* Discussion:
* The name of the font being requested. The corresponding value is
* a CFStringRef suitable as an argument to ATSFontFindFromName().
* This should match a candidate font's unique or full name.
*/
#define kATSQueryFontName CFSTR("font name")
/*
* kATSQueryFontPostScriptName
*
* Discussion:
* The PostScript name of the font being requested. The
* corresponding value is a CFStringRef suitable as an argument to
* ATSFontFindFromPostScriptName(). This should match either the
* PostScript name derived from the font's FOND resource or its sfnt
* name table, with preference given to the FOND PostScript name.
*/
#define kATSQueryFontPostScriptName CFSTR("font PS name")
/*
* kATSQueryFontNameTableEntries
*
* Discussion:
* A descriptor for sfnt name table entries that the requested font
* must have. The corresponding value is a CFArrayRef of
* CFDictionaryRefs that describe name table entries. A font must
* have all of the specified entries to be considered a match.
*/
#define kATSQueryFontNameTableEntries CFSTR("font name table entries")
/* Keys in a font raw name descriptor dictionary. */
/*
* kATSFontNameTableCode
*
* Discussion:
* The font name's name code. The corresponding value is a
* CFNumberRef. If missing, assume kFontNoNameCode.
*/
#define kATSFontNameTableCode CFSTR("font name code")
/*
* kATSFontNameTablePlatform
*
* Discussion:
* The font name's platform code. The corresponding value is a
* CFNumberRef. If missing, assume kFontNoPlatformCode.
*/
#define kATSFontNameTablePlatform CFSTR("font platform code")
/*
* kATSFontNameTableScript
*
* Discussion:
* The font name's script code. The corresponding value is a
* CFNumberRef. If missing, assume kFontNoScriptCode.
*/
#define kATSFontNameTableScript CFSTR("font script code")
/*
* kATSFontNameTableLanguage
*
* Discussion:
* The font name's language code. The corresponding value is a
* CFNumberRef. If missing, assume kFontNoLanguageCode.
*/
#define kATSFontNameTableLanguage CFSTR("font language code")
/*
* kATSFontNameTableBytes
*
* Discussion:
* The raw bytes of the font name. The corresponding value is a
* CFDataRef that contains the raw name bytes.
*/
#define kATSFontNameTableBytes CFSTR("font name table bytes")
/* ----------------------------------------------------------------------------------------- */
/* Auto activation settings */
/* ----------------------------------------------------------------------------------------- */
/*
* ATSAutoActivationSetting
*
* Summary:
* Values for auto activation settings.
*/
enum {
/*
* Resets the setting the the default state. For application settings
* this clears the setting. For the global setting it will revert to
* the initial system setting, kATSFontAutoActivationEnabled.
*/
kATSFontAutoActivationDefault = 0,
kATSFontAutoActivationDisabled = 1,
kATSFontAutoActivationEnabled = 2,
/*
* Asks the user before auto-activating fonts requested by the
* application.
*/
kATSFontAutoActivationAsk = 4
};
typedef UInt32 ATSFontAutoActivationSetting;
/*
* ATSFontSetGlobalAutoActivationSetting()
*
* Summary:
* Sets the user's global auto-activation setting.
*
* Discussion:
* This function can be used to set the user's global
* auto-activation setting.
*
* Mac OS X threading:
* Thread safe since version Leopard
*
* Parameters:
*
* iSetting:
* One of the enumerated constants above specifying the setting
* for font auto-activation. Will return paramErr on invalid input.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontSetGlobalAutoActivationSetting(ATSFontAutoActivationSetting iSetting) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontManagerSetAutoActivationSetting() with kCTFontManagerBundleIdentifier");
/*
* ATSFontGetGlobalAutoActivationSetting()
*
* Summary:
* Gets the user's global auto-activation setting.
*
* Discussion:
* This function can be used to get the user's global
* auto-activation setting.
*
* Mac OS X threading:
* Thread safe since version Leopard
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern ATSFontAutoActivationSetting
ATSFontGetGlobalAutoActivationSetting(void) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontManagerGetAutoActivationSetting() with kCTFontManagerBundleIdentifier");
/*
* ATSFontSetAutoActivationSettingForApplication()
*
* Summary:
* Sets the auto-activation setting for the specified application
* bundle.
*
* Discussion:
* This function can be used to set the auto-activation setting for
* the specified application. The per-application setting overrides
* the global setting.
*
* Mac OS X threading:
* Thread safe since version Leopard
*
* Parameters:
*
* iSetting:
* One of the enumerated constants above specifying the setting
* for font auto-activation. Specifying
* kATSFontAutoActivationDefault will clear the application
* specific setting and the global setting will be used.
*
* iApplicationFileURL:
* A valid file URL for an application. Passing NULL for this
* parameter indicates the current process.
*
* Result:
* An OSStatus code. Will return noErr on success, and paramErr on
* any invalid input. May return memFullErr if unable to allocate
* temporary structures.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern OSStatus
ATSFontSetAutoActivationSettingForApplication(
ATSFontAutoActivationSetting iSetting,
CFURLRef iApplicationFileURL) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontManagerSetAutoActivationSetting()");
/*
* ATSFontGetAutoActivationSettingForApplication()
*
* Summary:
* Query the activation setting for the specified application.
*
* Discussion:
* This function can be used to query the auto-activation setting
* for the specified application. The setting is the app-specific
* setting if available, otherwise it is
* kATSFontAutoActivationDefault.
*
* Mac OS X threading:
* Thread safe since version Leopard
*
* Parameters:
*
* iApplicationFileURL:
* A valid file URL for an application. Passing NULL for this
* parameter indicates the current process.
*
* Result:
* Returns the setting that will be used for the specified
* application. If this returns kATSFontAutoActivationDefault the
* global setting will be used.
*
* Availability:
* Mac OS X: in version 10.5 and later in ApplicationServices.framework
* CarbonLib: not available
* Non-Carbon CFM: not available
*/
extern ATSFontAutoActivationSetting
ATSFontGetAutoActivationSettingForApplication(CFURLRef iApplicationFileURL) ATS_AVAILABLE_BUT_DEPRECATED_WITH_ADVICE(10_5, 10_8, "Use CTFontManagerGetAutoActivationSetting()");
#if PRAGMA_ENUM_ALWAYSINT
#pragma enumsalwaysint reset
#endif
#pragma pack(pop)
#ifdef __cplusplus
}
#endif
#endif /* __ATSFONT__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/ATSUI.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: F04921AB-73D9-3E0E-973F-83EE84F09C4B
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: 7B9808EE-00FD-3F04-8035-E6F784C95611
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATSUI.framework/Versions/A/ATSUI'
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _ATSApplyMorph, _ATSClearGlyphVector, _ATSGrowGlyphVector,
_ATSInitializeGlyphVector, _ATSUBatchBreakLines, _ATSUBreakLine,
_ATSUClearAttributes, _ATSUClearFontFeatures, _ATSUClearFontVariations,
_ATSUClearLayoutCache, _ATSUClearLayoutControls, _ATSUClearLineControls,
_ATSUClearSoftLineBreaks, _ATSUClearStyle, _ATSUCompareStyles,
_ATSUConvertCharToGlyphs, _ATSUCopyAttributes, _ATSUCopyLayoutControls,
_ATSUCopyLineControls, _ATSUCountFontFeatureSelectors, _ATSUCountFontFeatureTypes,
_ATSUCountFontInstances, _ATSUCountFontNames, _ATSUCountFontVariations,
_ATSUCreateAndCopyStyle, _ATSUCreateAndCopyTextLayout, _ATSUCreateFontFallbacks,
_ATSUCreateStyle, _ATSUCreateTextLayout, _ATSUCreateTextLayoutWithTextPtr,
_ATSUDirectAddStyleSettingRef, _ATSUDirectGetLayoutDataArrayPtrFromLineRef,
_ATSUDirectGetLayoutDataArrayPtrFromTextLayout, _ATSUDirectReleaseLayoutDataArrayPtr,
_ATSUDisposeFontFallbacks, _ATSUDisposeStyle, _ATSUDisposeStyleGroup,
_ATSUDisposeTextLayout, _ATSUDrawText, _ATSUFONDtoFontID,
_ATSUFindFontFromName, _ATSUFindFontName, _ATSUFlattenStyleRunsToStream,
_ATSUFontCount, _ATSUFontIDtoFOND, _ATSUGetAllAttributes,
_ATSUGetAllFontFeatures, _ATSUGetAllFontVariations, _ATSUGetAllLayoutControls,
_ATSUGetAllLineControls, _ATSUGetAttribute, _ATSUGetContinuousAttributes,
_ATSUGetFontFeature, _ATSUGetFontFeatureNameCode, _ATSUGetFontFeatureSelectors,
_ATSUGetFontFeatureTypes, _ATSUGetFontIDs, _ATSUGetFontInstance,
_ATSUGetFontInstanceNameCode, _ATSUGetFontVariationNameCode,
_ATSUGetFontVariationValue, _ATSUGetGlyphBounds, _ATSUGetGlyphInfo,
_ATSUGetIndFontName, _ATSUGetIndFontVariation, _ATSUGetLayoutControl,
_ATSUGetLineControl, _ATSUGetNativeCurveType, _ATSUGetObjFontFallbacks,
_ATSUGetRunStyle, _ATSUGetSoftLineBreaks, _ATSUGetStyleGroup,
_ATSUGetStyleIndex, _ATSUGetStyleRefCon, _ATSUGetTabArray,
_ATSUGetTextLayoutRefCon, _ATSUGetTextLocation, _ATSUGetTransientFontMatching,
_ATSUGetUnjustifiedBounds, _ATSUGlyphGetCubicPaths, _ATSUGlyphGetCurvePaths,
_ATSUGlyphGetIdealMetrics, _ATSUGlyphGetQuadraticPaths, _ATSUGlyphGetScreenMetrics,
_ATSUHighlightInactiveText, _ATSUHighlightText, _ATSULeftwardCursorPosition,
_ATSULineBreakEngine, _ATSUMatchFontsToText, _ATSUMeasureTextImage,
_ATSUNextCursorPosition, _ATSUOffsetToCursorPosition, _ATSUOffsetToPosition,
_ATSUOverwriteAttributes, _ATSUPositionToCursorOffset, _ATSUPositionToOffset,
_ATSUPreviousCursorPosition, _ATSURightwardCursorPosition,
_ATSUSetAttributes, _ATSUSetFontFeatures, _ATSUSetHighlightingMethod,
_ATSUSetLayoutControls, _ATSUSetLineControls, _ATSUSetObjFontFallbacks,
_ATSUSetRunStyle, _ATSUSetSoftLineBreak, _ATSUSetStyleRefCon,
_ATSUSetTabArray, _ATSUSetTextLayoutRefCon, _ATSUSetTextPointerLocation,
_ATSUSetTransientFontMatching, _ATSUSetVariations, _ATSUStyleIsEmpty,
_ATSUTextDeleted, _ATSUTextInserted, _ATSUTextMoved, _ATSUUnderwriteAttributes,
_ATSUUnflattenStyleRunsFromStream, _ATSUUnhighlightText, _DisposeATSCubicClosePathUPP,
_DisposeATSCubicCurveToUPP, _DisposeATSCubicLineToUPP, _DisposeATSCubicMoveToUPP,
_DisposeATSQuadraticClosePathUPP, _DisposeATSQuadraticCurveUPP,
_DisposeATSQuadraticLineUPP, _DisposeATSQuadraticNewPathUPP,
_DisposeRedrawBackgroundUPP, _InvokeATSCubicClosePathUPP,
_InvokeATSCubicCurveToUPP, _InvokeATSCubicLineToUPP, _InvokeATSCubicMoveToUPP,
_InvokeATSQuadraticClosePathUPP, _InvokeATSQuadraticCurveUPP,
_InvokeATSQuadraticLineUPP, _InvokeATSQuadraticNewPathUPP,
_InvokeRedrawBackgroundUPP, _NewATSCubicClosePathUPP, _NewATSCubicCurveToUPP,
_NewATSCubicLineToUPP, _NewATSCubicMoveToUPP, _NewATSQuadraticClosePathUPP,
_NewATSQuadraticCurveUPP, _NewATSQuadraticLineUPP, _NewATSQuadraticNewPathUPP,
_NewRedrawBackgroundUPP ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSUnicodeGlyphs.h | /*
File: QD/ATSUnicodeGlyphs.h
Contains: ATSUI glyph handling functions.
Version: Quickdraw-291~1
Copyright: � 2003-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEGLYPHS__
#define __ATSUNICODEGLYPHS__
#ifndef __ATSUNICODETYPES__
#include <ATSUI/ATSUnicodeTypes.h>
#endif
/* ---------------------------------------------------------------------------- */
/* ATSUI glyph metrics */
/* ---------------------------------------------------------------------------- */
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* ATSQuadraticNewPathProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to start a new drawing path.
*
* Parameters:
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetQuadraticPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetQuadraticPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSQuadraticNewPathProcPtr )(void * callBackDataPtr);
typedef STACK_UPP_TYPE(ATSQuadraticNewPathProcPtr) ATSQuadraticNewPathUPP;
/*
* ATSQuadraticLineProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to draw straight lines.
*
* Parameters:
*
* pt1:
* The starting point of the line.
*
* pt2:
* The end point of the line.
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetQuadraticPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetQuadraticPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSQuadraticLineProcPtr )(const Float32Point *pt1, const Float32Point *pt2, void *callBackDataPtr);
typedef STACK_UPP_TYPE(ATSQuadraticLineProcPtr) ATSQuadraticLineUPP;
/*
* ATSQuadraticCurveProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to draw curves. The curve is a quadratic patch specified by a
* start point (pt1), and end point (pt2), and a single control
* point (controlPt).
*
* Parameters:
*
* pt1:
* The starting point of the curve.
*
* controlPt:
* The off-curve control point.
*
* pt2:
* The end point of the curve.
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetQuadraticPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetQuadraticPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSQuadraticCurveProcPtr )(const Float32Point *pt1, const Float32Point *controlPt, const Float32Point *pt2, void *callBackDataPtr);
typedef STACK_UPP_TYPE(ATSQuadraticCurveProcPtr) ATSQuadraticCurveUPP;
/*
* ATSQuadraticClosePathProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to close the current drawing path.
*
* Parameters:
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetQuadraticPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetQuadraticPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSQuadraticClosePathProcPtr )(void * callBackDataPtr);
typedef STACK_UPP_TYPE(ATSQuadraticClosePathProcPtr) ATSQuadraticClosePathUPP;
/*
* ATSCubicMoveToProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to move the current pen location.
*
* Parameters:
*
* pt:
* The point to which to move the current pen location.
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetCubicPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetCubicPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSCubicMoveToProcPtr )(const Float32Point *pt, void *callBackDataPtr);
typedef STACK_UPP_TYPE(ATSCubicMoveToProcPtr) ATSCubicMoveToUPP;
/*
* ATSCubicLineToProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to draw straight lines.
*
* Parameters:
*
* pt:
* The end point of the line to be drawn. The starting point is
* whatever the current pen position is.
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetCubicPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetCubicPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSCubicLineToProcPtr )(const Float32Point *pt, void *callBackDataPtr);
typedef STACK_UPP_TYPE(ATSCubicLineToProcPtr) ATSCubicLineToUPP;
/*
* ATSCubicCurveToProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to draw a curve. The curve is a Bezier patch defined by two
* off-curve control points (pt1 and pt2), and an endpoint (pt3).
* The starting point is whatever the current pen position is.
*
* Parameters:
*
* pt1:
* The first off-curve control point.
*
* pt2:
* The second off-curve control point.
*
* pt3:
* The end point of the curve.
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetCubicPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetCubicPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSCubicCurveToProcPtr )(const Float32Point *pt1, const Float32Point *pt2, const Float32Point *pt3, void *callBackDataPtr);
typedef STACK_UPP_TYPE(ATSCubicCurveToProcPtr) ATSCubicCurveToUPP;
/*
* ATSCubicClosePathProcPtr
*
* Discussion:
* A pointer to a client supplied callback function for handling
* glyph curve drawing operations. This callback handles operations
* to close the current drawing path.
*
* Parameters:
*
* callBackDataPtr:
* A pointer to any application specific data that may have been
* passed to the callbacks through the iCallbackDataPtr parameter
* of the ATSUGlyphGetCubicPaths function.
*
* Result:
* Return status. Pass any errors you wish to propagate back to the
* original caller of ATSUGlyphGetCubicPaths through this return
* value. Note that any nonzero result from this callback will halt
* the curve drawing process.
*/
typedef CALLBACK_API( OSStatus , ATSCubicClosePathProcPtr )(void * callBackDataPtr);
typedef STACK_UPP_TYPE(ATSCubicClosePathProcPtr) ATSCubicClosePathUPP;
#ifdef __cplusplus
}
#endif
#endif /* __ATSUNICODEGLYPHS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSUnicodeObjects.h | /*
File: QD/ATSUnicodeObjects.h
Contains: ATSUI object manipulation functions.
Version: Quickdraw-291~1
Copyright: � 2003-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEOBJECTS__
#define __ATSUNICODEOBJECTS__
#ifndef __ATSUNICODETYPES__
#include <ATSUI/ATSUnicodeTypes.h>
#endif
#endif /* __ATSUNICODEOBJECTS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSUnicodeTypes.h | /*
File: QD/ATSUnicodeTypes.h
Contains: ATSUI types and constants.
Version: Quickdraw-291~1
Copyright: � 2003-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODETYPES__
#define __ATSUNICODETYPES__
#ifndef __ATSLAYOUTTYPES__
#include <ATS/ATSLayoutTypes.h>
#endif
// The #include of Quickdraw.h is not needed to compile the ATSUI framework
// Removing it might break those that were relying on an implicit #include
#ifndef __QUICKDRAW__
#include <QD/Quickdraw.h>
#endif
#ifndef __SFNTTYPES__
#include <ATS/SFNTTypes.h>
#endif
#ifndef __SFNTLAYOUTTYPES__
#include <ATS/SFNTLayoutTypes.h>
#endif
#ifndef __ATSTYPES__
#include <ATS/ATSTypes.h>
#endif
/* See also ATSLayoutTypes.h for more ATSUI-related types and constants */
/* ---------------------------------------------------------------------------- */
/* ATSUI types and related constants */
/* ---------------------------------------------------------------------------- */
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push, 2)
/*
* ATSUTextLayout
*
* Discussion:
* Text layout objects are the heart of ATSUI. These opaque objects
* associate Unicode text with style runs, store information about
* softbreaks, line and layout controls, and other information about
* the text. Text drawing is done by passing a valid layout object
* and a range of text to draw to the function ATSUDrawText, after
* initial setup work on the layout has been done. See the
* definitions of the functions ATSUCreateTextLayout and
* ATSUCreateTextLayoutWithTextPtr for more information about
* creating layouts.
*/
typedef struct OpaqueATSUTextLayout* ATSUTextLayout;
/*
* ATSUStyle
*
* Discussion:
* Style objects retain information about text such as font, point
* size, color and other attributes. Styles are associated with text
* through a layout object. See the definitions of the functions
* ATSUSetRunStyle and ATSUCreateTextLayoutWithTextPtr for more
* information about assigning styles to runs of text in a layout
* object. See the definitions of the functions ATSUCreateStyle and
* ATSUSetAttributes for more information on creating and
* manipulating styles.
*/
typedef struct OpaqueATSUStyle* ATSUStyle;
/*
* ATSUFontFallbacks
*
* Discussion:
* ATSUFontFallbacks objects are used to store the desired font
* fallback mode, list, and associated cache information. See the
* definitions of ATSUFontFallbackMethod and ATSUSetObjFontFallbacks
* for more information about setting up font fallbacks.
*/
typedef struct OpaqueATSUFontFallbacks* ATSUFontFallbacks;
/*
* ATSUTextMeasurement
*
* Discussion:
* ATSUTextMeasurement is specific to ATSUI in that measurement
* quantities are in fractional Fixed format instead of shorts used
* in QuickDraw Text. This provides exact outline metrics and line
* specifications such as line width, ascent, descent, and so on.
* See FixMath.h for conversion functions for Fixed numbers.
*/
typedef Fixed ATSUTextMeasurement;
/*
* ATSUFontID
*
* Discussion:
* ATSUFontID indicates a particular font family and face.
* ATSUFontID's are not guaranteed to remain constant across
* sessions. Clients should use the font's unique name to get a font
* token to store in documents which is guaranteed to remain
* constant across sessions.
*/
typedef FMFont ATSUFontID;
/*
* ATSUFontFeatureType
*
* Discussion:
* Used to identify a font feature type for a particular font. See
* the definitions of the functions ATSUGetAllFontFeatures and
* ATSUGetFontFeature for more information about font features.
*/
typedef UInt16 ATSUFontFeatureType;
/*
* ATSUFontFeatureSelector
*
* Discussion:
* Used to identify a font feature selector for a particular font.
* See the definitions of the functions ATSUGetAllFontFeatures and
* ATSUGetFontFeature for more information about font features.
*/
typedef UInt16 ATSUFontFeatureSelector;
/*
* ATSUFontVariationAxis
*
* Discussion:
* Used to identify a font variation axis for a particular font. See
* the definitions of the functions ATSUGetAllFontVariations and
* ATSUGetFontVariation for more information about font variations.
*/
typedef FourCharCode ATSUFontVariationAxis;
/*
* ATSUFontVariationValue
*
* Discussion:
* Used to identify a font variation value for a particular font.
* See the definitions of the functions ATSUGetAllFontVariations and
* ATSUGetFontVariation for more information about font variations.
*/
typedef Fixed ATSUFontVariationValue;
/*
* ATSUAttributeTag
*
* Summary:
* Constants used for style attributes, line controls, and layout
* controls.
*
* Discussion:
* The following constants are used to change settings in text
* layout and style objects. Use the functions ATSUSetLineControls,
* ATSUSetLayoutControls, and ATSUSetAttributes to set these values
* in lines, layouts, and styles, respectively. Apple reserves tag
* values 0 to 65535 (0 to 0x0000FFFF). ATSUI clients may create
* their own tags with any other value.
*/
typedef UInt32 ATSUAttributeTag;
enum {
/*
* (Type: ATSUTextMeasurement) (Default value: 0) Must not be less
* than zero. May be set as a line or layout control.
*/
kATSULineWidthTag = 1,
/*
* (Type: Fixed) (Default value: 0) Angle is specified in degrees in
* right-handed coordinate system. May be set as a line control.
*/
kATSULineRotationTag = 2,
/*
* (Type: Boolean) (Default value: GetSysDirection()) Must be 0 or 1.
* See below for convenience constants. May be set as a layout
* control.
*/
kATSULineDirectionTag = 3,
/*
* (Type: Fract) (Default value: kATSUNoJustification) May be set as
* a line or layout control.
*/
kATSULineJustificationFactorTag = 4,
/*
* (Type: Fract) (Default value: kATSUStartAlignment) May be set as a
* line or layout control.
*/
kATSULineFlushFactorTag = 5,
/*
* (Type: BslnBaselineRecord) (Default value: all zeros) Calculated
* from other style attributes (e.g., font and point size). May be
* set as a line or layout control.
*/
kATSULineBaselineValuesTag = 6,
/*
* (Type: ATSLineLayoutOptions) (Default value: all zeros) See
* ATSLayoutTypes.h for a definition of the ATSLineLayoutOptions type
* and a list of possible values. May be set as a line or layout
* control.
*/
kATSULineLayoutOptionsTag = 7,
/*
* (Type: ATSUTextMeasurement) (Default value: determined by font(s))
* Must not be less than zero. Starting in Mac OS X 10.2, you can
* retrieve this value as a line or layout control, even if you have
* not explicitly set it. This makes it easy to calculate line
* height. May be set as a line or layout control.
*/
kATSULineAscentTag = 8,
/*
* (Type: ATSUTextMeasurement) (Default value: determined by font(s))
* Must not be less than zero. Starting in Mac OS X, you can retrieve
* this value as a line or layout control, even if you have not
* explicitly set it. This makes it easy to calculate line height.
* May be set as a line or layout control.
*/
kATSULineDescentTag = 9,
/*
* (Type: RegionCode) (Default value: kTextRegionDontCare) See
* Script.h for possible values. May be set as a line or layout
* control.
*/
kATSULineLangRegionTag = 10,
/*
* (Type: TextBreakLocatorRef) (Default value: NULL) See
* UnicodeUtilities.h for more information on creating a
* TextBreakLocator. May be set as a line or layout control.
*/
kATSULineTextLocatorTag = 11,
/*
* (Type: ATSULineTruncation) (Default value: kATSUTruncateNone) See
* the definition of ATSULineTruncation for possible values. May be
* set as a line or layout control.
*/
kATSULineTruncationTag = 12,
/*
* (Type: ATSUFontFallbacks) (Default value: current global fallback
* state) The current global fallback state is determined using the
* ATSUSetFontFallbacks function. The use of this function is not
* recommended. Instead, use the functions ATSUCreateFontFallbacks
* and ATSUSetObjFontFallbacks to create a ATSUFontFallbacks object,
* and then use the kATSULineFontFallbacksTag attribute to set the
* font fallbacks object as a layout control. See the definition of
* ATSUFontFallbacks for more information. May be set as a layout
* control.
*/
kATSULineFontFallbacksTag = 13,
/*
* (Type: CFStringRef) (Default value: user setting in System
* Preferences) Indicates current setting for the decimal separator.
* This affects the behavior of decimal tabs. May be set as a line or
* layout control.
*/
kATSULineDecimalTabCharacterTag = 14,
/*
* (Type: ATSULayoutOperationOverrideSpecifier) (Default value: NULL)
* See ATSLayoutTypes.h for a definition of the
* ATSULayoutOperationOverrideSpecifier structure. May be set as a
* layout control.
*/
kATSULayoutOperationOverrideTag = 15,
/*
* (Type: CGColorRef) (Default value: user setting in System
* Preferences) Indicates current setting for the highlight color.
* May be set as a line or layout control.
*/
kATSULineHighlightCGColorTag = 17,
/*
* This is just for convenience. It is the upper limit of the line
* and layout tags.
*/
kATSUMaxLineTag = 18,
/*
* This tag is obsolete. Please use kATSULineLangRegionTag instead.
*/
kATSULineLanguageTag = 10,
/*
* (Type: CGContextRef) (Default value: NULL) Use this tag to produce
* Quartz rendering with ATSUI. See the definitions of the functions
* QDBeginCGContext and QDEndCGContext in Quickdraw.h for more
* information about creating a CGContext from a graphics port. May
* be set as a layout control.
*/
kATSUCGContextTag = 32767,
/*
* (Type: Boolean) (Default value: false) For compatability purposes
* only. Choosing typographic styles from font families is preferred.
* Note this tag will produce a synthetic style for fonts that do not
* have a typographic style. May be set as a style attribute.
*/
kATSUQDBoldfaceTag = 256,
/*
* (Type: Boolean) (Default value: false) For compatability purposes
* only. Choosing typographic styles from font families is preferred.
* Note this tag will produce a synthetic style for fonts that do not
* have a typographic style. May be set as a style attribute.
*/
kATSUQDItalicTag = 257,
/*
* (Type: Boolean) (Default value: false) For compatability purposes
* only. May be set as a style attribute.
*/
kATSUQDUnderlineTag = 258,
/*
* (Type: Boolean) (Default value: false) For compatability purposes
* only. May be set as a style attribute.
*/
kATSUQDCondensedTag = 259,
/*
* (Type: Boolean) (Default value: false) For compatability purposes
* only. May be set as a style attribute.
*/
kATSUQDExtendedTag = 260,
/*
* (Type: ATSUFontID) (Default value: LMGetApFontID() or if not
* valid, LMGetSysFontFam()) May be set as a style attribute.
*/
kATSUFontTag = 261,
/*
* (Type: Fixed) (Default value: Long2Fix(LMGetSysFontSize())) May be
* set as a style attribute.
*/
kATSUSizeTag = 262,
/*
* (Type: RGBColor) (Default value: (0, 0, 0)) May be set as a style
* attribute.
*/
kATSUColorTag = 263,
/*
* (Type: RegionCode) (Default value:
* GetScriptManagerVariable(smRegionCode)) See Script.h for a list of
* possible values. May be set as a style attribute.
*/
kATSULangRegionTag = 264,
/*
* (Type: ATSUVerticalCharacterType) (Default value:
* kATSUStronglyHorizontal) See the definition of
* ATSUVerticalCharacterType for a list of possible values. May be
* set as a style attribute.
*/
kATSUVerticalCharacterTag = 265,
/*
* (Type: ATSUTextMeasurement) (Default value: kATSUseGlyphAdvance)
* Must not be less than zero. May be set as a style attribute.
*/
kATSUImposeWidthTag = 266,
/*
* (Type: Fixed) (Default value: 0) May be set as a style attribute.
*/
kATSUBeforeWithStreamShiftTag = 267,
/*
* (Type: Fixed) (Default value: 0) May be set as a style attribute.
*/
kATSUAfterWithStreamShiftTag = 268,
/*
* (Type: Fixed) (Default value: 0) May be set as a style attribute.
*/
kATSUCrossStreamShiftTag = 269,
/*
* (Type: Fixed) (Default value: kATSNoTracking) May be set as a
* style attribute.
*/
kATSUTrackingTag = 270,
/*
* (Type: Fract) (Default value: 0) May be set as a style attribute.
*/
kATSUHangingInhibitFactorTag = 271,
/*
* (Type: Fract) (Default value: 0) May be set as a style attribute.
*/
kATSUKerningInhibitFactorTag = 272,
/*
* (Type: Fixed) (Default value: 0) Must be between -1.0 and 1.0. May
* be set as a style attribute.
*/
kATSUDecompositionFactorTag = 273,
/*
* (Type: BslnBaselineClass) (Default value: kBSLNRomanBaseline) See
* SFNTLayoutTypes.h for more information. Use the constant
* kBSLNNoBaselineOverride to use intrinsic baselines. May be set as
* a style attribute.
*/
kATSUBaselineClassTag = 274,
/*
* (Type: ATSJustPriorityWidthDeltaOverrides) (Default value: all
* zeros) See ATSLayoutTypes.h for more information. May be set as a
* style attribute.
*/
kATSUPriorityJustOverrideTag = 275,
/*
* (Type: Boolean) (Default value: false) When set to true, ligatures
* and compound characters will not have divisable components. May be
* set as a style attribute.
*/
kATSUNoLigatureSplitTag = 276,
/*
* (Type: Boolean) (Default value: false) When set to true, ATSUI
* will not use a glyph's angularity to determine its boundaries. May
* be set as a style attribute.
*/
kATSUNoCaretAngleTag = 277,
/*
* (Type: Boolean) (Default value: false) When set to true, ATSUI
* will suppress automatic cross kerning (defined by font). May be
* set as a style attribute.
*/
kATSUSuppressCrossKerningTag = 278,
/*
* (Type: Boolean) (Default value: false) When set to true, ATSUI
* will suppress glyphs' automatic optical positional alignment. May
* be set as a style attribute.
*/
kATSUNoOpticalAlignmentTag = 279,
/*
* (Type: Boolean) (Default value: false) When set to true, ATSUI
* will force glyphs to hang beyond the line boundaries. May be set
* as a style attribute.
*/
kATSUForceHangingTag = 280,
/*
* (Type: Boolean) (Default value: false) When set to true, ATSUI
* will not perform post-compensation justification if needed. May be
* set as a style attribute.
*/
kATSUNoSpecialJustificationTag = 281,
/*
* (Type: TextBreakLocatorRef) (Default value: NULL) See
* UnicodeUtilities.h for more information about creating a
* TextBreakLocator. May be set as a style attribute.
*/
kATSUStyleTextLocatorTag = 282,
/*
* (Type: ATSStyleRenderingOptions) (Default value:
* kATSStyleNoOptions) See ATSLayoutTypes.h for a definition of
* ATSStyleRenderingOptions and a list of possible values. May be set
* as a style attribute.
*/
kATSUStyleRenderingOptionsTag = 283,
/*
* (Type: ATSUTextMeasurement) (Default value: determined by font)
* Must not be less than zero. Starting in Mac OS X 10.2, you can
* retrieve a value for this attribute, even if you have not
* explicitly set it. This can make calculating line height easier.
* May be set as a style attribute.
*/
kATSUAscentTag = 284,
/*
* (Type: ATSUTextMeasurement) (Default value: determined by font)
* Must not be less than zero. Starting in Mac OS X 10.2, you can
* retrieve a value for this attribute, even if you have not
* explicitly set it. This can make calculating line height easier.
* May be set as a style attribute.
*/
kATSUDescentTag = 285,
/*
* (Type: ATSUTextMeasurement) (Default value: determined by font)
* Must not be less than zero. Starting in Mac OS X 10.2, you can
* retrieve a value for this attribute, even if you have not
* explicitly set it. This can make calculating line height easier.
* May be set as a style attribute.
*/
kATSULeadingTag = 286,
/*
* (Type: ATSUGlyphSelector) (Default value: 0) See the definition of
* ATSUGlyphSelector for more information and a list of possible
* values. May be set as a style attribute.
*/
kATSUGlyphSelectorTag = 287,
/*
* (Type: ATSURGBAlphaColor) (Default value: (0, 0, 0, 1)) See the
* definition of ATSURGBAlphaColor for more information. May be set
* as a style attribute.
*/
kATSURGBAlphaColorTag = 288,
/*
* (Type: CGAffineTransform) (Default value:
* CGAffineTransformIdentity) See the definition of CGAffineTransform
* in CGAffineTransform.h for more information. May be set as a style
* attribute.
*/
kATSUFontMatrixTag = 289,
/*
* (Type: ATSUStyleLineCountType) (Default value:
* kATSUStyleSingleLineCount) Used to specify the number of strokes
* to be drawn for an underline. May be set as a style attribute.
*/
kATSUStyleUnderlineCountOptionTag = 290,
/*
* (Type: CGColorRef) (Default value: NULL) Used to specify the color
* of the strokes to draw for an underlined run of text. If NULL, the
* text color is used. May be set as a style attribute.
*/
kATSUStyleUnderlineColorOptionTag = 291,
/*
* (Type: Boolean) (Default value: false) Used to specify
* strikethrough style. May be set as a style attribute.
*/
kATSUStyleStrikeThroughTag = 292,
/*
* (Type: ATSUStyleLineCountType) (Default value:
* kATSUStyleSingleLineCount) Used to specify the number of strokes
* to be drawn for a strikethrough. May be set as a style attribute.
*/
kATSUStyleStrikeThroughCountOptionTag = 293,
/*
* (Type: CGColorRef) (Default value: NULL) Used to specify the color
* of the strokes to draw for a strikethrough style. If NULL, the
* text color is used. May be set as a style attribute.
*/
kATSUStyleStrikeThroughColorOptionTag = 294,
/*
* (Type: Boolean) (Default value: false) Used to specify if text
* should be drawn with a drop shadow. Only takes effect if a
* CGContext is used for drawing. May be set as a style attribute.
*/
kATSUStyleDropShadowTag = 295,
/*
* (Type: float) (Default value: 0.0) Used to specify the amount of
* blur for a dropshadow. May be set as a style attribute.
*/
kATSUStyleDropShadowBlurOptionTag = 296,
/*
* (Type: CGSize) (Default value: (3.0, -3.0)) Used to specify the
* amount of offset from the text to be used when drawing a
* dropshadow. May be set as a style attribute.
*/
kATSUStyleDropShadowOffsetOptionTag = 297,
/*
* (Type: CGColorRef) (Default value: NULL) Used to specify the color
* of the dropshadow. May be set as a style attribute.
*/
kATSUStyleDropShadowColorOptionTag = 298,
/*
* This is just for convenience. It is the upper limit of the style
* tags.
*/
kATSUMaxStyleTag = 299,
/*
* This tag is obsolete. Please use kATSULangRegionTag instead. This
* is the maximum Apple ATSUI reserved tag value. Client defined
* tags must be larger.
*/
kATSULanguageTag = 264,
kATSUMaxATSUITagValue = 65535
};
/*
* ATSUAttributeValuePtr
*
* Summary:
* Used to provide generic access for storage of attribute values,
* which vary in size.
*/
typedef void * ATSUAttributeValuePtr;
typedef const void * ConstATSUAttributeValuePtr;
/*
* ATSUAttributeInfo
*
* Discussion:
* ATSUAttributeInfo is used to provide a tag/size pairing. This
* makes it possible to provide the client information about all the
* attributes for a given range of text. This structure is only
* used to return to the client information about a complete set of
* attributes. An array of ATSUAttributeInfos is passed as a
* parameter so that the client can find out what attributes are set
* and what their individual sizes are; with that information, they
* can then query about the values of the attributes they're
* interested in. Because arrays of ATSUAttributeInfos are used as
* parameters to functions, they have to be of a fixed size, hence
* the value is not included in the structure.
*/
struct ATSUAttributeInfo {
ATSUAttributeTag fTag;
ByteCount fValueSize;
};
typedef struct ATSUAttributeInfo ATSUAttributeInfo;
/*
* ATSUCaret
*
* Discussion:
* Contains the complete information needed to render a caret. fX
* and fY is the position of one of the caret's ends relative to the
* origin position of the line the caret belongs. fDeltaX and
* fDeltaY is the position of the caret's other end. Hence, to draw
* a caret, simply call MoveTo(fX, fY) followed by LineTo(fDeltaX,
* fDeltaY) or equivalent. The ATSUCaret will contain the positions
* needed to draw carets on angled lines and reflect angled carets
* and leading/trailing split caret appearances.
*/
struct ATSUCaret {
Fixed fX;
Fixed fY;
Fixed fDeltaX;
Fixed fDeltaY;
};
typedef struct ATSUCaret ATSUCaret;
/*
* ATSUCursorMovementType
*
* Discussion:
* Used to indicate how much to move the cursor when using the ATSUI
* cusor movement routines. Note that kATSUByCharacterCluster is
* only available in Mac OS X and in CarbonLib versions 1.3 and
* later.
*/
typedef UInt16 ATSUCursorMovementType;
enum {
/*
* Cursor movement based on individual characters. The cursor will
* step through individual characters within ligatures.
*/
kATSUByCharacter = 0,
/*
* Like kATSUByCharacter, but the cursor will treat ligatures as
* single entities.
*/
kATSUByTypographicCluster = 1,
/*
* Cursor movement by whole words.
*/
kATSUByWord = 2,
/*
* Cursor movement by clusters based on characters only.
*/
kATSUByCharacterCluster = 3,
/*
* Obsolete name for kATSUByTypographicCluster; do not use.
*/
kATSUByCluster = 1
};
/*
* ATSULineTruncation
*
* Summary:
* Constants used with the kATSULineTruncationTag layout and line
* control.
*
* Discussion:
* The constants kATSUTruncateNone, kATSUTruncateStart,
* kATSUTruncateEnd, and kATSUTruncateMiddle represent different
* places in the text where glyphs should be replaced with an
* elipsis should the text not fit within the width set by the
* kATSULineWidthTag line and layout control. The constant
* kATSUTruncFeatNoSquishing is special and can be bitwise OR'd with
* any of the other constants. It indicates that ATSUI should not
* perform negative justification to make the text fit. This can be
* desirable for situations such as live resize, to prevent the text
* from "wiggling".
*/
typedef UInt32 ATSULineTruncation;
enum {
kATSUTruncateNone = 0,
kATSUTruncateStart = 1,
kATSUTruncateEnd = 2,
kATSUTruncateMiddle = 3,
kATSUTruncateSpecificationMask = 0x00000007,
kATSUTruncFeatNoSquishing = 0x00000008
};
/*
* ATSUStyleLineCountType
*
* Discussion:
* ATSUStyleLineCountType is used to designate how many lines will
* be drawn for a given style type. Currently only the underline
* and strikethrough styles support this type.
*/
typedef UInt16 ATSUStyleLineCountType;
enum {
kATSUStyleSingleLineCount = 1,
kATSUStyleDoubleLineCount = 2
};
/*
* ATSUVerticalCharacterType
*
* Discussion:
* Use these constants along with the kATSUVerticalCharacterTag
* layout control to determine whether the vertical or horizontal
* forms of glyphs should be used. Note that this is independent of
* line rotation.
*/
typedef UInt16 ATSUVerticalCharacterType;
enum {
kATSUStronglyHorizontal = 0,
kATSUStronglyVertical = 1
};
/*
* ATSUStyleComparison
*
* Discussion:
* ATSUStyleComparison is an enumeration with four values, and is
* used by ATSUCompareStyles() to indicate if the first style
* parameter contains as a proper subset, is equal to, or is
* contained by the second style parameter.
*/
typedef UInt16 ATSUStyleComparison;
enum {
kATSUStyleUnequal = 0,
kATSUStyleContains = 1,
kATSUStyleEquals = 2,
kATSUStyleContainedBy = 3
};
/*
* ATSUFontFallbackMethod
*
* Discussion:
* ATSUFontFallbackMethod type defines the method by which ATSUI
* will try to find an appropriate font for a character if the
* assigned font does not contain the needed glyph(s) to represent
* it. This affects ATSUMatchFontsToText and font selection during
* layout and drawing when ATSUSetTransientFontMatching is set ON.
*/
typedef UInt16 ATSUFontFallbackMethod;
enum {
/*
* When this constant is specified, all fonts on the system are
* searched for substitute glyphs.
*/
kATSUDefaultFontFallbacks = 0,
/*
* This constant specifies that only the special last resort font be
* used for substitute glyphs.
*/
kATSULastResortOnlyFallback = 1,
/*
* This constant specifies that a font list you provide should be
* sequentially searched for substitute glyphs before the ATSUI
* searches through all available fonts on the system. You specify
* this list through the iFonts parameter to the
* ATSUSetObjFontFallbacks function.
*/
kATSUSequentialFallbacksPreferred = 2,
/*
* This constants specifies that only the font list you provide
* should be sequentially searched for substitute glyphs. All other
* fonts on the system are ignored, except for the special last
* resort font. You specify the list of fonts you want ATSUI to use
* by passing it to the iFonts parameter of the
* ATSUSetObjFontFallbacks function.
*/
kATSUSequentialFallbacksExclusive = 3
};
/*
* ATSUTabType
*
* Discussion:
* ATSUTabType type defines the characteristic of ATSUI tabs. A Left
* tab type specifies that the left side of affected text is to be
* maintained flush against the tab stop. A Right tab type
* specifies that the right side of affected text is to be
* maintained flush against the tab stop. A Center tab type
* specifies that the affected text centered about the tab stop. A
* Decimal tab type specifies that the affected text will be aligned
* such that the decimal character will by flush against the tab
* stop. The default decimal character is defined in System
* Preferences. A different decimal character can be defined by
* using the ATSUAttributeTag kATSULineDecimalTabCharacterTag.
*/
typedef UInt16 ATSUTabType;
enum {
kATSULeftTab = 0,
kATSUCenterTab = 1,
kATSURightTab = 2,
kATSUDecimalTab = 3,
kATSUNumberTabTypes = 4
};
/*
* ATSUTab
*
* Discussion:
* ATSUTab specifies the position and type of tab stop to be applied
* to a ATSUTextLayout set through the ATSUI routine ATSUSetTabArray
* and returned through ATSUGetTabArray.
*/
struct ATSUTab {
ATSUTextMeasurement tabPosition;
ATSUTabType tabType;
};
typedef struct ATSUTab ATSUTab;
/*
* ATSURGBAlphaColor
*
* Discussion:
* Use this structure with the kATSURGBAlphaColorTag attribute to
* specify color for your text in an ATSUStyle. All values range
* from 0.0 to 1.0.
*/
struct ATSURGBAlphaColor {
float red;
float green;
float blue;
float alpha;
};
typedef struct ATSURGBAlphaColor ATSURGBAlphaColor;
/*
* GlyphCollection
*
* Discussion:
* GlyphCollection types represent the specific character
* collection. If the value is zero, kGlyphCollectionGID, then this
* indicates that the glyph value represents the actual glyphID of a
* specific font. Adobe collections are based on CID, rather than
* glyph ID.
*/
typedef UInt16 GlyphCollection;
enum {
kGlyphCollectionGID = 0,
kGlyphCollectionAdobeCNS1 = 1,
kGlyphCollectionAdobeGB1 = 2,
kGlyphCollectionAdobeJapan1 = 3,
kGlyphCollectionAdobeJapan2 = 4,
kGlyphCollectionAdobeKorea1 = 5,
kGlyphCollectionUnspecified = 0xFF
};
/*
* ATSUGlyphSelector
*
* Discussion:
* ATSUGlyphSelector can direct ATSUI to use a specific glyph
* instead of the one that ATSUI normally derives. The glyph can be
* specified either as a glyphID (specific to the font used) or CID
* from a specfic collection defined by the collection entry.
*/
struct ATSUGlyphSelector {
/*
* A glyph collection constant. See the definition of GlyphCollection
* for possible values for this field.
*/
GlyphCollection collection;
/*
* The glyph ID of the glyph (when collection is
* kGlyphCollectionGID). For Adobe glyph collections, this value
* represents a CID
*/
GlyphID glyphID;
};
typedef struct ATSUGlyphSelector ATSUGlyphSelector;
/*
* ATSUGlyphInfo
*
* Summary:
* Structure returned by ATSUGetGlyphInfo
*
* Discussion:
* ATSUGetGlyphInfo will return an array of these structs, one for
* each glyph in the specified range. You can then make changes to
* the data before drawing it with ATSUDrawGlyphInfo. These
* functions are no longer recommended; see ATSUnicodeDirectAccess.h
* for replacement functions.
*/
struct ATSUGlyphInfo {
GlyphID glyphID;
UInt16 reserved;
UInt32 layoutFlags;
UniCharArrayOffset charIndex;
ATSUStyle style;
Float32 deltaY;
Float32 idealX;
SInt16 screenX;
SInt16 caretX;
};
typedef struct ATSUGlyphInfo ATSUGlyphInfo;
/*
* ATSUGlyphInfoArray
*
* Summary:
* Structure returned by ATSUGetGlyphInfo
*
* Discussion:
* This data structure is returned by ATSUGetGlyphInfo. layout is
* the same layout you pass in to ATSUGetGlyphInfo, numGlyphs is the
* number of glyphs stored in the array glyphs. See the definition
* of ATSUGlyphInfo for more information about the data structures
* contained in the glyphs array. The ATSUGetGlyphInfo function is
* no longer recommended; see ATSUnicodeDirectAccess.h for
* replacement functions.
*/
struct ATSUGlyphInfoArray {
ATSUTextLayout layout;
ItemCount numGlyphs;
ATSUGlyphInfo glyphs[1];
};
typedef struct ATSUGlyphInfoArray ATSUGlyphInfoArray;
/*********************************************************************************/
/* ATSUI highlighting method constants and typedefs */
/*********************************************************************************/
/*
* ATSUHighlightMethod
*
* Discussion:
* Use the constants with the function ATSUSetHighlightingMethod to
* determine the method of highlighting to use. kInvertHighlighting
* will cause ATSUI to perform a simple color inversion on the area
* around the text. Although this method requires the least work, it
* does not produce the best visual results. kRedrawHighlighting
* will cause ATSUI to redraw the text whenever highlighting or
* unhighlighting it. This method produces the best visual results,
* but it does require you to specify a way for ATSUI to redraw the
* background behind the text after an unhighlight operation. See
* the definitions of ATSUUnhighlightData, ATSUBackgroundData,
* ATSUBackgroundDataType, and RedrawBackgroundProcPtr for more
* information.
*/
typedef UInt32 ATSUHighlightMethod;
enum {
kInvertHighlighting = 0,
kRedrawHighlighting = 1
};
/*
* ATSUBackgroundDataType
*
* Discussion:
* Use these constants for the dataType field in the
* ATSUUnhighlightData structure. kATSUBackgroundColor refers to a
* solid color background, while kATSUBackgroundCallback refers to a
* redrawing callback function. Note that if you specify
* kATSUBackgroundCallback, you must provide a callback function.
*/
typedef UInt32 ATSUBackgroundDataType;
enum {
kATSUBackgroundColor = 0,
kATSUBackgroundCallback = 1
};
/*
* ATSUBackgroundColor
*
* Discussion:
* A background color used by ATSUI to redraw the background after a
* call to ATSUUnhighlight text when the highlighting method is set
* to kRedrawHighlighting. See the definitions of ATSUBackgroundData
* and ATSUUnhighlightData for more information.
*/
typedef ATSURGBAlphaColor ATSUBackgroundColor;
/*
* RedrawBackgroundProcPtr
*
* Discussion:
* RedrawBackgroundProcPtr is a pointer to a client-supplied
* callback function (e.g. MyRedrawBackgroundProc) for redrawing
* complex backgrounds (and optionally the text as well) that can be
* called by ATSUI for highlighting if the client has called
* ATSUSetHighlightingMethod with kRedrawHighlighting for the
* iMethod parameter. In order for ATSUI to call the client
* function, the client must (1) pass a pointer to the client
* function to NewRedrawBackgroundUPP() in order to obtain a
* RedrawBackgroundUPP, and (2) pass the RedrawBackgroundUPP in the
* unhighlightData.backgroundUPP field of the iUnhighlightData
* parameter for the ATSUSetHighlightingMethod call. When finished,
* the client should call DisposeRedrawBackgroundUPP with the
* RedrawBackgroundUPP.
*
* Parameters:
*
* iLayout:
* The layout to which the highlighting is being applied. The
* client function can use this to redraw the text.
*
* iTextOffset:
* The offset of the text that is being highlighted; can be used
* by the client function to redraaw the text.
*
* iTextLength:
* The length of the text that is being highlighted; can be used
* by the client function to redraaw the text.
*
* iUnhighlightArea:
* An array of ATSTrapezoids that describes the highlight area.
* The ATSTrapezoid array is ALWAYS in QD coordinates.
*
* iTrapezoidCount:
* The count of ATSTrapezoids in iUnhighlightArea.
*
* Result:
* A Boolean result indicating whether ATSUI should redraw the text.
* If the client function redraws the text, it should return false,
* otherwise it should return true to have ATSUI redraw any text
* that needs to be redrawn.
*/
typedef CALLBACK_API( Boolean , RedrawBackgroundProcPtr )(ATSUTextLayout iLayout, UniCharArrayOffset iTextOffset, UniCharCount iTextLength, ATSTrapezoid iUnhighlightArea[], ItemCount iTrapezoidCount);
typedef STACK_UPP_TYPE(RedrawBackgroundProcPtr) RedrawBackgroundUPP;
/*
* ATSUBackgroundData
*
* Summary:
* Data describing one of two methods for ATSUI to unhighlight text.
*
* Discussion:
* When you call ATSUUnhighlightText and the highlighting method
* used is kRedrawHighlighting, ATSUI must redraw the text,
* including the background, when unhighlighting. The two ways of
* doing this are by telling ATSUI to (1) use a solid color to
* repaint the background (2) use a callback function to repaint the
* background. This union provides that information to ATSUI. See
* the definitions of ATSUUnhighlightData, RedrawBackgroundProcPtr,
* and ATSUSetHighlightingMethod for more information.
*/
union ATSUBackgroundData {
/*
* Specifies a color for ATSUI to repaint the background.
*/
ATSUBackgroundColor backgroundColor;
/*
* Specifies a Universal Procedure Pointer for ATSUI to call to
* redraw the background.
*/
RedrawBackgroundUPP backgroundUPP;
};
typedef union ATSUBackgroundData ATSUBackgroundData;
/*
* ATSUUnhighlightData
*
* Summary:
* Struct for defining a method for ATSUI to unhighlight text.
*
* Discussion:
* There are two methods of highlighting available on Mac OS X:
* invert and redraw. For the invert method, no unhighlight method
* needs to be specified. ATSUI will simply higlight text by
* performing a color inversion on the area surrounding the test.
* However, for best results, the redraw method is perferred. With
* this method, ATSUI will redraw text with a new background when
* highlighting, and redraw it again when unhighlighting. When using
* the redraw method, ATSUI needs to know how to restore the
* backround when unhighlighting text. That is where the unhighlight
* data comes in. This struct tells ATSUI how to restore the
* background after a highlight. There are two methods for
* specifying this information to ATSUI. One is by specifying a
* solid color, the other by providing a callback for redrawing part
* of the background.
*/
struct ATSUUnhighlightData {
/*
* Determines which method to use for restoring the background after
* a highlight; solid color (kATSUBackgroundColor), or drawing
* callback (kATSUBackgroundCallback). See also the definition of
* ATSUBackgroundDataType.
*/
ATSUBackgroundDataType dataType;
/*
* This union provides the actual data for ATSUI to use when
* redrawing the background. See the definition of ATSUBackgroundData
* for more information.
*/
ATSUBackgroundData unhighlightData;
};
typedef struct ATSUUnhighlightData ATSUUnhighlightData;
/********************************************************************************/
/* Other ATSUI constants */
/********************************************************************************/
/*
* Summary:
* Line direction types
*
* Discussion:
* These constants are used with the kATSULineDirectionTag control
* to determine overall line direction.
*/
enum {
/*
* Imposes left-to-right or top-to-bottom dominant direction.
*/
kATSULeftToRightBaseDirection = 0,
/*
* Impose right-to-left or bottom-to-top dominant direction.
*/
kATSURightToLeftBaseDirection = 1
};
#define kATSUStartAlignment ((Fract) 0x00000000L)
#define kATSUEndAlignment ((Fract) 0x40000000L)
#define kATSUCenterAlignment ((Fract) 0x20000000L)
#define kATSUNoJustification ((Fract) 0x00000000L)
#define kATSUFullJustification ((Fract) 0x40000000L)
/*
* Summary:
* This constant will be returned from ATSUFindFontFromName if no
* valid font can be found. If you pass this constant to
* ATSUSetAttributes, it will produce an error.
*/
enum {
kATSUInvalidFontID = 0
};
/*
* Summary:
* Pass this constant to line breaking functions (i.e.,
* ATSUBreakLine, ATSUBatchBreakLines) if you have already set a
* line width as a layout control via the kATSULineWidthTag
* attribute.
*/
enum {
kATSUUseLineControlWidth = 0x7FFFFFFF
};
/*
* Summary:
* Pass this constant to the iSelector parameter of the
* ATSUGetFontFeatureNameCode function if you wish to obtain the
* name code for a feature type rather than a feature selector.
*/
enum {
kATSUNoSelector = 0x0000FFFF
};
/*
* Summary:
* Text buffer convenience constants.
*
* Discussion:
* These constants refer to the beginning and end of a text buffer.
* Functions which accept these constants are marked below. Do not
* pass these constants to functions which do not explicity state
* they will accept them.
*/
enum {
/*
* Refers to the beginning of a text buffer.
*/
kATSUFromTextBeginning = (UInt32)0xFFFFFFFF,
/*
* Refers to the end of a text buffer.
*/
kATSUToTextEnd = (UInt32)0xFFFFFFFF,
/*
* Used for bidi cursor movement between paragraphs.
*/
kATSUFromPreviousLayout = (UInt32)0xFFFFFFFE,
/*
* Used for bidi cursor movement between paragraphs.
*/
kATSUFromFollowingLayout = (UInt32)0xFFFFFFFD
};
/*
* Summary:
* Other convenience constants.
*/
enum {
/*
* Pass this constant to functions that require a set of coordinates
* (i.e., ATSUDrawText, ATSUHighlightText) if you want ATSUI to use
* the current Quickdraw graphics port pen location.
*/
kATSUUseGrafPortPenLoc = (UInt32)0xFFFFFFFF,
/*
* Pass this constant to functions such as ATSUClearAttributes and
* ATSUClearLayoutControls if you wish to clear all settings instead
* of a specific array of settings.
*/
kATSUClearAll = (UInt32)0xFFFFFFFF
};
#pragma pack(pop)
#ifdef __cplusplus
}
#endif
#endif /* __ATSUNICODETYPES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSUnicodeDirectAccess.h | /*
File: QD/ATSUnicodeDirectAccess.h
Contains: Public Interfaces/Types for Low Level ATSUI
Version: Quickdraw-291~1
Copyright: � 2002-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEDIRECTACCESS__
#define __ATSUNICODEDIRECTACCESS__
#ifndef __ATSUNICODETYPES__
#include <ATSUI/ATSUnicodeTypes.h>
#endif
/* ---------------------------------------------------------------------------- */
/* Constants */
/* ---------------------------------------------------------------------------- */
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* ATSUDirectDataSelector
*
* Summary:
* These are the data selectors used in the
* ATSUDirectGetLayoutDataArrayPtr function to get the needed layout
* data array pointer.
*/
typedef UInt32 ATSUDirectDataSelector;
enum {
/*
* Returns the parallel advance delta (delta X) array. (Array Type):
* Fixed (Return Time): Constant, unless creation is necessary, or
* unless requested by ATSUDirectGetLayoutDataArrayPtrFromTextLayout.
* (Creation): This array is created only on demand. Thus, if any
* changes are to be made iCreate should be set to true. If the array
* had not been previously allocated it will be allocated and
* zero-filled when iCreate is set to true.
*/
kATSUDirectDataAdvanceDeltaFixedArray = 0,
/*
* Returns the parallel baseline delta (delta Y) array. (Array Type):
* Fixed (Return Time): Constant, unless creation is necessary, or
* unless requested by ATSUDirectGetLayoutDataArrayPtrFromTextLayout.
* (Creation): This array is created only on demand. Thus, if any
* changes are to be made iCreate should be set to true. If the array
* had not been previously allocated it will be allocated and
* zero-filled when iCreate is set to true.
*/
kATSUDirectDataBaselineDeltaFixedArray = 1,
/*
* Returns the parallel device delta array for device- specific
* tweaking. This is an array of values which are used to adjust
* truncated fractional values for devices that do not accept
* fractional positioning. It is also used to provide precise
* positioning for connected scripts. (Array Type): SInt16 (Return
* Time): Constant, unless creation is necessary, or unless requested
* by ATSUDirectGetLayoutDataArrayPtrFromTextLayout. (Creation): This
* array is created only on demand. Thus, if any changes are to be
* made iCreate should be set to true. If the array had not been
* previously allocated it will be allocated and zero-filled when
* iCreate is set to true.
*/
kATSUDirectDataDeviceDeltaSInt16Array = 2,
/*
* Returns the parallel style index array. The indexes setting in the
* array are indexes into the the StyleSetting array, which can be
* obtained using the
* kATSUDirectDataStyleSettingATSUStyleSettingRefArray below. (Array
* Type): UInt16 (Return Time): Constant, unless creation is
* necessary, or unless requested by
* ATSUDirectGetLayoutDataArrayPtrFromTextLayout. (Creation): This
* array is created only on demand. Thus, if any changes are to be
* made iCreate should be set to true. If the array had not been
* previously allocated it will be allocated and zero-filled when
* iCreate is set to true.
*/
kATSUDirectDataStyleIndexUInt16Array = 3,
/*
* Returns the style setting ref array. (Array Type):
* ATSUStyleSettingRef (Return Time): Linear, based on the number of
* styles applied to the given line. (Creation): This array is always
* present if the layout has any text assigned to it at all. Setting
* iCreate has no effect.
*/
kATSUDirectDataStyleSettingATSUStyleSettingRefArray = 4,
/*
* Returns the ATSLayoutRecord, version 1 array. This should not be
* used directly at all. Rather, use the
* kATSUDirectDataLayoutRecordATSLayoutRecordCurrent selector below.
* This will ensure that the code will always be using the most
* current version of the ATSLayoutRecord, should there ever be a
* change. ATSUI will only ensure the most efficient processing will
* occur for the latest version of ATSLayoutRecord. (Array Type):
* ATSLayoutRecord, version 1 (Return Time): Constant, unless
* creation is necessary, or unless requested by
* ATSUDirectGetLayoutDataArrayPtrFromTextLayout. (Creation): This
* array is always present if the layout has any text assigned to it
* at all. Setting iCreate has no effect
*/
kATSUDirectDataLayoutRecordATSLayoutRecordVersion1 = 100,
/*
* Returns the ATSLayoutRecord. This will return the most current
* version of the ATSLayoutRecord, and the one that's defined in this
* file. Always use kATSUDirectDataLayoutRecordATSLayoutRecordCurrent
* to get the array of ATSLayoutRecords. (Array Type):
* ATSLayoutRecord (Return Time): Constant, unless creation is
* necessary, or unless requested by
* ATSUDirectGetLayoutDataArrayPtrFromTextLayout. (Creation): This
* array is always present if the layout has any text assigned to it
* at all. Setting iCreate has no effect.
*/
kATSUDirectDataLayoutRecordATSLayoutRecordCurrent = kATSUDirectDataLayoutRecordATSLayoutRecordVersion1
};
/* ---------------------------------------------------------------------------- */
/* Data Types */
/* ---------------------------------------------------------------------------- */
/*
* ATSUStyleSettingRef
*
* Summary:
* A reference to a style setting object that represents an
* ATSUStyle plus any cached/set information about that style.
*/
typedef struct LLCStyleInfo* ATSUStyleSettingRef;
#ifdef __cplusplus
}
#endif
#endif /* __ATSUNICODEDIRECTACCESS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSAvailability.h | //
// ATSAvailability.h
// ATSUI
//
// Copyright © 2018 Apple Inc. All rights reserved.
//
#ifndef __ATS_AVAILIBILITY__
#define __ATS_AVAILIBILITY__
// The "_R" variation of the macros is for "retroactive"
// Functions declared with it were not deprecated until Mojave, though they should have been by Tiger
#undef ATS_AVAILABLE_BUT_DEPRECATED
#if ATS_BUILDING_ATS
#define ATS_AVAILABLE_BUT_DEPRECATED(m0,m1)
#define ATS_AVAILABLE_BUT_DEPRECATED_R(m0,m1)
#else
#define ATS_AVAILABLE_BUT_DEPRECATED(m0,m1) API_DEPRECATED("No longer supported", macos(m0,m1))
#define ATS_AVAILABLE_BUT_DEPRECATED_R(m0,m1) API_DEPRECATED("No longer supported", macos(m0,m1))
#endif
#endif /* __ATS_AVAILIBILITY__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSUnicodeFonts.h | /*
File: QD/ATSUnicodeFonts.h
Contains: ATSUI font handling functions.
Version: Quickdraw-291~1
Copyright: � 2003-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEFONTS__
#define __ATSUNICODEFONTS__
#ifndef __ATSUNICODETYPES__
#include <ATSUI/ATSUnicodeTypes.h>
#endif
#endif /* __ATSUNICODEFONTS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSUnicode.h | /*
File: QD/ATSUnicode.h
Contains: Public interfaces for Apple Type Services for Unicode Imaging
Version: Quickdraw-291~1
Copyright: � 1997-2008 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODE__
#define __ATSUNICODE__
#ifndef __ATSUNICODETYPES__
#include <ATSUI/ATSUnicodeTypes.h>
#endif
#ifndef __ATSUNICODEGLYPHS__
#include <ATSUI/ATSUnicodeGlyphs.h>
#endif
#ifndef __ATSUNICODEFLATTENING__
#include <ATSUI/ATSUnicodeFlattening.h>
#endif
#ifndef __ATSUNICODEDIRECTACCESS__
#include <ATSUI/ATSUnicodeDirectAccess.h>
#endif
#endif /* __ATSUNICODE__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Headers/ATSUnicodeDrawing.h | /*
File: QD/ATSUnicodeDrawing.h
Contains: ATSUI drawing, measuring, and highlighting functions.
Version: Quickdraw-291~1
Copyright: � 2003-2008 by Apple Inc. all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __ATSUNICODEDRAWING__
#define __ATSUNICODEDRAWING__
#ifndef __ATSUNICODETYPES__
#include <ATSUI/ATSUnicodeTypes.h>
#endif
#endif /* __ATSUNICODEDRAWING__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/HIServices.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
uuids:
- target: x86_64-macos
value: 7C4AC061-D7FA-336E-9BB6-52DAEE31BC8E
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: B777E73E-2BEC-33F6-A2F4-8E88334C3C46
install-name: '/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices'
current-version: 738
parent-umbrella:
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ]
umbrella: ApplicationServices
exports:
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _AXAPIEnabled, _AXIsProcessTrusted, _AXIsProcessTrustedWithOptions,
_AXMakeProcessTrusted, _AXObserverAddNotification, _AXObserverAddNotificationAsync,
_AXObserverCreate, _AXObserverCreateWithInfoCallback, _AXObserverGetRunLoopSource,
_AXObserverGetTypeID, _AXObserverRemoveNotification, _AXObserverRemoveNotificationAsync,
_AXSerializeCFType, _AXTextMarkerCreate, _AXTextMarkerGetBytePtr,
_AXTextMarkerGetLength, _AXTextMarkerGetTypeID, _AXTextMarkerRangeCopyEndMarker,
_AXTextMarkerRangeCopyStartMarker, _AXTextMarkerRangeCreate,
_AXTextMarkerRangeCreateWithBytes, _AXTextMarkerRangeGetTypeID,
_AXUIElementCopyActionDescription, _AXUIElementCopyActionNames,
_AXUIElementCopyAttributeNames, _AXUIElementCopyAttributeValue,
_AXUIElementCopyAttributeValues, _AXUIElementCopyElementAtPosition,
_AXUIElementCopyHierarchy, _AXUIElementCopyMultipleAttributeValues,
_AXUIElementCopyParameterizedAttributeNames, _AXUIElementCopyParameterizedAttributeValue,
_AXUIElementCreateApplication, _AXUIElementCreateSystemWide,
_AXUIElementGetAttributeValueCount, _AXUIElementGetPid, _AXUIElementGetTypeID,
_AXUIElementIsAttributeSettable, _AXUIElementPerformAction,
_AXUIElementPostKeyboardEvent, _AXUIElementSetAttributeValue,
_AXUIElementSetMessagingTimeout, _AXUnserializeCFType, _AXValueCreate,
_AXValueGetType, _AXValueGetTypeID, _AXValueGetValue, _ApplicationTypeGet,
_ApplicationTypeSet, _CGPointInIconRef, _CGRectInIconRef,
_CopyLabelColorAndName, _CopyProcessName, _CoreAppearanceGetFontCGStyleRef,
_CoreAppearanceGetFontShadowOutsets, _CoreAppearanceGetFontSize,
_CoreAppearanceGetQDFontForScript, _CoreCursorCopyImages,
_CoreCursorGetData, _CoreCursorGetDataSize, _CoreCursorSet,
_CoreCursorSetAndReturnSeed, _CoreCursorUnregisterAll, _CoreDockAddFileToDock,
_CoreDockBounceAppTile, _CoreDockCompositeProcessImage, _CoreDockCopyPreferences,
_CoreDockCopyWorkspacesAppBindings, _CoreDockCreateDragTrashContext,
_CoreDockDisableExposeKeysIfNecessary, _CoreDockGetAutoHideEnabled,
_CoreDockGetContainerRect, _CoreDockGetDashboardInDock, _CoreDockGetEffect,
_CoreDockGetExposeCornerActions, _CoreDockGetExposeCornerActionsWithModifiers,
_CoreDockGetItemDockContext, _CoreDockGetItemDockWindow, _CoreDockGetMagnificationSize,
_CoreDockGetMinimizeInPlace, _CoreDockGetOrientationAndPinning,
_CoreDockGetProcessContext, _CoreDockGetProcessWindow, _CoreDockGetRect,
_CoreDockGetRectAndOrientation, _CoreDockGetRectAndReason,
_CoreDockGetSpringLoadingTime, _CoreDockGetTileSize, _CoreDockGetTrashWindow,
_CoreDockGetWorkspacesCount, _CoreDockGetWorkspacesEnabled,
_CoreDockGetWorkspacesKeyBindings, _CoreDockIsDockRunning,
_CoreDockIsLaunchAnimationsEnabled, _CoreDockIsMagnificationEnabled,
_CoreDockIsSpringLoadingEnabled, _CoreDockMinimizeItemWithTitle,
_CoreDockMinimizeItemWithTitleAsync, _CoreDockMinimizeItemsWithTitle,
_CoreDockMinimizeItemsWithTitleAsync, _CoreDockPreventCommunicationWithDock,
_CoreDockRegisterClientWithRunLoop, _CoreDockReleaseDragTrashContext,
_CoreDockReleaseItemDockContext, _CoreDockReleaseItemDockWindow,
_CoreDockReleaseProcessContext, _CoreDockReleaseProcessWindow,
_CoreDockRemoveItem, _CoreDockRenderWindowIntoContext, _CoreDockRestoreItem,
_CoreDockRestoreItemAsync, _CoreDockRestoreItemWithOrder,
_CoreDockRestoreItemWithOrderAsync, _CoreDockRestoreProcessImage,
_CoreDockRevealWindowForShowDesktop, _CoreDockSendDragWindowMessage,
_CoreDockSendNotification, _CoreDockSetAutoHideEnabled, _CoreDockSetDashboardInDock,
_CoreDockSetEffect, _CoreDockSetExposeCornerAction, _CoreDockSetExposeCornerActionWithModifier,
_CoreDockSetItemTitle, _CoreDockSetLaunchAnimationsEnabled,
_CoreDockSetMagnificationEnabled, _CoreDockSetMagnificationSize,
_CoreDockSetMiniView, _CoreDockSetMinimizeInPlace, _CoreDockSetOrientationAndPinning,
_CoreDockSetPreferences, _CoreDockSetProcessImage, _CoreDockSetProcessLabel,
_CoreDockSetProcessOpenRecents, _CoreDockSetShowDesktopCallback,
_CoreDockSetSpringLoadingEnabled, _CoreDockSetSpringLoadingTime,
_CoreDockSetSpringWindowCallbacks, _CoreDockSetTileSize, _CoreDockSetTrashFull,
_CoreDockSetWindowLabel, _CoreDockSetWorkspacesAppBindings,
_CoreDockSetWorkspacesCount, _CoreDockSetWorkspacesEnabled,
_CoreDockSetWorkspacesKeyBindings, _CoreDockUpdateWindow,
_CoreDragAcceptDrag, _CoreDragCancelDrag, _CoreDragChangeBehaviors,
_CoreDragCleanDragState, _CoreDragClearAllImageOverrides,
_CoreDragCopyTrashLabel, _CoreDragCreate, _CoreDragCreateWithPasteboard,
_CoreDragCreateWithPasteboardRef, _CoreDragDispose, _CoreDragEnableSpringLoading,
_CoreDragGetAllowableActions, _CoreDragGetAttributes, _CoreDragGetCurrentDrag,
_CoreDragGetDragWindow, _CoreDragGetDropActions, _CoreDragGetDropLocation,
_CoreDragGetForce, _CoreDragGetForceStage, _CoreDragGetItemBounds,
_CoreDragGetModifiers, _CoreDragGetMouseLocation, _CoreDragGetOrigin,
_CoreDragGetPasteboard, _CoreDragGetPasteboardRef, _CoreDragGetSpringLoadingAttributes,
_CoreDragGetStandardDropLocation, _CoreDragGetValueForKey,
_CoreDragHasImageOverrides, _CoreDragInstallContextReceiveMessageHandlerOnConnection,
_CoreDragInstallContextTrackingHandlerOnConnection, _CoreDragInstallReceiveHandler,
_CoreDragInstallReceiveHandlerOnConnection, _CoreDragInstallReceiveMessageHandler,
_CoreDragInstallReceiveMessageHandlerOnConnection, _CoreDragInstallTrackingHandler,
_CoreDragInstallTrackingHandlerOnConnection, _CoreDragIsTrashLabelSet,
_CoreDragItemGetImageComponents, _CoreDragItemGetScreenFrame,
_CoreDragItemHasAlternate, _CoreDragItemSetCGImage, _CoreDragItemSetImage,
_CoreDragItemSetImageComponents, _CoreDragRefSetImageDataForItem,
_CoreDragRegisterClient, _CoreDragRegisterClientInModes, _CoreDragRegisterClientWithOptions,
_CoreDragReleaseImageData, _CoreDragRemoveReceiveHandler,
_CoreDragRemoveReceiveHandlerOnConnection, _CoreDragRemoveReceiveMessageHandler,
_CoreDragRemoveReceiveMessageHandlerOnConnection, _CoreDragRemoveTrackingHandler,
_CoreDragRemoveTrackingHandlerOnConnection, _CoreDragRequestDragCompleteMessage,
_CoreDragSetAllowableActions, _CoreDragSetAttribute, _CoreDragSetCGEventInputProc,
_CoreDragSetCGEventProcs, _CoreDragSetCGImage, _CoreDragSetCGImageWithScale,
_CoreDragSetDestClippingRect, _CoreDragSetDragRegion, _CoreDragSetDragRegionWithScale,
_CoreDragSetDragWindow, _CoreDragSetDropActions, _CoreDragSetDropLocation,
_CoreDragSetDropProc, _CoreDragSetEventProc, _CoreDragSetExtendedEventProc,
_CoreDragSetImage, _CoreDragSetImageOptions, _CoreDragSetInputProc,
_CoreDragSetItemBounds, _CoreDragSetMouseLocation, _CoreDragSetOrigin,
_CoreDragSetRootCALayer, _CoreDragSetSourceClippingRect, _CoreDragSetStandardDropLocation,
_CoreDragSetTrashDrawProc, _CoreDragSetTrashLabel, _CoreDragSetValueForKey,
_CoreDragStartDragging, _CoreDragUpdatesBegin, _CoreDragUpdatesCommit,
_CoreGetDragInfo, _CoreImagingCreateImage, _CoreMenuCreateKeyEquivalentString,
_CoreMenuCreateVirtualKeyString, _CoreMenuExtraAddMenuExtra,
_CoreMenuExtraGetMenuExtra, _CoreMenuExtraRemoveMenuExtra,
_CoreMenuGetVirtualKeyMap, _CreatePasteboardFlavorTypeName,
_DesktopPictureCopyDisplay, _DesktopPictureCopyDisplayForSpace,
_DesktopPictureCopyValue, _DesktopPictureSetDisplay, _DesktopPictureSetDisplayForSpace,
_DesktopPictureSetValue, _ExitToShell, _GetApplicationIsDaemon,
_GetCurrentProcess, _GetFrontProcess, _GetGlobalIconImagesCacheMaxEntriesAndMaxDataSize,
_GetIconFamilyData, _GetIconRefVariant, _GetNextProcess, _GetProcessBundleLocation,
_GetProcessForPID, _GetProcessInformation, _GetProcessPID,
_HIS_XPC_CFNotificationCenterPostNotification, _HIS_XPC_CFPreferencesCopyValue,
_HIS_XPC_CFPreferencesSetValue, _HIS_XPC_CFPreferencesSynchronize,
_HIS_XPC_CopyCapsLockKeyLabel, _HIS_XPC_CopyMacManagerPrefs,
_HIS_XPC_GetApplicationPolicyForURLs, _HIS_XPC_GetCapsLockLanguageSwitch,
_HIS_XPC_GetCapsLockModifierState, _HIS_XPC_GetGlobeKeyAvailability,
_HIS_XPC_GetMicKeyAvailability, _HIS_XPC_RevealFileInFinder,
_HIS_XPC_SendAppleEventToSystemProcess, _HIS_XPC_SetCapsLockDelayOverride,
_HIS_XPC_SetCapsLockLED, _HIS_XPC_SetCapsLockLEDInhibit, _HIS_XPC_SetCapsLockModifierState,
_HIS_XPC_SetNetworkLocation, _HIShapeContainsPoint, _HIShapeCreateCopy,
_HIShapeCreateCopyAsQDRgn, _HIShapeCreateDifference, _HIShapeCreateEmpty,
_HIShapeCreateIntersection, _HIShapeCreateMutable, _HIShapeCreateMutableCopy,
_HIShapeCreateMutableWithRect, _HIShapeCreateUnion, _HIShapeCreateWithQDRgn,
_HIShapeCreateWithRect, _HIShapeCreateXor, _HIShapeDifference,
_HIShapeEnumerate, _HIShapeGetAsQDRgn, _HIShapeGetBounds,
_HIShapeGetTypeID, _HIShapeInset, _HIShapeIntersect, _HIShapeIntersectsRect,
_HIShapeIsEmpty, _HIShapeIsRectangular, _HIShapeOffset, _HIShapeReplacePathInCGContext,
_HIShapeSetEmpty, _HIShapeSetWithShape, _HIShapeUnion, _HIShapeUnionWithRect,
_HIShapeXor, _ICAddMapEntry, _ICAddProfile, _ICBegin, _ICCountMapEntries,
_ICCountPref, _ICCountProfiles, _ICCreateGURLEvent, _ICDeleteMapEntry,
_ICDeletePref, _ICDeleteProfile, _ICEditPreferences, _ICEnd,
_ICFindPrefHandle, _ICGetConfigName, _ICGetCurrentProfile,
_ICGetDefaultPref, _ICGetIndMapEntry, _ICGetIndPref, _ICGetIndProfile,
_ICGetMapEntry, _ICGetPerm, _ICGetPref, _ICGetPrefHandle,
_ICGetProfileName, _ICGetSeed, _ICGetVersion, _ICLaunchURL,
_ICMapEntriesFilename, _ICMapEntriesTypeCreator, _ICMapFilename,
_ICMapTypeCreator, _ICParseURL, _ICSendGURLEvent, _ICSetCurrentProfile,
_ICSetMapEntry, _ICSetPref, _ICSetPrefHandle, _ICSetProfileName,
_ICStart, _ICStop, _IconRefContainsCGPoint, _IconRefIntersectsCGRect,
_IconRefToHIShape, _IconRefToIconFamily, _IsIconRefMaskEmpty,
_IsProcessManagerInitialized, _IsProcessVisible, _KillProcess,
_LaunchApplication, _LaunchProcess, _LaunchProcessAsync, _MSHCreateMIGServerSource,
_MSHCreateMachServerSource, _MSHGetMachPortFromSource, _MSHMIGSourceSetNoSendersCallback,
_MSHMIGSourceSetSendOnceCallback, _PasteboardClear, _PasteboardCopyItemFlavorData,
_PasteboardCopyItemFlavors, _PasteboardCopyName, _PasteboardCopyPasteLocation,
_PasteboardCreate, _PasteboardGetCFPasteboard, _PasteboardGetItemCount,
_PasteboardGetItemFlavorFlags, _PasteboardGetItemIdentifier,
_PasteboardGetTypeID, _PasteboardPutItemFlavor, _PasteboardResolvePromises,
_PasteboardSetPasteLocation, _PasteboardSetPromiseKeeper,
_PasteboardSynchronize, _PasteboardToggleDuplicateFlavorCheck,
_PlotIconRefInContext, _ProcessInformationCopyDictionary,
_SXArbitrationAddQueuedOutputRequest, _SXArbitrationCancelQueuedRequest,
_SXArbitrationCreateServerSource, _SXArbitrationIsQueuedRequestPending,
_SXArbitrationRegisterOutputStarting, _SXArbitrationRegisterOutputStopped,
_SameProcess, _SerializeCFType, _SetApplicationIsDaemon, _SetFrontProcess,
_SetFrontProcessWithOptions, _SetGlobalIconImagesCacheMaxEntriesAndMaxDataSize,
_SetIconFamilyData, _SetLabelColorAndName, _ShowHideDrag,
_ShowHideProcess, _StartIPCPing, _TransformProcessType, _TranslationCopyDestinationType,
_TranslationCopySourceType, _TranslationCreate, _TranslationCreateWithSourceArray,
_TranslationGetTranslationFlags, _TranslationGetTypeID, _TranslationPerformForData,
_TranslationPerformForFile, _TranslationPerformForURL, _UAZoomChangeFocus,
_UAZoomEnabled, _UnserializeCFType, _WakeUpProcess, __AXCopyActionDescription,
__AXCopyChildrenHash, __AXCopyRoleDescription, __AXCopyRoleDescriptionWithSubrole,
__AXCopyTitle, __AXCreateElementOrdering, __AXCurrentRequestCanReturnInspectionContent,
__AXCurrentRequestCanReturnProtectedContent, __AXGetClientForCurrentRequestUntrusted,
__AXInterfaceCopyCursorColorFill, __AXInterfaceCopyCursorColorOutline,
__AXInterfaceCursorIsOverridden, __AXInterfaceCursorSetAndReturnSeed,
__AXInterfaceGetBristolEnabled, __AXInterfaceGetClassicInvertColorEnabled,
__AXInterfaceGetDifferentiateWithoutColorEnabled, __AXInterfaceGetIncreaseContrastEnabled,
__AXInterfaceGetReduceMotionEnabled, __AXInterfaceGetReduceTransparencyEnabled,
__AXInterfaceGetRichmondEnabled, __AXInterfaceGetShowToolbarButtonShapesEnabled,
__AXInterfaceGetShowWindowTitlebarIconsEnabled, __AXInterfaceSetClassicInvertColorEnabled,
__AXInterfaceSetCursorColorFill, __AXInterfaceSetCursorColorOutline,
__AXInterfaceSetCursorIsOverridden, __AXInterfaceSetDifferentiateWithoutColorEnabled,
__AXInterfaceSetDifferentiateWithoutColorEnabledOverride,
__AXInterfaceSetIncreaseContrastEnabled, __AXInterfaceSetIncreaseContrastEnabledOverride,
__AXInterfaceSetReduceMotionEnabled, __AXInterfaceSetReduceMotionEnabledOverride,
__AXInterfaceSetReduceTransparencyEnabled, __AXInterfaceSetReduceTransparencyEnabledOverride,
__AXInterfaceSetShowToolbarButtonShapesEnabled, __AXInterfaceSetShowToolbarButtonShapesEnabledOverride,
__AXInterfaceSetShowWindowTitlebarIconsEnabled, __AXInterfaceSetShowWindowTitlebarIconsEnabledOverride,
__AXIsAppleClientForCurrentRequestUntrusted, __AXRegisterControlComputerAccess,
__AXSetAuditTokenIsAuthenticatedCallback, __AXSetClientIdentificationOverride,
__AXShouldElementBeIgnoredForNavigation, __AXUIElementCopyElementAtPositionIncludeIgnored,
__AXUIElementCreateApplicationWithPresenterPid, __AXUIElementCreateWithData,
__AXUIElementCreateWithDataAndPid, __AXUIElementCreateWithDataAndPresenterPid,
__AXUIElementCreateWithPtr, __AXUIElementCreateWithRemoteToken,
__AXUIElementGetActualPid, __AXUIElementGetData, __AXUIElementGetIsProcessSuspended,
__AXUIElementGetWindow, __AXUIElementNotifyProcessSuspendStatus,
__AXUIElementPostNotification, __AXUIElementPostNotificationForObservedElement,
__AXUIElementPostNotificationWithInfo, __AXUIElementRegisterServerWithRunLoop,
__AXUIElementRemoteTokenCreate, __AXUIElementRequestServicedBySecondaryAXThread,
__AXUIElementUnregisterServer, __AXUIElementUseSecondaryAXThread,
__AddLabelsChangedCallback, __CopyProcessBundleLocationURL,
__GDBIconsCGCacheList, __GetApplicationDesiresAttention, __GetFrontUIProcess,
__HIShapeCreateWithCGImage, __HIShapeCreateWithCGSRegionObj,
__HIShapeGetNative, __HIShapeOutsetToPixelBoundary, __HIShapeSetImmutable,
__HIShapeSetShapeWithOffset, __HideOtherApplications, __ICCopyMailHostName,
__ICCopyMailUserName, __ISCreateCGImageForType, __ISCreateCGImageForTypeAtScale,
__IconServicesGetCGImageRefFromIconRef, __IconServicesGetCGImageRefFromURL,
__InstallGURLEventHandler, __PIPZoomingEnabled, __RegisterApplication,
__RegisterAsSessionLauncherApplication, __RemoveLabelsChangedCallback,
__SetApplicationDesiresAttention, __SetFrontProcessWithOptions,
__SetHLTBWakeUpHook, __ShowAllApplications, __SignalApplicationReady,
__UAZoomFocusChange, __UAZoomFocusChangeAnchored, __UAZoomFocusChangeHighlightRect,
__UAZoomFocusChangeHighlightRectAnchored, __UAZoomingEnabled,
__UnregisterAsSessionLauncherApplication, _gDockDragCallback,
_gDockDragWindowCallback, _kAXAttachmentTextAttribute, _kAXAutocorrectedTextAttribute,
_kAXBackgroundColorTextAttribute, _kAXElementOrderHorizontalKey,
_kAXElementOrderVerticalKey, _kAXElementToFocusForLayoutChangeKey,
_kAXFontFamilyKey, _kAXFontNameKey, _kAXFontSizeKey, _kAXFontTextAttribute,
_kAXForegoundColorTextAttribute, _kAXForegroundColorTextAttribute,
_kAXInterfaceBristolKey, _kAXInterfaceClassicInvertColorKey,
_kAXInterfaceClassicInvertColorStatusDidChangeNotification,
_kAXInterfaceCursorStatusDidChangeNotification, _kAXInterfaceDifferentiateWithoutColorKey,
_kAXInterfaceDifferentiateWithoutColorStatusDidChangeNotification,
_kAXInterfaceIncreaseContrastKey, _kAXInterfaceIncreaseContrastStatusDidChangeNotification,
_kAXInterfaceReduceMotionKey, _kAXInterfaceReduceMotionStatusDidChangeNotification,
_kAXInterfaceReduceTransparencyKey, _kAXInterfaceReduceTransparencyStatusDidChangeNotification,
_kAXInterfaceShowToolbarButtonShapesKey, _kAXInterfaceShowToolbarButtonShapesStatusDidChangeNotification,
_kAXInterfaceShowWindowTitlebarIconsKey, _kAXInterfaceShowWindowTitlebarIconsStatusDidChangeNotification,
_kAXLinkTextAttribute, _kAXListItemIndexTextAttribute, _kAXListItemLevelTextAttribute,
_kAXListItemPrefixTextAttribute, _kAXMarkedMisspelledTextAttribute,
_kAXMisspelledTextAttribute, _kAXNaturalLanguageTextAttribute,
_kAXParagraphStyleTextAttribute, _kAXReplacementStringTextAttribute,
_kAXShadowTextAttribute, _kAXStrikethroughColorTextAttribute,
_kAXStrikethroughTextAttribute, _kAXSuperscriptTextAttribute,
_kAXTextAlignmentAttribute, _kAXTextAlignmentKey, _kAXTrustedCheckOptionPrompt,
_kAXUIElementCopyHierarchyArrayAttributesKey, _kAXUIElementCopyHierarchyIncompleteResultKey,
_kAXUIElementCopyHierarchyMaxArrayCountKey, _kAXUIElementCopyHierarchyMaxDepthKey,
_kAXUIElementCopyHierarchyResultCountKey, _kAXUIElementCopyHierarchyResultErrorKey,
_kAXUIElementCopyHierarchyResultValueKey, _kAXUIElementCopyHierarchyReturnAttributeErrorsKey,
_kAXUIElementCopyHierarchySkipInspectionForAttributesKey,
_kAXUIElementCopyHierarchyTruncateStringsKey, _kAXUnderlineColorTextAttribute,
_kAXUnderlineTextAttribute, _kAXVisibleNameKey, _kAXVisualTextAlignmentKey ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h | /*
File: HIServices/Processes.h
Contains: Process Manager Interfaces.
Copyright: � 1989-2012 by Apple Computer, Inc., all rights reserved
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PROCESSES__
#define __PROCESSES__
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#include <sys/types.h>
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push, 2)
enum {
/* Process identifier - Various reserved process serial numbers */
kNoProcess = 0,
kSystemProcess = 1,
kCurrentProcess = 2
};
/* Definition of the parameter block passed to _Launch */
/* Typedef and flags for launchControlFlags field*/
typedef UInt16 LaunchFlags;
enum {
launchContinue = 0x4000,
launchNoFileFlags = 0x0800,
launchUseMinimum = 0x0400,
launchDontSwitch = 0x0200,
launchAllow24Bit = 0x0100,
launchInhibitDaemon = 0x0080
};
/* Format for first AppleEvent to pass to new process. The size of the overall
buffer variable: the message body immediately follows the messageLength */
struct AppParameters {
struct {
UInt16 what;
UInt32 message;
UInt32 when;
Point where;
UInt16 modifiers;
} theMsgEvent;
UInt32 eventRefCon;
UInt32 messageLength;
};
typedef struct AppParameters AppParameters;
typedef AppParameters * AppParametersPtr;
/* Parameter block to _Launch */
#if __LP64__
struct LaunchParamBlockRec {
UInt32 reserved1;
UInt16 reserved2;
UInt16 launchBlockID;
UInt32 launchEPBLength;
UInt16 launchFileFlags;
LaunchFlags launchControlFlags;
FSRefPtr launchAppRef;
ProcessSerialNumber launchProcessSN;
UInt32 launchPreferredSize;
UInt32 launchMinimumSize;
UInt32 launchAvailableSize;
AppParametersPtr launchAppParameters;
};
typedef struct LaunchParamBlockRec LaunchParamBlockRec;
#else
struct LaunchParamBlockRec {
UInt32 reserved1;
UInt16 reserved2;
UInt16 launchBlockID;
UInt32 launchEPBLength;
UInt16 launchFileFlags;
LaunchFlags launchControlFlags;
FSSpecPtr launchAppSpec;
ProcessSerialNumber launchProcessSN;
UInt32 launchPreferredSize;
UInt32 launchMinimumSize;
UInt32 launchAvailableSize;
AppParametersPtr launchAppParameters;
};
typedef struct LaunchParamBlockRec LaunchParamBlockRec;
#endif /* __LP64__ */
typedef LaunchParamBlockRec * LaunchPBPtr;
/* Set launchBlockID to extendedBlock to specify that extensions exist.
Set launchEPBLength to extendedBlockLen for compatibility.*/
enum {
extendedBlock = 0x4C43, /* 'LC' */
extendedBlockLen = sizeof(LaunchParamBlockRec) - 12
};
enum {
/* Definition of the information block returned by GetProcessInformation */
modeReserved = 0x01000000,
modeControlPanel = 0x00080000,
modeLaunchDontSwitch = 0x00040000,
modeDeskAccessory = 0x00020000,
modeMultiLaunch = 0x00010000,
modeNeedSuspendResume = 0x00004000,
modeCanBackground = 0x00001000,
modeDoesActivateOnFGSwitch = 0x00000800,
modeOnlyBackground = 0x00000400,
modeGetFrontClicks = 0x00000200,
modeGetAppDiedMsg = 0x00000100,
mode32BitCompatible = 0x00000080,
modeHighLevelEventAware = 0x00000040,
modeLocalAndRemoteHLEvents = 0x00000020,
modeStationeryAware = 0x00000010,
modeUseTextEditServices = 0x00000008,
modeDisplayManagerAware = 0x00000004
};
typedef UInt32 ProcessApplicationTransformState;
enum {
kProcessTransformToForegroundApplication = 1,
kProcessTransformToBackgroundApplication = 2, /* functional in Mac OS X 10.7 and later */
kProcessTransformToUIElementApplication = 4 /* functional in Mac OS X 10.7 and later */
};
/*
Record returned by GetProcessInformation
When calling GetProcessInformation(), the input ProcessInfoRec
should have the processInfoLength set to sizeof(ProcessInfoRec),
the processName field set to nil or a pointer to a Str255, and
processAppSpec set to nil or a pointer to an FSSpec. If
processName or processAppSpec are not specified, this routine
will very likely write data to whatever random location in memory
these happen to point to, which is not a good thing.
Note: The processName field may not be what you expect, especially if
an application has a localized name. The .processName field, if not NULL,
on return will contain the filename part of the executable file of the
application. If you want the localized, user-displayable name for an
application, call CopyProcessName().
On Mac OS X, some flags in processMode will not be set as they were on
Mac OS 9, even for Classic applications. Mac OS X doesn't support
applications which can't be sent into the background, so
modeCanBackground will always be set. Similarly, Mac OS X applications
will always have mode32BitCompatible and modeHighLevelEventAware
set.
*/
#if __LP64__
struct ProcessInfoRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSRefPtr processAppRef;
};
typedef struct ProcessInfoRec ProcessInfoRec;
#else
struct ProcessInfoRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSSpecPtr processAppSpec;
};
typedef struct ProcessInfoRec ProcessInfoRec;
#endif /* __LP64__ */
typedef ProcessInfoRec * ProcessInfoRecPtr;
/*
Some applications assumed the size of a ProcessInfoRec would never change,
which has caused problems trying to return additional information. In
the future, we will add fields to ProcessInfoExtendedRec when necessary,
and callers which wish to access 'more' data than originally was present
in ProcessInfoRec should allocate space for a ProcessInfoExtendedRec,
fill in the processInfoLength ( and processName and processAppSpec ptrs ),
then coerce this to a ProcessInfoRecPtr in the call to
GetProcessInformation().
Note: The processName field may not be what you expect, especially if
an application has a localized name. The .processName field, if not NULL,
on return will contain the filename part of the executable file of the
application. If you want the localized, user-displayable name for an
application, call CopyProcessName().
On Mac OS X, some flags in processMode will not be set as they were on
Mac OS 9, even for Classic applications. Mac OS X doesn't support
applications which can't be sent into the background, so
modeCanBackground will always be set. Similarly, Mac OS X applications
will always have mode32BitCompatible and modeHighLevelEventAware
set.
*/
#if __LP64__
struct ProcessInfoExtendedRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSRefPtr processAppRef;
UInt32 processTempMemTotal;
UInt32 processPurgeableTempMemTotal;
};
typedef struct ProcessInfoExtendedRec ProcessInfoExtendedRec;
#else
struct ProcessInfoExtendedRec {
UInt32 processInfoLength;
StringPtr processName;
ProcessSerialNumber processNumber;
UInt32 processType;
OSType processSignature;
UInt32 processMode;
Ptr processLocation;
UInt32 processSize;
UInt32 processFreeMem;
ProcessSerialNumber processLauncher;
UInt32 processLaunchDate;
UInt32 processActiveTime;
FSSpecPtr processAppSpec;
UInt32 processTempMemTotal;
UInt32 processPurgeableTempMemTotal;
};
typedef struct ProcessInfoExtendedRec ProcessInfoExtendedRec;
#endif /* __LP64__ */
typedef ProcessInfoExtendedRec * ProcessInfoExtendedRecPtr;
/* Record corresponding to the SIZE resource definition */
struct SizeResourceRec {
UInt16 flags;
UInt32 preferredHeapSize;
UInt32 minimumHeapSize;
};
typedef struct SizeResourceRec SizeResourceRec;
typedef SizeResourceRec * SizeResourceRecPtr;
typedef SizeResourceRecPtr * SizeResourceRecHandle;
/*
* Summary:
* Options for ProcessInformationCopyDictionary
*/
enum {
/*
* Return all information known about the application in the
* dictionary.
*/
kProcessDictionaryIncludeAllInformationMask = (int)0xFFFFFFFF
};
/*
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.
*/
enum {
kQuitBeforeNormalTimeMask = 1,
kQuitAtNormalTimeMask = 2,
kQuitBeforeFBAsQuitMask = 4,
kQuitBeforeShellQuitsMask = 8,
kQuitBeforeTerminatorAppQuitsMask = 16,
kQuitNeverMask = 32,
kQuitOptionsMask = 0x7F,
kQuitNotQuitDuringInstallMask = 0x0100,
kQuitNotQuitDuringLogoutMask = 0x0200
};
/*
* LaunchApplication()
*
* DEPRECATED: Use +[NSWorkspace launchApplication:],
* +[NSWorkspace launchApplicationAtURL:options:configuration:error:]
* or other LaunchServices functions ( LSOpenCFURLRef(),
* LSOpenFromURLSpec() ) to launch applications.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
extern OSErr
LaunchApplication(LaunchPBPtr LaunchParams) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
#if !__LP64__
/*
* LaunchDeskAccessory()
*
* Availability:
* Mac OS X: not available [32-bit only]
* CarbonLib: not available
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
#endif /* !__LP64__ */
/*
* [Mac]GetCurrentProcess()
*
* DEPRECATED
* Use [ NSRunningApplication currentApplication]
*
* Discussion:
* Return the canonical process serial number to the caller.
*
* All applications ( things which can appear in the Dock or which
* are not documents and are launched by the Finder or Dock ) on Mac
* OS 10 have a unique process serial number. This number is created
* when the application launches, and remains until the application
* quits. Other system services, like AppleEvents, use the
* ProcessSerialNumber to specify an application.
*
* During launch, every application 'checks in' with the Process
* Manager. Before this checkin, the application can not receive
* events or draw to the screen. Prior to Mac OS 10.2, this 'check
* in' happened before the applications's main() function was
* entered. In Mac OS 10.2 and later, this 'check in' does not
* happen until the first time the application calls a Process
* Manager function, or until it enters CFRunLoopRun() for the main
* runloop. This allows tools and other executables which do not
* need to receive events to link against more of the higher level
* toolbox frameworks, but may cause a problem if the application
* expects to be able to retrieve events or use CoreGraphics
* services before this checkin has occurred.
*
* An application can force the connection to the Process Manager to
* be set up by calling any Process Manager routine, but the
* recommended way to do this is to call GetCurrentProcess() to ask
* for the current application's PSN. This will initialize the
* connection to the Process Manager if it has not already been set
* up and 'check in' the application with the system.
*
* This function is named MacGetCurrentProcess() on non Macintosh
* platforms and GetCurrentProcess on the Macintosh. However, even
* Macintosh code can use the MacGetCurrentProcess() name since
* there is a macro which maps back to GetCurrentProcess().
*
* Lastly, it is usually not necessary to call GetCurrentProcess()
* to get the 'current' process psn merely to pass it to another
* Process Manager routine. Instead, just construct a
* ProcessSerialNumber with 0 in highLongOfPSN and kCurrentProcess
* in lowLongOfPSN and pass that. For example, to make the current
* process the frontmost process, use ( C code follows )
*
* ProcessSerialNumber psn = { 0, kCurrentProcess };
*
* OSErr err = SetFrontProcess( & psn );
*
* If you need to pass a ProcessSerialNumber to another application
* or use it in an AppleEvent, you do need to get the canonical PSN
* with this routine.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* PSN:
* Pass in where the current application process serial number
* should be returned.
*
* Result:
* An operating system status code.
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
#if TARGET_OS_MAC
#define MacGetCurrentProcess GetCurrentProcess
#endif
extern OSErr
MacGetCurrentProcess(ProcessSerialNumber * PSN) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* GetFrontProcess()
*
* DEPRECATED
* Use +[NSWorkspace runningApplications] and look for the entry with
* isActive == YES.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
extern OSErr
GetFrontProcess(ProcessSerialNumber * PSN) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* GetNextProcess()
*
* DEPRECATED:
* Use +[NSWorkspace runningApplications:] which returns the full array of all running applications.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
extern OSErr
GetNextProcess(ProcessSerialNumber * PSN) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* GetProcessInformation()
*
* DEPRECATED:
* Use NSRunningApplication, which returns most of this information.
*
* Discussion:
* Fill in the provided record with information about the process
* with the provided process serial number.
*
* The caller must fill in the .processInfoLength field with the
* value sizeof ( ProcessInformationRecord ) before making this
* call. Also, the .processName field must point to either NULL or
* to a Str31 structure in the caller's memory space, and the
* .processAppSpec field must point to a FSSpec in the caller's
* memory space.
*
* If the caller does not care about the process name or the process
* application spec values, then setting those fields in the
* structure to NULL before this call means less work must be done
* to construct these values and so the call is more
* efficient.
*
* The processName field may not be what you expect, especially if
* an application has a localized name. The .processName field, if
* not NULL, on return will contain the filename part of the
* executable file of the application. If you want the localized,
* user-displayable name for an application, call
* CopyProcessName().
*
* On Mac OS X, the processSize and processFreeMem fields are
* returned with the value 0.
*
* On Mac OS X 10.6 and later, the processLaunchDate field is an
* integer value with the same scale as CFAbsoluteTime. Prior
* releases used a value in 60th of a second with a random zero
* time, making it difficult to use. Since most applications just
* look at the comparison from this field to other launch dates this
* change should not affect many applications.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* PSN:
* Pass in the process serial number of the process to return
* information for.
*
* info:
* Pass in a structure where the information will be returned.
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
extern OSErr
GetProcessInformation(
const ProcessSerialNumber * PSN,
ProcessInfoRec * info) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* ProcessInformationCopyDictionary()
*
* Deprecated:
* Use NSRunningApplication, which returns most of this information.
*
* Discussion:
* Return a CFDictionary containing information about the given
* process. This is intended to return a superset of the information
* returned by GetProcessInformation(), in more modern datatypes.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* PSN:
* Pass in the process serial number of the process to return
* information for.
*
* infoToReturn:
* Pass in the value kProcessDictionaryIncludeAllInformationMask.
*
* Result:
* An immutable CFDictionaryRef containing these keys and their
* values. Keys marked with a '*' are optional. Over time more keys
* may be added.
*
* Key Name Type
* -------- ----
* "PSN" CFNumber, kCFNumberLongLongType
* "Flavor" CFNumber, kCFNumberSInt32. A hint
* as to the flavor of the application. Note that this should only
* be used as a hint, since a bundle of a different flavor might be
* loaded into an application's address space. The assigned values
* at present are: Mac OS Classic aplications have the value 0,
* Carbon applications have the value 2, Cocoa applications have the
* value 3. Other undocumented values may also be returned.
* "Attributes" CFNumber, kCFNumberSInt32
* "ParentPSN" * CFNumber, kCFNumberLongLong
* "FileType" * CFString, file type
* "FileCreator" * CFString, file creator
* "pid" * CFNumber, kCFNumberLongType
* "LSBackgroundOnly" CFBoolean
* "LSUIElement" CFBoolean
* "IsHiddenAttr" CFBoolean
* "IsCheckedInAttr" CFBoolean
* "RequiresCarbon" CFBoolean
* "LSUserQuitOnly" * CFBoolean
* "LSUIPresentationMode" CFNumber, kCFNumberShortType
* "BundlePath" * CFString
* kCFBundleExecutableKey * CFString
* kCFBundleNameKey * CFString
* kCFBundleIdentifierKey * CFString
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x
* Non-Carbon CFM: not available
*/
extern CFDictionaryRef
ProcessInformationCopyDictionary(
const ProcessSerialNumber * PSN,
UInt32 infoToReturn) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* SetFrontProcess()
*
* Deprecated:
* To make your own application frontmost, use
* [[NSApplication sharedApplication] activateIgnoringOtherApps: YES].
* To make another application frontmost, use the activateWithOptions
* method of the appropriate NSRunningApplication object for that
* application.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
extern OSErr
SetFrontProcess(const ProcessSerialNumber * PSN) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* Summary:
* Options for SetFrontProcessWithOptions
*/
enum {
/*
* Activate the process, but bring only the frontmost non-floating
* window forward. If this option is not set, all process windows are
* brought forward.
*/
kSetFrontProcessFrontWindowOnly = (1 << 0),
kSetFrontProcessCausedByUser = (1 << 1) /* indicates that direct user activity is causing this SetFrontProcessWithOptions() call */
};
/*
* SetFrontProcessWithOptions()
*
* Deprecated:
* See SetFrontProcess().
*
* Discussion:
* Brings a process to the front of the process list and activates
* it. This is much like the SetFrontProcess API, though we allow
* more control here. Passing 0 for the options is equivalent to
* calling SetFrontProcess. Alternatively, you can pass
* kSetFrontProcessFrontWindowOnly, which will activate a process
* without bringing all of the process's windows forward (just the
* front window of the process will come forward).
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* inProcess:
* The process to make frontmost.
*
* inOptions:
* Any options you wish to specify.
*
* Result:
* An operating system status code.
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
SetFrontProcessWithOptions(
const ProcessSerialNumber * inProcess,
OptionBits inOptions) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* WakeUpProcess()
*
* Deprecated:
* This is not needed on Mac OS X.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
extern OSErr
WakeUpProcess(const ProcessSerialNumber * PSN) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* SameProcess()
*
* Deprecated:
* Since ProcessSerialNumber structures are no longer needed, this is no need for a replacement.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
extern OSErr
SameProcess(
const ProcessSerialNumber * PSN1,
const ProcessSerialNumber * PSN2,
Boolean * result) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* ExitToShell()
*
* Deprecated:
* Use exit( 0 )
*
* Discussion:
* In general, you need to call ExitToShell only if you want your
* application to terminate without reaching the end of its main
* function.
*
* The ExitToShell function terminates the calling process. The
* Process Manager removes your application from the list of open
* processes and performs any other necessary cleanup operations. If
* necessary, the Application Died Apple event is sent to the
* process that launched your application.
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.0 and later
* Non-Carbon CFM: in InterfaceLib 7.1 and later
*/
#if __GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ >= 5
void ExitToShell( void ) __attribute__ (( __noreturn__ )) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
#else
void ExitToShell( void ) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
#endif
/*
* KillProcess()
*
* Deprecated:
* Use the terminate method on the NSRunningApplication you want to exit.
*
* Discussion:
* Kills the process with the given process serial number, without
* sending it a 'quit' AppleEvent or otherwise allowing it to save
* user data or clean up. This should be a last resort way to 'kill'
* an application, after all other attempts to make it stop have
* failed. It is not guaranteed that this will succeed and that the
* target application will be killed, even if this function returns
* noErr and seems to work.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* inProcess:
* The process to kill.
*
* Result:
* An operating system status code.
*
* Availability:
* Mac OS X: in version 10.2 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x
* Non-Carbon CFM: not available
*/
extern OSErr
KillProcess(const ProcessSerialNumber * inProcess) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
LaunchControlPanel is similar to LaunchDeskAccessory, but for Control Panel files instead.
It launches a control panel in an application shell maintained by the Process Manager.
*/
#if !__LP64__
/*
* LaunchControlPanel()
*
* Availability:
* Mac OS X: not available [32-bit only]
* CarbonLib: not available
* Non-Carbon CFM: in InterfaceLib 9.0 and later
*/
#endif /* !__LP64__ */
/*
* GetProcessBundleLocation()
*
* Deprecated:
* Use the bundleURL property of the appropriate NSRunningApplication object.
*
* Summary:
* Retrieve the filesystem location of the process bundle, or
* executable if unbundled.
*
* Discussion:
* Retrieves a reference to the filesystem location of the specified
* application. For an application that is packaged as an app
* bundle, this will be the app bundle directory; otherwise it will
* be the location of the executable itself.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* psn:
* Serial number of the target process
*
* location:
* Location of the bundle or executable, as an FSRef
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.5 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
GetProcessBundleLocation(
const ProcessSerialNumber * psn,
FSRef * location) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* CopyProcessName()
*
* Deprecated:
* Use the localizedName property of the appropriate NSRunningApplication object.
*
* Summary:
* Get a copy of the name of a process.
*
* Discussion:
* Use this call to get the name of a process as a CFString. The
* name returned is a copy, so the caller must CFRelease the name
* when finished with it. The difference between this call and the
* processName field filled in by GetProcessInformation is that the
* name here is a CFString, and thus is capable of representing a
* multi-lingual name, whereas previously only a mac-encoded string
* was possible.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* psn:
* Serial number of the target process
*
* name:
* CFString representing the name of the process (must be released
* by caller with CFRelease)
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.5 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
CopyProcessName(
const ProcessSerialNumber * psn,
CFStringRef * name) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* GetProcessPID()
*
* Deprecated:
* Use the processIdentifier property of the appropriate NSRunningApplication object.
*
* Summary:
* Get the UNIX process ID corresponding to a process.
*
* Discussion:
* Given a Process serial number, this call will get the UNIX
* process ID for that process. Note that this call does not make
* sense for Classic apps, since they all share a single UNIX
* process ID.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* psn:
* Serial number of the target process
*
* pid:
* UNIX process ID of the process
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
GetProcessPID(
const ProcessSerialNumber * psn,
pid_t * pid) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* GetProcessForPID()
*
* Deprecated:
* Use +[NSRunningApplication runningApplicationWithProcessIdentifier:].
*
* Summary:
* Get the process serial number corresponding to a UNIX process ID.
*
* Discussion:
* Given a UNIX process ID, this call will get the process serial
* number for that process, if appropriate. Note that this call does
* not make sense for Classic apps, since they all share a single
* UNIX process ID.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* psn:
* Serial number of the process
*
* pid:
* UNIX process ID of the target process
*
* Availability:
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
GetProcessForPID(
pid_t pid,
ProcessSerialNumber * psn) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*************************************************************************
* Process Visibility.
*************************************************************************/
/*
* IsProcessVisible()
*
* Deprecated:
* Use the isHidden property of the appropriate NSRunningApplication object.
*
* Summary:
* Determines whether a particular process is visible or not.
*
* Discussion:
* Given a psn, this call will return true or false depending on
* whether or not the process is currently visible.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* psn:
* Serial number of the process
*
* Availability:
* Mac OS X: in version 10.1 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.5 and later
* Non-Carbon CFM: not available
*/
extern Boolean
IsProcessVisible(const ProcessSerialNumber * psn) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* ShowHideProcess()
*
* Deprecated:
* Use the hide or unhide methods of the appropriate NSRunningApplication object.
*
* Summary:
* Hides or shows a given process.
*
* Discussion:
* Given a psn, this call will hide or show the process specified in
* the psn parameter. You determine whether you would like to show
* or hide the process with the visible parameter. True passed into
* visible indicates you wish for the process to become visible.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* psn:
* Serial number of the process
*
* visible:
* true = show process; false = hide process
*
* Availability:
* Mac OS X: in version 10.1 and later in ApplicationServices.framework
* CarbonLib: in CarbonLib 1.5 and later
* Non-Carbon CFM: not available
*/
extern OSErr
ShowHideProcess(
const ProcessSerialNumber * psn,
Boolean visible) AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
/*
* TransformProcessType()
*
* Summary:
* Changes the 'type' of the process specified in the psn parameter.
* The type is specified in the transformState parameter.
*
* Discussion:
* Given a psn for an application, this call transforms that
* application into the given type. Foreground applications have a
* menu bar and appear in the Dock. Background applications do not
* appear in the Dock, do not have a menu bar ( and should not have
* windows or other user interface ). UIElement applications do not
* have a menu bar, do not appear in the dock, but may in limited
* circumstances present windows and user interface. If a foreground
* application is frontmost when transformed into a background
* application, it is first hidden and another application is made
* frontmost. A UIElement or background-only application which is
* transformed into a foreground application is not brought to the
* front (use SetFrontProcess() after the transform if this is
* required) nor will it be shown if it is hidden ( even if hidden
* automatically by being transformed into a background-only
* application ), so the caller should use ShowHideProcess() to show
* the application after it is transformed into a foreground
* application. Applications can only transform themselves; this
* call cannot change the type of another application.
*
* Mac OS X threading:
* Thread safe since version 10.3
*
* Parameters:
*
* psn:
* Serial number of the process
*
* transformState:
* state to tranform the application to.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x
* Non-Carbon CFM: not available
*/
extern OSStatus
TransformProcessType(
const ProcessSerialNumber * psn,
ProcessApplicationTransformState transformState) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/* Values of the 'message' parameter to a Control Panel 'cdev' */
enum {
initDev = 0, /*Time for cdev to initialize itself*/
hitDev = 1, /*Hit on one of my items*/
closeDev = 2, /*Close yourself*/
nulDev = 3, /*Null event*/
updateDev = 4, /*Update event*/
activDev = 5, /*Activate event*/
deactivDev = 6, /*Deactivate event*/
keyEvtDev = 7, /*Key down/auto key*/
macDev = 8, /*Decide whether or not to show up*/
undoDev = 9,
cutDev = 10,
copyDev = 11,
pasteDev = 12,
clearDev = 13,
cursorDev = 14
};
/* Special values a Control Panel 'cdev' can return */
enum {
cdevGenErr = -1, /*General error; gray cdev w/o alert*/
cdevMemErr = 0, /*Memory shortfall; alert user please*/
cdevResErr = 1, /*Couldn't get a needed resource; alert*/
cdevUnset = 3 /* cdevValue is initialized to this*/
};
/* Control Panel Default Proc */
#pragma pack(pop)
#ifdef __cplusplus
}
#endif
#endif /* __PROCESSES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h | /*
* AXValue.h
* Accessibility
*
* Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
*
*/
#ifndef __AXVALUE__
#define __AXVALUE__
#include <AvailabilityMacros.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <CoreServices/CoreServices.h>
#include <CoreFoundation/CoreFoundation.h>
CF_ASSUME_NONNULL_BEGIN
CF_IMPLICIT_BRIDGING_ENABLED
/* Need discussion for following */
/*! @header AXValue.h
@discussion
This header contains functions and data types for
working with AXValueType wrappers.
*/
/*!
@enum AXValueType Wrappers
@discussion
These are AXValueType wrappers for other structures. You must use the AXValueCreate
and AXValueGetValue functions to convert between the wrapped structure and the native structure.
@constant kAXValueTypeCGPoint a wrapper for CGPoint; see CoreGraphics.h
@constant kAXValueTypeCGSize a wrapper for CGSize; see CoreGraphics.h
@constant kAXValueTypeCGRect a wrapper for CGRect; see CoreGraphics.h
@constant kAXValueTypeCFRange a wrapper for CFRange; see CFBase.h
@constant kAXValueTypeAXError See AXError.h
@constant kAXValueTypeIllegal a wrapper for unsupported structures
*/
typedef CF_ENUM(UInt32, AXValueType) {
kAXValueTypeCGPoint CF_ENUM_AVAILABLE_MAC(10_11) = 1,
kAXValueTypeCGSize CF_ENUM_AVAILABLE_MAC(10_11) = 2,
kAXValueTypeCGRect CF_ENUM_AVAILABLE_MAC(10_11) = 3,
kAXValueTypeCFRange CF_ENUM_AVAILABLE_MAC(10_11) = 4,
kAXValueTypeAXError CF_ENUM_AVAILABLE_MAC(10_11) = 5,
kAXValueTypeIllegal CF_ENUM_AVAILABLE_MAC(10_11) = 0,
};
// Legacy constants will be deprecated shortly. Please switch to using AXValueType
static const UInt32 kAXValueCGPointType = kAXValueTypeCGPoint;
static const UInt32 kAXValueCGSizeType = kAXValueTypeCGSize;
static const UInt32 kAXValueCGRectType = kAXValueTypeCGRect;
static const UInt32 kAXValueCFRangeType = kAXValueTypeCFRange;
static const UInt32 kAXValueAXErrorType = kAXValueTypeAXError;
static const UInt32 kAXValueIllegalType = kAXValueTypeIllegal;
/* Need discussion for following */
/*!
@typedef AXValueRef
*/
typedef const struct CF_BRIDGED_TYPE(id) __AXValue *AXValueRef;
/* Need discussion for following */
/*!
@function AXValueGetTypeID
@result
@availability Mac OS X version 10.3 or later
*/
extern CFTypeID AXValueGetTypeID() AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*!
@function AXValueCreate
@discussion
Encodes a structure pointed to by valuePtr into a CFTypeRef.
@param theType
@param valuePtr
@result
*/
extern AXValueRef __nullable AXValueCreate (AXValueType theType, const void *valuePtr);
/*!
@function AXValueGetType
@discussion
Returns the structure type encoded in value. If the type is not recognized, it returns kAXValueIllegalType.
@param value
@result
*/
extern AXValueType AXValueGetType(AXValueRef value);
/*!
@function AXValueGetValue
@discussion
Decodes the structure stored in value and copies it into valuePtr. If the structure stored in value is not
the same as requested by theType, the function returns false.
@param value
@result
*/
extern Boolean AXValueGetValue(AXValueRef value, AXValueType theType, void *valuePtr);
CF_IMPLICIT_BRIDGING_DISABLED
CF_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif // __AXVALUE__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Pasteboard.h | /*
File: HIServices/Pasteboard.h
Contains: Pasteboard Manager Interfaces.
Copyright: � 2003-2012 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __PASTEBOARD__
#define __PASTEBOARD__
#ifndef __COREFOUNDATION__
#include <CoreFoundation/CoreFoundation.h>
#endif
#ifndef __CGGEOMETRY__
#include <CoreGraphics/CGGeometry.h>
#endif
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
CF_ASSUME_NONNULL_BEGIN
CF_IMPLICIT_BRIDGING_ENABLED
/*
* Pasteboard Manager
*
* Discussion:
* Pasteboard Manager is the replacement of the Scrap and Drag
* flavor APIs. Like the Scrap Manager, it is a cross process data
* transport mechanism. Unlike the Drag Manager, it is not bound to
* particular high level user actions to initiate and resolve the
* data transport. This allows the Pasteboard Manager to be used as
* the data transport mechanism for copy and paste, drag and drop,
* services, as well as generic cross process communication.
*
*
* Like scraps, pasteboards are local references to global, cross
* process, resources. Although, where scraps exist forever,
* pasteboard are CFTypes and should be released at the end of their
* usefulness. Multiple pasteboard references in a single
* application may point to the same global pasteboard resource.
* Once the global pasteboard resource has been cleared, all
* pasteboard references to that global resource in the application
* share ownership allowing any of them to add data to the
* pasteboard. Of course, this is not a free for all. Once a flavor
* has been added it can not be overwritten by another local
* reference. Calling CFRelease() on any one of these references
* will implicitly call in promises, but only those made through the
* particular pasteboard reference being released. In this way,
* local pasteboard references in various components of the
* application can add data, make promises, keep those promises, and
* release their local pasteboard reference independently of the
* other components.
*
* For long lived pasteboards, like the clipboard or find
* pasteboards, the suggested usage model is for a component to
* create a local reference to a pasteboard at the beginning of its
* life cycle, hold on to it, and release it at the end of its life
* cycle. As long as a pasteboard reference in any application still
* points to the global pasteboard resource, the global resource
* will not be released. When the final reference is released,
* promises will not be called in as the global pasteboard resource
* will be released. Only if you want to guarantee a global
* pasteboard resource continues to exist beyond the life of your
* application should you refrain from calling CFRelease(). In this
* case, be sure to call PasteboardResolvePromises() to make sure
* any promises are called in. This is not necessary for the
* clipboard and find pasteboards as they are retained by the system
* and never released.
*
* Like the Drag Manager, the Pasteboard Manager allows the use of
* multiple items each with its own set of flavors. When using the
* clipboard or find pasteboards, it's traditionally been common to
* only use the first item, but now multiple items can be copied as
* is the case in the Finder. This also opens up the ability for
* services to act on multiple items. Another difference from both
* the Scrap and Drag Managers is the use of Uniform Type Identifier
* based flavor types rather than four character code OSTypes. These
* have several advantages. They allow compatibility with Cocoa's
* NSPasteboard, more accurately describe the data being
* transported, provide a type inheritance mechanism and allow
* namespacing with a reverse DNS scheme.
*/
typedef struct CF_BRIDGED_TYPE(id) OpaquePasteboardRef* PasteboardRef;
typedef void * PasteboardItemID;
/* Pasteboard Manager error codes*/
enum {
badPasteboardSyncErr = -25130, /* pasteboard has been modified and must be synchronized*/
badPasteboardIndexErr = -25131, /* item index does not exist*/
badPasteboardItemErr = -25132, /* item reference does not exist*/
badPasteboardFlavorErr = -25133, /* item flavor does not exist*/
duplicatePasteboardFlavorErr = -25134, /* item flavor already exists*/
notPasteboardOwnerErr = -25135, /* client did not clear the pasteboard*/
noPasteboardPromiseKeeperErr = -25136 /* a promise is being added without a promise keeper*/
};
/*
* PasteboardSyncFlags
*
* Summary:
* The following constants are used by the PasteboardSynchronize()
* routine to indicate the status of the local pasteboard reference
* in relation to the global, cross process pasteboard resource.
*/
typedef CF_OPTIONS(OptionBits, PasteboardSyncFlags) {
/*
* Indicates that the global pasteboard resource has been modified
* since the last time it was accessed via the local pasteboard
* reference. The call to PasteboardSynchronize() has updated the
* local pasteboard reference to sync it up with the global resource.
* This is a good time to see what new information has been placed on
* the pasteboard to determine whether any tasty flavors have been
* added and possibly enable pasting.
*/
kPasteboardModified = (1 << 0),
/*
* Indicates that the global pasteboard resource was most recently
* cleared by the this application. Any local pasteboard reference in
* the client application may add data to the global pasteboard
* resource.
*/
kPasteboardClientIsOwner = (1 << 1)
};
/*
* Pasteboard File Promising
*
* Summary:
* With the FSSpec type being deprecated and removed for 64 bit it is necessary
* to introduce a replacement for kDragFlavorTypePromiseHFS. The replacement comes
* in the form of two new Uniform Type Identifiers specifically for use with the
* pasteboard and promised files. Like the old HFS promise mechanism, the new UTI
* based method still requires a multistage handshake between sender and receiver
* but the process is somewhat simplified.
*
* Order of operations on copy or drag
*
* 1) The sender promises kPasteboardTypeFileURLPromise for a file yet to be created.
* 2) The sender adds kPasteboardTypeFilePromiseContent containing the UTI describing
* the file's content.
*
* Order of operations on paste or drop
*
* 3) The receiver asks for kPasteboardTypeFilePromiseContent to decide if it wants the file.
* 4) The receiver sets the paste location with PasteboardSetPasteLocation.
* 5) The receiver asks for kPasteboardTypeFileURLPromise.
* 6) The sender's promise callback for kPasteboardTypeFileURLPromise is called.
* 7) The sender uses PasteboardCopyPasteLocation to retrieve the paste location, creates the file
* and keeps its kPasteboardTypeFileURLPromise promise.
*
* Automatic translation support has been added so clients operating in the modern
* kPasteboardTypeFileURLPromise and kPasteboardTypeFilePromiseContent world can continue
* to communicate properly with clients using the traditional kDragFlavorTypePromiseHFS and
* kDragPromisedFlavor model.
*/
/*
* kPasteboardTypeFileURLPromise
*
* Discussion:
* A UTF-8 encoded promised file url on the pasteboard to a file
* which does not yet exist.
*/
#define kPasteboardTypeFileURLPromise CFSTR("com.apple.pasteboard.promised-file-url")
/*
* kPasteboardTypeFilePromiseContent
*
* Discussion:
* A UTF-8 encoded UTI describing the type of data to be contained
* within the promised file.
*/
#define kPasteboardTypeFilePromiseContent CFSTR("com.apple.pasteboard.promised-file-content-type")
/*
* PasteboardFlavorFlags
*
* Summary:
* Pasteboard Flavor Flags
*
* Discussion:
* The following constants are used to tag pasteboard item flavors
* with bits of useful information. The first five are settable by
* the client via PasteboardPutItemFlavor(). They may all be
* received via PasteboardGetItemFlavorFlags().
*/
typedef CF_OPTIONS(OptionBits, PasteboardFlavorFlags) {
/*
* No additional information exists for this flavor.
*/
kPasteboardFlavorNoFlags = 0,
/*
* Only the process which has added this flavor can see it. If the
* process that owns the pasteboard places this flag on a flavor
* you'll never see it as the receiver so there's no reason to test
* for it.
*/
kPasteboardFlavorSenderOnly = (1 << 0),
/*
* The data for this flavor was translated in some manner by the
* sender before adding it to the pasteboard. Flavors marked with
* this flag are not stored by the Finder in clipping files.
*/
kPasteboardFlavorSenderTranslated = (1 << 1),
/*
* Set by the sender if the flavor data should not be saved by the
* receiver. The data contained may become stale after the end of the
* drag. Flavors marked with this flag are not stored by the Finder
* in clipping files.
*/
kPasteboardFlavorNotSaved = (1 << 2),
/*
* Like kPasteboardFlavorSenderOnly, when the sender adds this flag,
* the presence of this flavor will not be made known when
* PasteboardCopyItemFlavors() is called by the receiver. However,
* the flavor flags and data can be accessed when explicitly
* requested via PasteboardGetItemFlavorFlags() or
* PasteboardCopyItemFlavorData(). This allows a suite of
* applications to communicate without exporting their method of
* communication.
*/
kPasteboardFlavorRequestOnly = (1 << 3),
/*
* The data for this flavor is provided by the Translation Manager as
* a convenience to receivers. Flavors marked with this flag are not
* stored by the Finder in clipping files. This flag can not be added
* by clients. It is automatically added by the Pasteboard Manager
* when appropriate.
*/
kPasteboardFlavorSystemTranslated = (1 << 8),
/*
* The data for this flavor has not yet been added to the pasteboard
* by the sender. This may have been done as a performance measure if
* the data is expensive to generate. A request by the receiver to
* obtain the data will cause the promise to be kept by the sender.
* This flag can not be added by clients. It is automatically added
* by the Pasteboard Manager when appropriate.
*/
kPasteboardFlavorPromised = (1 << 9)
};
/*
* PasteboardStandardLocation
*
* Summary:
* Pasteboard Standard Drop Locations
*
* Discussion:
* The following constants define common "meta" paste locations.
*/
typedef CF_ENUM(OSType, PasteboardStandardLocation) {
/*
* The paste or drop location was in the trash. This is set when a
* drag is dropped on the trash icon or a paste occurs within the
* trash. Setting this standard paste location sets the traditional
* paste location to an alias to the trash folder automatically.
*/
kPasteboardStandardLocationTrash = 'trsh',
/*
* The receiver did not specify a paste location. This is the default.
*/
kPasteboardStandardLocationUnknown = 'unkn'
};
/*
* PasteboardGetTypeID()
*
* Summary:
* Returns the CFType identifier for a pasteboard object.
*
* Mac OS X threading:
* Not thread safe
*
* Result:
* A CFTypeID unique to pasteboard instances.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern CFTypeID
PasteboardGetTypeID(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
#define kPasteboardClipboard CFSTR("com.apple.pasteboard.clipboard")
#define kPasteboardFind CFSTR("com.apple.pasteboard.find")
#define kPasteboardUniqueName (CFStringRef)NULL
/*
* PasteboardCreate()
*
* Summary:
* Creates a local pasteboard reference to the global pasteboard
* resource of the same name.
*
* Discussion:
* If the the global pasteboard resource doesn't yet exist,
* PasteboardCreate creates a new one with the provided name.
* Pasteboard names are typically represented in a reverse DNS
* scheme (i.e., com.apple.pasteboard.clipboard). Multiple local
* pasteboard references may point to the same global pasteboard
* resource within an application. An application, window, plug-in,
* or object may each hold separate references. These should be held
* and used for the life time of the objects. Pasteboard references
* are CFTypes. Their memory should be released by calling
* CFRelease(). CFRelease() automatically resolves all promises made
* to the global pasteboard resource through the reference being
* released.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inName:
* The name of the pasteboard to reference or create. Passing
* kPasteboardUniqueName, or NULL, will guarantee that a new
* global pasteboard resource is created. kPasteboardClipboard is
* the traditional copy and paste pasteboard. kPasteboardFind is
* compatible with Cocoa's global find pasteboard.
*
* outPasteboard:
* The created pasteboard reference.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardCreate(
CFStringRef _Nullable inName, /* can be NULL */
PasteboardRef _Nullable * _Nonnull outPasteboard CF_RETURNS_RETAINED) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardSynchronize()
*
* Summary:
* Compares a local pasteboard reference with the global pasteboard
* resource to which it refers, determining whether the global
* pasteboard resource has been modified. If so, it updates the
* local pasteboard reference to reflect the change. The pasteboard
* reference provided is always brought up to date. This routine is
* lightweight whether a synchronization is required or not.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* Result:
* A set of pasteboard synchronization flags.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern PasteboardSyncFlags
PasteboardSynchronize(PasteboardRef inPasteboard) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardClear()
*
* Summary:
* Clears all data from the global pasteboard resource associated
* with the pasteboard reference provided. The application now owns
* the pasteboard and data may be placed onto the global pasteboard
* resource from all local pasteboards in the client application
* which reference it. PasteboardClear must be called before the
* pasteboard can be modified.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardClear(PasteboardRef inPasteboard) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardCopyName()
*
* Summary:
* Copies the name of the given pasteboard. Useful for discovering
* the name of a uniquely named pasteboard so other processes may
* access it.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* outName:
* On return, a CFString reference to the pasteboard's name. This
* string must be released by the client.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.4 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.4 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardCopyName(
PasteboardRef inPasteboard,
CFStringRef _Nullable * _Nonnull outName CF_RETURNS_RETAINED) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
/*
* PasteboardGetItemCount()
*
* Summary:
* Returns the number of items on the pasteboard.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* outItemCount:
* An ItemCount reference which receives number of pasteboard
* items.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardGetItemCount(
PasteboardRef inPasteboard,
ItemCount * outItemCount) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardGetItemIdentifier()
*
* Summary:
* Returns the item identifier for the nth pasteboard item.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* inIndex:
* A 1-based CFIndex requesting the nth pasteboard item reference.
*
* outItem:
* A PasteboardItemID which receives the nth pasteboard item
* reference.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardGetItemIdentifier(
PasteboardRef inPasteboard,
CFIndex inIndex,
PasteboardItemID _Nullable * _Nonnull outItem) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardCopyItemFlavors()
*
* Summary:
* Returns the array of flavors for the provided pasteboard
* reference.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* inItem:
* A pasteboard item identifier containing the flavors of interest.
*
* outFlavorTypes:
* A CFArrayRef reference which receives the array of Uniform Type
* Identifier based flavor types. It is the client's
* responsibility to release the flavor array via CFRelease().
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardCopyItemFlavors(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFArrayRef _Nullable * _Nonnull outFlavorTypes CF_RETURNS_RETAINED) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardGetItemFlavorFlags()
*
* Summary:
* Returns the array of flags for the provided flavor, including
* implicit translations included by the system automatically.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* inItem:
* A pasteboard item identifier containing the flavor of interest.
*
* inFlavorType:
* A Uniform Type Identifier based flavor type whose flags are
* being interrogated.
*
* outFlags:
* A PasteboardFlavorFlags reference which receives the flavor
* flags.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardGetItemFlavorFlags(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
PasteboardFlavorFlags * outFlags) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardCopyItemFlavorData()
*
* Summary:
* Returns the data for the provided flavor.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* inItem:
* A pasteboard item identifier containing the flavor of interest.
*
* inFlavorType:
* A Uniform Type Identifier-based flavor type whose data is being
* retrieved.
*
* outData:
* A CFDataRef reference which receives the flavor data. It is the
* client's responsibility to release the data via CFRelease().
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardCopyItemFlavorData(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
CFDataRef _Nullable * _Nonnull outData CF_RETURNS_RETAINED) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
#define kPasteboardPromisedData (CFDataRef)NULL
/*
* PasteboardPutItemFlavor()
*
* Summary:
* Adds flavor data or a promise to the global pasteboard resource.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* inItem:
* A pasteboard item identifier in which to add the data or
* promise. Pasteboard item identifiers are unique values created
* by the owning application when adding pasteboard item flavor
* information to a drag. Additional flavors may be added to an
* existing item by using the same item identifier value.
* Depending on the application, it might be easier to use
* internal memory addresses as item identifiers (as long as each
* item being added has a unique item reference number).
* Pasteboard item identifiers should only be interpreted by the
* owning application.
*
* inFlavorType:
* A Uniform Type Identifier based flavor type associated with the
* data. If multiple flavors are to be added to an item, the
* owning application should add them in order of preference or
* richness as determined by the owing application. The ordering
* will be retained when viewed by the receiving application.
*
* inData:
* A CFDataRef reference which receives the flavor data. Passing
* kPasteboardPromisedData, or NULL, indicates the data is
* promised. This is useful if the data is expensive to generate.
* Making promises requires the sender to also implement a promise
* keeper which must be set before the promise is made.
*
* inFlags:
* A PasteboardFlavorFlags set of flags to attach to the data.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardPutItemFlavor(
PasteboardRef inPasteboard,
PasteboardItemID inItem,
CFStringRef inFlavorType,
CFDataRef _Nullable inData, /* can be NULL */
PasteboardFlavorFlags inFlags) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardCopyPasteLocation()
*
* Summary:
* Called by the owner of a pasteboard while providing promised data
* to determine the paste location set by the pasteboard receiver.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* outPasteLocation:
* A CFURL reference describing the paste location. It is the
* client's responsibility to release the data via CFRelease().
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardCopyPasteLocation(
PasteboardRef inPasteboard,
CFURLRef _Nullable * _Nonnull outPasteLocation CF_RETURNS_RETAINED) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardSetPasteLocation()
*
* Summary:
* Called by the receiver of a pasteboard before requesting any item
* flavor data via PasteboardCopyItemFlavorData. When a sending
* application's pasteboard promise keeper is called to provide data
* to the receiver, PasteboardGetDropLocation can be called to
* determine the paste location while providing data.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* A local pasteboard reference.
*
* inPasteLocation:
* A CFURL describing the paste location.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardSetPasteLocation(
PasteboardRef inPasteboard,
CFURLRef inPasteLocation) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* PasteboardPromiseKeeperProcPtr
*
* Summary:
* Callback for providing data previously promised on the pasteboard.
*
* Parameters:
*
* pasteboard:
* The local pasteboard reference on which the promise was made.
*
* item:
* The pasteboard item identifier containing the promised flavor.
*
* flavorType:
* The Uniform Type Identifier based flavor type for which the
* promised data is being requested.
*
* context:
* The value passed as the context in PasteboardSetPromiseKeeper().
*
* Result:
* An operating system result code.
*/
typedef CALLBACK_API_C( OSStatus , PasteboardPromiseKeeperProcPtr )(PasteboardRef pasteboard, PasteboardItemID item, CFStringRef flavorType, void * _Nullable context);
/*
* PasteboardSetPromiseKeeper()
*
* Summary:
* Associates a promise keeper callback with a local pasteboard
* reference. The promise keeper must be set before a promise is
* made.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* The local pasteboard reference on which promises will be made.
*
* inPromiseKeeper:
* A PasteboardPromiseKeeperProcPtr promise keeper proc.
*
* inContext:
* The value passed in this parameter is passed on to your promise
* keeper proc when it is called.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardSetPromiseKeeper(
PasteboardRef inPasteboard,
PasteboardPromiseKeeperProcPtr inPromiseKeeper,
void * _Nullable inContext) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
#define kPasteboardResolveAllPromises (PasteboardRef)NULL
/*
* PasteboardResolvePromises()
*
* Summary:
* Resolves promises on the provided local pasteboard reference. If
* multiple local pasteboard references to the same global
* pasteboard resource exist, only those promises made through the
* provided reference are resolved.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inPasteboard:
* The local pasteboard reference for which promises will be
* resolved. Passing kPasteboardResolveAllPromises, or NULL, will
* cause all promises on all global pasteboard resources currently
* owned by this application to be resolved.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
PasteboardResolvePromises(PasteboardRef inPasteboard) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
CF_IMPLICIT_BRIDGING_DISABLED
CF_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif /* __PASTEBOARD__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h | /*
File: HIServices/HIServices.h
Contains: Master include for HIServices framework
Copyright: 2002-2018 by Apple, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __HISERVICES__
#define __HISERVICES__
#include <TargetConditionals.h>
#ifndef __CORESERVICES__
#include <CoreServices/CoreServices.h>
#endif
#if TARGET_OS_OSX
#ifndef __HISHAPE__
#include <HIServices/HIShape.h>
#endif
#ifndef __ICONS__
#include <HIServices/Icons.h>
#endif
#ifndef __INTERNETCONFIG__
#include <HIServices/InternetConfig.h>
#endif
#ifndef __PROCESSES__
#include <HIServices/Processes.h>
#endif
#ifndef __PASTEBOARD__
#include <HIServices/Pasteboard.h>
#endif
#ifndef __TRANSLATIONSERVICES__
#include <HIServices/TranslationServices.h>
#endif
#ifndef __ACCESSIBILITY__
#include <HIServices/Accessibility.h>
#endif
#ifndef __UNIVERSALACCESS__
#include <HIServices/UniversalAccess.h>
#endif
#endif
#endif /* __HISERVICES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXNotificationConstants.h | /*
* AXNotificationConstants.h
* HIServices
*
* Copyright (c) 2004, 2012 Apple Inc. All rights reserved.
*
*/
#ifndef __AXNOTIFICATIONCONSTANTS__
#define __AXNOTIFICATIONCONSTANTS__
#include <CoreFoundation/CFBase.h> /* CF_ENUM */
/*!
@header AXNotificationConstants.h
@discussion
Assistive applications can register to be notified about certain events in a target application. For example, creation of a window or the destruction
of a UIElement. To receive notifications you must first create an observer and specify a callback function; second, add the observer's run loop source
to the run loop on which you want the callback executed; and third, register the observer for one or more notifications.
When you create the observer, you specify the application being observed. An observer can receive notifications only from UIElements in that application.
To handle multiple applications, you have to create at least one observer per application.
When you register an observer for a notification, you specify the UIElement you are interested in observing. When you want to receive a notification from
any element in an application, use the application UIElement; you then receive the notification regardless of which element in the application sends the
notification. This is useful if the UIElement does not exist yet, such as when a new window is created, or if you care about state changes, such as the
keyboard focus moving, without having to observe every element separately. When the callback function is executed it is passed the UIElement that was
affected by the notification.
Observers are represented by the AXObserverRef type, which is a CFType. Like all CFTypes they are reference counted (CFRetain/CFRelease).
*/
/*-----------------------------------------*/
/*! @group Focus Notifications */
/*-----------------------------------------*/
/* Need discussion for following */
/*!
@defined kAXMainWindowChangedNotification
@abstract
Notification of a change in the main window.
@discussion
Value is the new main window UIElement or the
Application UIElement if there's no main window.
*/
#define kAXMainWindowChangedNotification CFSTR("AXMainWindowChanged")
/*!
@defined kAXFocusedWindowChangedNotification
@abstract Notification that the focused window changed.
*/
#define kAXFocusedWindowChangedNotification CFSTR("AXFocusedWindowChanged")
/*!
@defined kAXFocusedUIElementChangedNotification
@abstract Notification that the focused UI element has changed.
@discussion
Value is the new focused UIElement or
the Application UIElement if there's no focus
*/
#define kAXFocusedUIElementChangedNotification CFSTR("AXFocusedUIElementChanged")
/*-----------------------------------------*/
/*! @group Application Notifications */
/*-----------------------------------------*/
/*!
@defined kAXApplicationActivatedNotification
@abstract Notification that an application was activated.
@discussion Value is an application UIElement.
*/
#define kAXApplicationActivatedNotification CFSTR("AXApplicationActivated")
/*!
@defined kAXApplicationDeactivatedNotification
@abstract Notification that an application was deactivated.
@discussion
Value is an application UIElement
*/
#define kAXApplicationDeactivatedNotification CFSTR("AXApplicationDeactivated")
/*!
@defined kAXApplicationHiddenNotification
@abstract Notification that an application has been hidden.
@discussion
Value is an application UIElement
*/
#define kAXApplicationHiddenNotification CFSTR("AXApplicationHidden")
/*!
@defined kAXApplicationShownNotification
@abstract Notification that an application is no longer hidden.
@discussion
Value is an application UIElement
*/
#define kAXApplicationShownNotification CFSTR("AXApplicationShown")
/*-----------------------------------------*/
/*! @group Window Notifications */
/*-----------------------------------------*/
/*!
@defined kAXWindowCreatedNotification
@abstract Notification that a window was created.
@discussion
Value is a new window UIElement
*/
#define kAXWindowCreatedNotification CFSTR("AXWindowCreated")
/*!
@defined kAXWindowMovedNotification
@abstract Notification that a window moved.
@discussion
This notification is sent at the end of the window move, not continuously as the window is being moved.
Value is the moved window UIElement
*/
#define kAXWindowMovedNotification CFSTR("AXWindowMoved")
/*!
@defined kAXWindowResizedNotification
@abstract Notification that a window was resized.
@discussion
This notification is sent at the end of the window resize, not continuously as the window is being resized.
Value is the resized window UIElement
*/
#define kAXWindowResizedNotification CFSTR("AXWindowResized")
/*!
@defined kAXWindowMiniaturizedNotification
@abstract Notification that a window was minimized.
@discussion
Value is the minimized window UIElement
*/
#define kAXWindowMiniaturizedNotification CFSTR("AXWindowMiniaturized")
/*!
@defined kAXWindowDeminiaturizedNotification
@abstract Notification that a window is no longer minimized.
@discussion
Value is the unminimized window UIElement
*/
#define kAXWindowDeminiaturizedNotification CFSTR("AXWindowDeminiaturized")
/*---------------------------------------------------*/
/*! @group New Drawer, Sheet, and Help Notifications */
/*---------------------------------------------------*/
/*!
@defined kAXDrawerCreatedNotification
@abstract Notification that a drawer was created.
*/
#define kAXDrawerCreatedNotification CFSTR("AXDrawerCreated")
/*!
@defined kAXSheetCreatedNotification
@abstract Notification that a sheet was created.
*/
#define kAXSheetCreatedNotification CFSTR("AXSheetCreated")
/*!
@defined kAXHelpTagCreatedNotification
@abstract Notification that a help tag was created.
*/
#define kAXHelpTagCreatedNotification CFSTR("AXHelpTagCreated")
/*-----------------------------------------*/
/*! @group Element Notifications */
/*-----------------------------------------*/
/*!
@defined kAXValueChangedNotification
@discussion
This notification is sent when the value of the UIElement's <b>value</b> attribute has changed, not when the value of any other attribute has changed.
Value is the modified UIElement
*/
#define kAXValueChangedNotification CFSTR("AXValueChanged")
/*!
@defined kAXUIElementDestroyedNotification
@discussion
The returned UIElement is no longer valid in the target application. You can still use the local reference
with calls like CFEqual (for example, to remove it from a list), but you should not pass it to the accessibility APIs.
Value is the destroyed UIElement
*/
#define kAXUIElementDestroyedNotification CFSTR("AXUIElementDestroyed")
/*!
@defined kAXElementBusyChangedNotification
@abstract Notification that an element's busy state has changed.
@discussion
Value is the (un)busy UIElement.
*/
#define kAXElementBusyChangedNotification CFSTR("AXElementBusyChanged")
/*-----------------------------------------*/
/*! @group Menu Notifications */
/*-----------------------------------------*/
/*!
@defined kAXMenuOpenedNotification
@abstract Notification that a menu has been opened.
@discussion
Value is the opened menu UIElement.
*/
#define kAXMenuOpenedNotification CFSTR("AXMenuOpened")
/*!
@defined kAXMenuClosedNotification
@abstract Notification that a menu has been closed.
@discussion
Value is the closed menu UIElement.
*/
#define kAXMenuClosedNotification CFSTR("AXMenuClosed")
/*!
@defined kAXMenuItemSelectedNotification
@abstract Notification that a menu item has been seleted.
@discussion
Value is the selected menu item UIElement.
*/
#define kAXMenuItemSelectedNotification CFSTR("AXMenuItemSelected")
/*-----------------------------------------*/
/*! @group Table/outline notifications */
/*-----------------------------------------*/
/*! @abstract Notification that the number of rows in this table has changed.
*/
#define kAXRowCountChangedNotification CFSTR("AXRowCountChanged")
/*-----------------------------------------*/
/*! @group Outline notifications */
/*-----------------------------------------*/
/*! @abstract Notification that a row in an outline has been expanded.
@discussion
The value is the collapsed row UIElement.
*/
#define kAXRowExpandedNotification CFSTR("AXRowExpanded")
/*! @abstract Notification that a row in an outline has been collapsed.
@discussion
The value is the collapsed row UIElement.
*/
#define kAXRowCollapsedNotification CFSTR("AXRowCollapsed")
/*-----------------------------------------*/
/*! @group Cell-based table notifications */
/*-----------------------------------------*/
/*! @abstract Notification that the selected cells have changed.
*/
#define kAXSelectedCellsChangedNotification CFSTR("AXSelectedCellsChanged")
/*-----------------------------------------*/
/*! @group Layout area notifications */
/*-----------------------------------------*/
/*! @abstract Notification that the units have changed.
*/
#define kAXUnitsChangedNotification CFSTR("AXUnitsChanged")
/*! @abstract Notification that the selected children have moved.
*/
#define kAXSelectedChildrenMovedNotification CFSTR("AXSelectedChildrenMoved")
/*-----------------------------------------*/
/*! @group Other notifications */
/*-----------------------------------------*/
/*! @abstract Notification that a different subset of this element's children were selected.
*/
#define kAXSelectedChildrenChangedNotification CFSTR("AXSelectedChildrenChanged")
/*! @abstract Notification that this element has been resized.
*/
#define kAXResizedNotification CFSTR("AXResized")
/*! @abstract Notification that this element has moved.
*/
#define kAXMovedNotification CFSTR("AXMoved")
/*! @abstract Notification that an element was created.
*/
#define kAXCreatedNotification CFSTR("AXCreated")
/*! @abstract Notification that the set of selected rows changed.
*/
#define kAXSelectedRowsChangedNotification CFSTR("AXSelectedRowsChanged")
/*! @abstract Notification that the set of selected columns changed.
*/
#define kAXSelectedColumnsChangedNotification CFSTR("AXSelectedColumnsChanged")
/*! @abstract Notification that a different set of text was selected.
*/
#define kAXSelectedTextChangedNotification CFSTR("AXSelectedTextChanged")
/*! @abstract Notification that the title changed.
*/
#define kAXTitleChangedNotification CFSTR("AXTitleChanged")
/*! @abstract Notification that the layout changed.
*/
#define kAXLayoutChangedNotification CFSTR("AXLayoutChanged")
/*! @abstract Notification to request an announcement to be spoken.
*/
#define kAXAnnouncementRequestedNotification CFSTR("AXAnnouncementRequested")
/*! @abstract Notification info key used to specify an element.
*/
#define kAXUIElementsKey CFSTR("AXUIElementsKey")
/*! @abstract Notification info key used to specify a priority for the notification. See AXPriority.
*/
#define kAXPriorityKey CFSTR("AXPriorityKey")
/*! @abstract Notification info key used to specify an announcement to be spoken with a notification.
*/
#define kAXAnnouncementKey CFSTR("AXAnnouncementKey")
/*! @abstract Notification info key used to specify the title of an element to be spoken with a notification.
*/
#define kAXUIElementTitleKey CFSTR("AXUIElementTitleKey")
/*! @abstract Priority values used for kAXPriorityKey
*/
typedef CF_ENUM(CFIndex, AXPriority) {
kAXPriorityLow = 10,
kAXPriorityMedium = 50,
kAXPriorityHigh = 90
} CF_ENUM_AVAILABLE_MAC(10_9);
#endif // __AXNOTIFICATIONCONSTANTS__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/TranslationServices.h | /*
File: HIServices/TranslationServices.h
Contains: Translation Services Interfaces.
Copyright: � 2003-2012 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __TRANSLATIONSERVICES__
#define __TRANSLATIONSERVICES__
#ifndef __COREFOUNDATION__
#include <CoreFoundation/CoreFoundation.h>
#endif
#include <AvailabilityMacros.h>
#include <CoreServices/CoreServices.h> // FSRef
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* TranslationServices
*
* Discussion:
* Translation Services provides tools for conversion of data and
* file contents from one format to another. All information for
* performing a translation is contained within a TranslationRef.
* These include source and destination data types, flags indicating
* what type of translation can be performed and references to the
* system services which execute the translation. TranslationRefs
* are CFTypes which must be released after they are created. Source
* and destination formats as well as translation flags can be
* queried from the TranslationRef. TranslationRefs are generated
* either by requesting a specific translation via TranslationCreate
* or during discovery of all possible translations via
* TranslationCreateWithSourceArray. It is possible to request
* TranslationRefs which perform either data or file conversions or
* both by using TranslationFlags. When requesting a translation be
* executed via TranslationPerformForData, TranslationPerformForFile
* or TranslationPerformForURL it is important for the source and
* destination data formats to match those found in the
* TranslationRef.
*
* It is possible to extend the set of system services which provide
* translations by creating what is called a filter service. Filter
* services are applications similar to those which provide the
* services available in the application menu but with a few
* modifications in the application plist. Filter services provide
* an "NSFilter" entry instead of "NSMessage". Filter Services must
* also provide an array of both "NSSendTypes" and "NSReturnTypes"
* containing Uniform Type Identifiers indicating from which formats
* a filter services translates to what format. Each filter service
* may translate multiple send types into a single return type.
* Finally, a filter service must indicate what type of translations
* it supports via the "NSSupportsDataTranslation" and
* "NSSupportsFileTranslation" entries. In the end, a filter
* service's plist may look like the following,
*
*
*
* <key>NSServices</key>
* <array>
* <dict>
* <key>NSFilter</key>
* <string>ExampleTranslation</string>
* <key>NSReturnTypes</key>
* <array>
* <string>com.example.returntype</string>
* </array>
* <key>NSSendTypes</key>
* <array>
* <string>com.example.sourcetype1</string>
* <string>com.example.sourcetype2</string>
* </array>
* <key>NSSupportsDataTranslation</key>
* <string></string>
* <key>NSSupportsFileTranslation</key>
* <string></string>
* </dict>
<array>
*
*
*
* All filter services must handle the kEventServicePerform Carbon
* Event. The filter service will be automatically launched when
* necessary and it will receive the kEventServicePerform event with
* the message indicated by the NSFilter tag in the plist as well as
* a Pasteboard Manager pasteboard containing flavors indicating
* what type of translation must be performed. If a filter service
* only supports data translations a flavor on the pasteboard will
* correspond to one of the type identifiers listed in your plist's
* send types. Upon translation of the data, the filter service
* must clear the pasteboard, add the return identifier and
* translated data to the pasteboard, and return from the event. For
* a filter service which provides file translations,
* "public.file-url" and "com.apple.file-contents-type" will be
* available on the pasteboard indicating the file location and
* contents format from which to translate. Upon translation, the
* filter service should place a "public.file-url" flavor on the
* pasteboard indicating where the translated file has been placed,
* typically next to the orignal named "<filename> (converted)"
* (ala. Finder's "<filename> copy" behavior for duplicated files).
*/
typedef struct OpaqueTranslationRef* TranslationRef;
/* Translation Services error codes*/
enum {
/*invalidTranslationPathErr = -3025*/
/*couldNotParseSourceFileErr = -3026*/
/*noTranslationPathErr = -3030 // no translation for source and destination provided*/
/*badTranslationSpecErr = -3031*/
/*noPrefAppErr = -3032*/
badTranslationRefErr = -3031 /* TranslationRef does not perform translation requested*/
};
/*
* TranslationFlags
*
* Summary:
* The following constants are used by the translation creation
* routines to indicate which types of translations are requested.
* The flags are cumulative (ie. when passing both
* kTranslationDataTranslation and kTranslationFileTranslation the
* client is requesting only those translations which support both
* data AND file translations).
*/
typedef OptionBits TranslationFlags;
enum {
/*
* Indicates that the client is interested in translations which
* provide data translations.
*/
kTranslationDataTranslation = (1 << 0),
/*
* Indicates that the client is interested in translations which
* provide file translations.
*/
kTranslationFileTranslation = (1 << 1)
};
/*
* TranslationGetTypeID()
*
* Summary:
* Returns the CFType identifier for a translation object.
*
* Mac OS X threading:
* Not thread safe
*
* Result:
* A CFTypeID unique to translation instances.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern CFTypeID
TranslationGetTypeID(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationCreate()
*
* Summary:
* Creates a translation reference describing a system service
* providing translations of data from the source type to the
* destination type.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inSourceType:
* A Uniform Type Identifier specifying the format of source data
* to be translated.
*
* inDestinationType:
* A Uniform Type Identifier specifying the destination format to
* which the source data should be translated.
*
* inTranslationFlags:
* A set of TranslationFlags indicating what type of translation
* is requested.
*
* outTranslation:
* A TranslationRef reference which receives the requested
* translation if a system service providing the translation
* exists.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationCreate(
CFStringRef inSourceType,
CFStringRef inDestinationType,
TranslationFlags inTranslationFlags,
TranslationRef * outTranslation) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationCreateWithSourceArray()
*
* Summary:
* Creates a list of destination flavors translation references
* describing various system services providing translations of data
* from the source types to the destination types.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inSourceTypes:
* An array of Uniform Type Identifiers specifying the formats of
* source data to be translated.
*
* inTranslationFlags:
* A set of TranslationFlags indicating what type of translations
* are requested.
*
* outDestinationTypes:
* A CFArrayRef reference which receives an array of Uniform Type
* Identifiers specifying what destination formats are available
* as translations of the provided source formats. Any destination
* formats already represented as a format in the source array are
* excluded from the returned list. The search for destination
* formats is performed in the order of source formats. This array
* must be released by the client.
*
* outTranslations:
* A CFDictionaryRef reference which receives a dictionary of
* TranslationRefs representing all translations provided by
* system services. The dictionary is keyed by destination flavor.
* Any translations with destination formats already represented
* as a format in the source array are excluded from the returned
* dictionary. This dictionary must be released by the client.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationCreateWithSourceArray(
CFArrayRef inSourceTypes,
TranslationFlags inTranslationFlags,
CFArrayRef * outDestinationTypes,
CFDictionaryRef * outTranslations) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationPerformForData()
*
* Summary:
* Executes the translation of source data into destination data.
* The formats of the source and destination data are contained
* within the TranslationRef.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inTranslation:
* A TranslationRef containing information on the source and
* destination data formats and how to execute a translation from
* one to the other. The formats of the source and destination
* data must correspond to those indicated by the TranslationRef.
*
* inSourceData:
* A CFDataRef containing data to be translated.
*
* outDestinationData:
* A CFDataRef reference which receives the translated data.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationPerformForData(
TranslationRef inTranslation,
CFDataRef inSourceData,
CFDataRef * outDestinationData) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationPerformForFile()
*
* Summary:
* Executes the translation of source file contents to a destination
* file content format. The formats of the source and destination
* file contents are held within the TranslationRef.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inTranslation:
* A TranslationRef containing information on the source and
* destination file content formats and how to execute a
* translation from one to the other. The formats of the source
* and destination file contents must correspond to those
* indicated by the TranslationRef.
*
* inSourceFile:
* A FSRef reference pointing to a file whose contents are to be
* translated.
*
* inDestinationDirectory:
* An optional FSRef reference pointing to the desired directory
* for the translation. By default the destination directory is
* the same as the source file.
*
* inDestinationName:
* An optional CFStringRef indicating the desired name for the
* translated file. By default the translated file's name will be
* "<filename> (converted)" (ala. Finder's "<filename> copy"
* behavior for duplicated files).
*
* outTranslatedFile:
* A FSRef reference which receives a new file with the translated
* contents. It is possible for the translated file to not have
* been created in the directory or with the name requested by the
* client due to disk space or translator limitations. It is
* important to rely only on the file reference returned in this
* parameter.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationPerformForFile(
TranslationRef inTranslation,
const FSRef * inSourceFile,
const FSRef * inDestinationDirectory, /* can be NULL */
CFStringRef inDestinationName, /* can be NULL */
FSRef * outTranslatedFile) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationPerformForURL()
*
* Summary:
* Executes the translation of source data pointed to a URL to a
* destination format. The formats of the source and destination URL
* contents are held within the TranslationRef. Currently, only file
* URLs are accepted for URL translations.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inTranslation:
* A TranslationRef containing information on the source and
* destination URL content formats and how to execute a
* translation from one to the other. The formats of the source
* and destination URL contents must correspond to those indicated
* by the TranslationRef.
*
* inSourceURL:
* A CFURLRef pointing to source data whose contents are to be
* translated. Currently, only file URLs are accepted for URL
* translations.
*
* inDestinationURL:
* An optional CFURLRef indicating the desired location for the
* translated data. File URLs may either indicate the desired
* destination directory or directory and name for the translated
* file. By default for file URLs, the translated file's name will
* be "<filename> (converted)" (ala. Finder's "<filename> copy"
* behavior for duplicated files).
*
* outTranslatedURL:
* A FSRef reference which receives a new file with the translated
* contents. For file URLs, it is possible for the translated file
* to not have been created in the directory or with the name
* requested by the client due to disk space or translator
* limitations. It is important to rely only on the URL returned
* in this parameter.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationPerformForURL(
TranslationRef inTranslation,
CFURLRef inSourceURL,
CFURLRef inDestinationURL, /* can be NULL */
CFURLRef * outTranslatedURL) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationCopySourceType()
*
* Summary:
* Accesses a translation's source type.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inTranslation:
* A TranslationRef containing the requested source type.
*
* outSourceType:
* A CFStringRef which receives the TranslationRef's source type.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationCopySourceType(
TranslationRef inTranslation,
CFStringRef * outSourceType) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationCopyDestinationType()
*
* Summary:
* Accesses a translation's destination type.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inTranslation:
* A TranslationRef containing the requested destination type.
*
* outDestinationType:
* A CFStringRef which receives the TranslationRef's destination
* type.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationCopyDestinationType(
TranslationRef inTranslation,
CFStringRef * outDestinationType) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
/*
* TranslationGetTranslationFlags()
*
* Summary:
* Accesses a translation's flags.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* inTranslation:
* A TranslationRef containing the requested flags.
*
* outTranslationFlags:
* A TranslationFlags which receives the TranslationRef's flags.
*
* Result:
* An operating system result code.
*
* Availability:
* Mac OS X: in version 10.3 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
* Non-Carbon CFM: not available
*/
extern OSStatus
TranslationGetTranslationFlags(
TranslationRef inTranslation,
TranslationFlags * outTranslationFlags) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
#ifdef __cplusplus
}
#endif
#endif /* __TRANSLATIONSERVICES__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXConstants.h |
/*
* AXConstants.h
*
* Copyright (c) 2002, 2012 Apple Inc. All rights reserved.
*
*/
#ifndef __AXCONSTANTS__
#define __AXCONSTANTS__
#include <HIServices/AXRoleConstants.h>
#include <HIServices/AXAttributeConstants.h>
#include <HIServices/AXActionConstants.h>
#include <HIServices/AXNotificationConstants.h>
#include <HIServices/AXValueConstants.h>
#endif // __AXCONSTANTS__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h | /*
* AXUIElement.h
*
* Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
*
*/
#ifndef __AXUIELEMENT__
#define __AXUIELEMENT__
#include <AvailabilityMacros.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <CoreFoundation/CoreFoundation.h>
#include <CoreGraphics/CGRemoteOperation.h>
#include <ApplicationServices/ApplicationServices.h>
CF_ASSUME_NONNULL_BEGIN
CF_IMPLICIT_BRIDGING_ENABLED
/*! @header AXUIElement.h
@discussion
Assistive applications use the functions defined in this header file to communicate with and control accessible applications running in Mac OS X.
Each accessible user interface element in an application is represented by an AXUIElementRef, which is a CFTypeRef. AXUIElementRefs (like all
CFTypeRefs) can be used with all the Core Foundation polymorphic functions, such as @link //apple_ref/c/func/CFRetain CFRetain@/link, @link //apple_ref/c/func/CFRelease CFRelease@/link, and @link //apple_ref/c/func/CFEqual CFEqual@/link.
All functions defined in this header file will return <code>kAXErrorSuccess</code> on success if the return type is AXError.
If there is some sort of system memory failure, such as the failure to allocate
an object, all functions of return type AXError can return <code>kAXErrorFailure</code>. In the unlikely event that some process does not fully support the accessibility API, a function of return type AXError can
return <code>kAXErrorNotImplemented</code>.
In addition, some functions of return type AXError can return the following error codes:
<dl><dt><code>kAXErrorInvalidUIElement</code></dt><dd>The passed-in AXUIElementRef is invalid. All functions that include an AXUIElementRef parameter can return this error code.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>At least one of the arguments is illegal (for example, NIL passed in for a pointer).</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>There is a problem with messaging (such as when messaging to the server fails or when the accessible application is unresponsive
or waiting for user input). All functions that perform messaging can return this error code.</dd>
<dt><code>kAXErrorAPIDisabled</code></dt><dd>The accessibility API is disabled. All functions that perform messaging can return this error code.</dd>
</dl>
For more information on the definition and use of accessibility objects and on Mac OS X accessibility support in general, see {@linkdoc //apple_ref/doc/uid/TP40001078 Accessibility Overview}.
*/
/*!
@function AXAPIEnabled
@abstract Returns whether the accessibility API is enabled.
@deprecated In OS X 10.9 and later. Use AXIsProcessTrustedWithOptions instead.
@result Returns TRUE if the accessibility API is currently enabled, otherwise FALSE.
*/
extern Boolean AXAPIEnabled (void) CF_DEPRECATED_MAC(10_0, 10_9);
/*!
@function AXIsProcessTrustedWithOptions
@abstract Returns whether the current process is a trusted accessibility client.
@param options A dictionary of options, or NULL to specify no options. The following options are available:
KEY: kAXTrustedCheckOptionPrompt
VALUE: ACFBooleanRef indicating whether the user will be informed if the current process is untrusted. This could be used, for example, on application startup to always warn a user if accessibility is not enabled for the current process. Prompting occurs asynchronously and does not affect the return value.
@result Returns TRUE if the current process is a trusted accessibility client, FALSE if it is not.
*/
extern Boolean AXIsProcessTrustedWithOptions (CFDictionaryRef __nullable options) CF_AVAILABLE_MAC(10_9);
extern CFStringRef kAXTrustedCheckOptionPrompt CF_AVAILABLE_MAC(10_9);
/*!
@function AXIsProcessTrusted
@abstract Returns whether the current process is a trusted accessibility client.
@result Returns TRUE if the current process is a trusted accessibility client, FALSE if it is not.
*/
extern Boolean AXIsProcessTrusted (void) CF_AVAILABLE_MAC(10_4);
/*!
@function AXMakeProcessTrusted
@abstract Attempts to make the process represented by the specified path a trusted accessibility client.
@discussion Use this function to make a process a trusted accessibility client. Note: The caller must be running as <code>root</code> to successfully call this function. In addition, the caller should relaunch the process after this function returns successfully for the trusted status to take effect.
@param executablePath The path to the executable of the process to make trusted.
@result An AXError that indicates success or failure.
*/
extern AXError AXMakeProcessTrusted (CFStringRef executablePath) CF_DEPRECATED_MAC(10_4, 10_9);
/*!
@typedef AXUIElementRef
@abstract A structure used to refer to an accessibility object.
@discussion An accessibility object provides information about the user interface object it represents. This information includes the object's
position in the accessibility hierarchy, its position on the display, details about what it is, and what actions it can perform. Accessibility objects
respond to messages sent by assistive applications and send notifications that describe state changes.
*/
typedef const struct CF_BRIDGED_TYPE(id) __AXUIElement *AXUIElementRef;
/*!
@enum kAXCopyMultipleAttributeOptionStopOnError
@discussion Pass this option to @link AXUIElementCopyMultipleAttributeValues AXUIElementCopyMultipleAttributeValues@/link to force the function
to stop when it gets an error.
*/
typedef CF_OPTIONS(UInt32, AXCopyMultipleAttributeOptions) {
kAXCopyMultipleAttributeOptionStopOnError = 0x1
};
/*!
@function AXUIElementGetTypeID
@abstract Returns the unique type identifier for the AXUIElementRef type.
@result Returns a CFTypeID representing the AXUIElementRef type.
*/
extern CFTypeID AXUIElementGetTypeID (void);
/*!
@function AXUIElementCopyAttributeNames
@abstract Returns a list of all the attributes supported by the specified accessibility object.
@param element The AXUIElementRef representing the accessibility object.
@param names On return, an array containing the accessibility object's attribute names.
@result If unsuccessful, <code>AXUIElementCopyAttributeNames</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorAttributeUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified attribute.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or both of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There was a system memory failure.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyAttributeNames (AXUIElementRef element, CFArrayRef __nullable * __nonnull CF_RETURNS_RETAINED names);
/*!
@function AXUIElementCopyAttributeValue
@abstract Returns the value of an accessibility object's attribute.
@param element The AXUIElementRef representing the accessibility object.
@param attribute The attribute name.
@param value On return, the value associated with the specified attribute.
@result If unsuccessful, <code>AXUIElementCopyAttributeValue</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorAttributeUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified attribute.</dd>
<dt><code>kAXErrorNoValue</code></dt><dd>The specified attribute does not have a value.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyAttributeValue (AXUIElementRef element, CFStringRef attribute, CFTypeRef __nullable * __nonnull CF_RETURNS_RETAINED value);
/*!
@function AXUIElementGetAttributeValueCount
@abstract Returns the count of the array of an accessibility object's attribute value.
@param element The AXUIElementRef representing the accessibility object.
@param attribute The attribute name.
@param count On return, the size of the array that is the attribute's value.
@result If unsuccessful, <code>AXUIElementGetAttributeValueCount</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>The attribute's value is not an array or one of the other arguments is an illegal value.</dd>
<dt><code>kAXErrorAttributeUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified attribute.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementGetAttributeValueCount (AXUIElementRef element, CFStringRef attribute, CFIndex *count);
/*!
@function AXUIElementCopyAttributeValues
@abstract Returns an array of attribute values for the accessibility object's attribute, starting at the specified index.
@discussion This function is useful for dealing with large arrays, for example, a table view with a large number of children.
@param element The AXUIElementRef representing the accessibility object.
@param attribute The attribute name.
@param index The index into the array.
@param maxValues The maximum number of values you want (this may be more or less than the number of values associated with the attribute).
@param values On return, the attribute values you requested. If <code>maxValues</code> is greater than the number of values associated with the attribute, the <code>values</code> array will contain values found between <code>index</code> and the end of the attribute's array, inclusive.
@result If unsuccessful, <code>AXUIElementCopyAttributeValues</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>The attribute's value is not array, the <code>index</code> or <code>maxValues</code> arguments are outside the array's range, or one of the other arguments is an illegal value.</dd>
<dt><code>kAXErrorNoValue</code></dt><dd>The specified attribute does not have a value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyAttributeValues (AXUIElementRef element, CFStringRef attribute, CFIndex index, CFIndex maxValues, CFArrayRef __nullable * __nonnull CF_RETURNS_RETAINED values);
/*!
@function AXUIElementIsAttributeSettable
@abstract Returns whether the specified accessibility object's attribute can be modified.
@discussion If you receive a <code>kAXErrorCannotComplete</code> error from this function, you might want to repeat the request or change the timeout value.
@param element The AXUIElementRef representing the accessibility object.
@param attribute The attribute name.
@param settable On return, a Boolean value indicating whether the attribute is settable.
@result If unsuccessful, <code>AXUIElementIsAttributeSettable</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way (often due to a timeout).</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorAttributeUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified attribute.</dd>
<dt><code>kAXErrorNoValue</code></dt><dd>The specified attribute does not have a value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementIsAttributeSettable (AXUIElementRef element, CFStringRef attribute, Boolean *settable);
/*!
@function AXUIElementSetAttributeValue
@abstract Sets the accessibility object's attribute to the specified value.
@discussion You can send and receive many different CFTypeRefs using the accessibility API.
These include all CFPropertyListRef types, AXUIElementRef, AXValueRef, AXTextMarkerRef, AXTextMarkerRangeRef,
CFNullRef, CFAttributedStringRef, and CRURLRef.
@param element The AXUIElementRef representing the accessibility object.
@param attribute The attribute name.
@param value The new value for the attribute.
@result If unsuccessful, <code>AXUIElementSetAttributeValue</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>The value is not recognized by the accessible application or one of the other arguments is an illegal value.</dd>
<dt><code>kAXErrorAttributeUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified attribute.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementSetAttributeValue (AXUIElementRef element, CFStringRef attribute, CFTypeRef value);
/*!
@function AXUIElementCopyMultipleAttributeValues
@abstract Returns the values of multiple attributes in the accessibility object.
@discussion If the specified AXUIElementRef does not support an attribute passed in the <code>attributes</code> array, the returned array
can contain an error or CFNull at the corresponding position.
@param element The AXUIElementRef representing the accessibility object.
@param attributes An array of attribute names.
@param options A value that tells <code>AXUIElementCopyMultipleAttributeValues</code> how to handle errors.
@param values On return, an array in which each position contains the value of the
attribute that is in the corresponding position in the passed-in <code>attributes</code> array (or CFNull). If <code>options</code> = 0,
the <code>values</code> array can contain an AXValueRef of type <code>kAXValueAXErrorType</code> in the corresponding position. If <code>options</code> = <code>kAXCopyMultipleAttributeOptionStopOnError</code>,
this function will return immediately when it gets an error.
@result If unsuccessful, <code>AXUIElementCopyMultipleAttributeValues</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>One of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyMultipleAttributeValues (AXUIElementRef element, CFArrayRef attributes, AXCopyMultipleAttributeOptions options, CFArrayRef __nullable * __nonnull CF_RETURNS_RETAINED values) CF_AVAILABLE_MAC(10_4);
/*!
@function AXUIElementCopyParameterizedAttributeNames
@abstract Returns a list of all the parameterized attributes supported by the specified accessibility object.
@param element The AXUIElementRef representing the accessibility object.
@param names On return, an array containing the accessibility object's parameterized attribute names.
@result If unsuccessful, <code>AXUIElementCopyParameterizedAttributeNames</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorAttributeUnsupported</code> or <code>kAXErrorParameterizedAttributeUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified parameterized attribute.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or both of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There was some sort of system memory failure.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyParameterizedAttributeNames (AXUIElementRef element, CFArrayRef __nullable * __nonnull CF_RETURNS_RETAINED names) CF_AVAILABLE_MAC(10_3);
/*!
@function AXUIElementCopyParameterizedAttributeValue
@abstract Returns the value of an accessibility object's parameterized attribute.
@param element The AXUIElementRef representing the accessibility object.
@param parameterizedAttribute The parameterized attribute.
@param parameter The parameter.
@param result On return, the value of the parameterized attribute.
@result If unsuccessful, <code>AXUIElementCopyParameterizedAttributeValue</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorAttributeUnsupported</code> or <code>kAXErrorParameterizedAttributeUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified parameterized attribute.</dd>
<dt><code>kAXErrorNoValue</code></dt><dd>The specified parameterized attribute does not have a value.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyParameterizedAttributeValue (AXUIElementRef element, CFStringRef parameterizedAttribute, CFTypeRef parameter, CFTypeRef __nullable * __nonnull CF_RETURNS_RETAINED result) CF_AVAILABLE_MAC(10_3);
/*!
@function AXUIElementCopyActionNames
@abstract Returns a list of all the actions the specified accessibility object can perform.
@param element The AXUIElementRef representing the accessibility object.
@param names On return, an array of actions the accessibility object can perform (empty if the accessibility object supports no actions).
@result If unsuccessful, <code>AXUIElementCopyActionNames</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>One or both of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There was some sort of system memory failure.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyActionNames (AXUIElementRef element, CFArrayRef __nullable * __nonnull CF_RETURNS_RETAINED names);
/*!
@function AXUIElementCopyActionDescription
@abstract Returns a localized description of the specified accessibility object's action.
@param element The AXUIElementRef representing the accessibility object.
@param action The action to be described.
@param description On return, a string containing the description of the action.
@result If unsuccessful, <code>AXUIElementCopyActionDescription</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorActionUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified action (you will also receive this error if you pass in the system-wide accessibility object).</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyActionDescription (AXUIElementRef element, CFStringRef action, CFStringRef __nullable * __nonnull CF_RETURNS_RETAINED description);
/*!
@function AXUIElementPerformAction
@abstract Requests that the specified accessibility object perform the specified action.
@discussion It is possible to receive the <code>kAXErrorCannotComplete</code> error code from this function because accessible applications often need to
perform some sort of modal processing inside their action callbacks and they may not return within the timeout value set by the accessibility API.
This does not necessarily mean that the function has failed, however. If appropriate, your assistive application
can try to call this function again. Also, you may be able to increase the timeout value (see @link AXUIElementSetMessagingTimeout AXUIElementSetMessagingTimeout@/link).
@param element The AXUIElementRef representing the accessibility object.
@param action The action to be performed.
@result If unsuccessful, <code>AXUIElementPerformAction</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorActionUnsupported</code></dt><dd>The specified AXUIElementRef does not support the specified action (you will also receive this error if you pass in the system-wide accessibility object).</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way or the application has not yet responded.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementPerformAction (AXUIElementRef element, CFStringRef action);
/*!
@function AXUIElementCopyElementAtPosition
@abstract Returns the accessibility object at the specified position in top-left relative screen coordinates.
@discussion This function does hit-testing based on window z-order (that is, layering). If one window is on top of another window, the returned accessibility object comes from whichever window is topmost at the specified
location. Note that if the system-wide accessibility object is passed in the <code>application</code> parameter, the position test is not restricted to a
particular application.
@param application The AXUIElementRef representing the application that contains the screen coordinates (or the system-wide accessibility object).
@param x The horizontal position.
@param y The vertical position.
@param element On return, the accessibility object at the position specified by x and y.
@result If unsuccessful, <code>AXUIElementCopyElementAtPosition</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorNoValue</code></dt><dd>There is no accessibility object at the specified position.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementCopyElementAtPosition (AXUIElementRef application, float x,float y, AXUIElementRef __nullable * __nonnull CF_RETURNS_RETAINED element);
/*!
@function AXUIElementCreateApplication
@abstract Creates and returns the top-level accessibility object for the application with the specified process ID.
@param pid The process ID of an application.
@result The AXUIElementRef representing the top-level accessibility object for the application with the specified process ID.
*/
extern AXUIElementRef AXUIElementCreateApplication (pid_t pid);
/*!
@function AXUIElementCreateSystemWide
@abstract Returns an accessibility object that provides access to system attributes.
@discussion This is useful for things like finding the focused accessibility object regardless of which application is currently active.
@result The AXUIElementRef representing the system-wide accessibility object.
*/
extern AXUIElementRef AXUIElementCreateSystemWide (void);
/*!
@function AXUIElementGetPid
@abstract Returns the process ID associated with the specified accessibility object.
@param element The AXUIElementRef representing an accessibility object.
@param pid On return, the process ID associated with the specified accessibility object.
@result If unsuccessful, <code>AXUIElementGetPid</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd></dl>
*/
extern AXError AXUIElementGetPid (AXUIElementRef element, pid_t *pid);
/*!
@function AXUIElementSetMessagingTimeout
@abstract Sets the timeout value used in the accessibility API.
@discussion Pass the system-wide accessibility object (see @link AXUIElementCreateSystemWide AXUIElementCreateSystemWide@/link) if you want to set the timeout globally for this process.
Setting the timeout on another accessibility object sets it only for that object, not for other accessibility objects that are equal to it.
Setting <code>timeoutInSeconds</code> to 0 for the system-wide accessibility object resets the global timeout to its default value. Setting <code>timeoutInSeconds</code>
to 0 for any other accessibility object makes that element use the current global timeout value.
@param element The AXUIElementRef representing an accessibility object.
@param timeoutInSeconds The number of seconds for the new timeout value.
@result If unsuccessful, <code>AXUIElementSetMessagingTimeout</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value (timeout values must be positive).</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd></dl>
*/
extern AXError AXUIElementSetMessagingTimeout (AXUIElementRef element, float timeoutInSeconds) CF_AVAILABLE_MAC(10_4);
/*!
@function AXUIElementPostKeyboardEvent
@abstract Posts keys to the specified application.
@discussion This is similar to @link //apple_ref/c/func/CGPostKeyboardEvent CGPostKeyboardEvent@/link (which synthesizes a low-level keyboard event on the
local machine), but it allows you to specify the target application as opposed to always sending the events to the active application. If the
system-wide accessibility object is passed in the <code>application</code> parameter, the event is sent to the active application.
You can only pass in the system-wide or application AXUIElementRef.
@param application The AXUIElementRef representing the application (or the system-wide accessibility object).
@param keyChar
@param virtualKey
@param keyDown
@result If unsuccessful, <code>AXUIElementPostKeyboardEvent</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorInvalidUIElement</code></dt><dd>The AXUIElementRef is invalid.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There is some sort of system memory failure.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorNotImplemented</code></dt><dd>The process does not fully support the accessibility API.</dd></dl>
*/
extern AXError AXUIElementPostKeyboardEvent (AXUIElementRef application, CGCharCode keyChar, CGKeyCode virtualKey, Boolean keyDown) CF_DEPRECATED_MAC(10_0, 10_9);;
/*! @group Text Marker API */
/*!
@typedef AXTextMarkerRef
@discussion
An AXTextMarkerRef is a CFType. Like all CFTypes, they are reference counted (@link //apple_ref/c/func/CFRetain CFRetain@/link, @link //apple_ref/c/func/CFRelease CFRelease@/link).
*/
typedef const struct CF_BRIDGED_TYPE(id) __AXTextMarker *AXTextMarkerRef;
/*!
@function AXTextMarkerGetTypeID
@abstract Returns the unique type identifier for the AXTextMarkerRef type.
@result Returns the CFTypeID of the AXTextMarkerRef type.
*/
extern CFTypeID AXTextMarkerGetTypeID (void);
/*!
@function AXTextMarkerCreate
@abstract Creates a new text marker.
@param bytes The data used to identify this location in text
@param length The length of the data
*/
extern AXTextMarkerRef AXTextMarkerCreate (CFAllocatorRef __nullable allocator, const UInt8 *bytes, CFIndex length);
/*!
@function AXTextMarkerGetLength
@abstract Get the length of bytes stored in a text marker
@param marker The text marker
@result The length of the data
*/
extern CFIndex AXTextMarkerGetLength (AXTextMarkerRef marker);
/*!
@function AXTextMarkerGetBytePtr
@abstract Get the byte data used to identify this location in text.
@param marker The text marker
@result a pointer to the byte data used to identify this location in text.
*/
extern const UInt8 *AXTextMarkerGetBytePtr (AXTextMarkerRef theTextMarker);
/*!
@typedef AXTextMarkerRangeRef
@discussion
An AXTextMarkerRangeRef is a CFType. Like all CFTypes, they are reference counted (@link //apple_ref/c/func/CFRetain CFRetain@/link, @link //apple_ref/c/func/CFRelease CFRelease@/link).
*/
typedef const struct CF_BRIDGED_TYPE(id) __AXTextMarkerRange *AXTextMarkerRangeRef;
/*!
@function AXTextMarkerRangeGetTypeID
@abstract Returns the unique type identifier for the AXTextMarkerRangeRef type.
@result Returns the CFTypeID of the AXTextMarkerRangeRef type.
*/
extern CFTypeID AXTextMarkerRangeGetTypeID (void);
/*!
@function AXTextMarkerRangeGetTypeID
@abstract Creates a new text marker given a start and end marker
@param startMarker The text marker for the beginning of the range
@param endMarker The text marker for the end of the range
@result The text marker range object
*/
extern AXTextMarkerRangeRef AXTextMarkerRangeCreate (CFAllocatorRef __nullable allocator, AXTextMarkerRef startMarker, AXTextMarkerRef endMarker);
/*!
@function AXTextMarkerRangeGetTypeID
@abstract Creates a new text marker given the bytes for a start marker and an end marker
@param startMarkerBytes The data used to identify the start marker location in text
@param startMarkerLength The length of the start marker data
@param endMarkeBytes The data used to identify the end marker location in text
@param endMarkerLength The length of the end marker data
@result The text marker range object
*/
extern AXTextMarkerRangeRef AXTextMarkerRangeCreateWithBytes (CFAllocatorRef __nullable allocator, const UInt8 *startMarkerBytes, CFIndex startMarkerLength, const UInt8 *endMarkerBytes, CFIndex endMarkerLength);
/*!
@function AXTextMarkerRangeCopyStartMarker
@abstract Copies the start marker from a text marker range
@param textMarkerRange The text marker range
@result The start text marker object
*/
extern AXTextMarkerRef AXTextMarkerRangeCopyStartMarker (AXTextMarkerRangeRef textMarkerRange);
/*!
@function AXTextMarkerRangeCopyEndMarker
@abstract Copies the end marker from a text marker range
@param textMarkerRange The text marker range
@result The end text marker object
*/
extern AXTextMarkerRef AXTextMarkerRangeCopyEndMarker (AXTextMarkerRangeRef textMarkerRange);
/*! @group Notification API */
/*!
@typedef AXObserverRef
@discussion
An AXObserverRef is a CFType. Like all CFTypes, they are reference counted (@link //apple_ref/c/func/CFRetain CFRetain@/link, @link //apple_ref/c/func/CFRelease CFRelease@/link).
*/
typedef struct CF_BRIDGED_TYPE(id) __AXObserver *AXObserverRef;
/*!
@typedef AXObserverCallback
@abstract
@param observer An AXObserverRef object to observe the notifications.
@param element The accessibility object.
@param notification The name of the notification to observe.
@param refcon Application-defined data specified when registering the observer for notification
*/
typedef void (*AXObserverCallback)(AXObserverRef observer, AXUIElementRef element, CFStringRef notification, void * __nullable refcon);
/*!
@typedef AXObserverCallbackWithInfo
@abstract
@param observer An AXObserverRef object to observe the notifications.
@param element The accessibility object.
@param notification The name of the notification to observe.
@param info The coresponding notification information.
@param refcon Application-defined data specified when registering the observer for notification
*/
typedef void (*AXObserverCallbackWithInfo)(AXObserverRef observer, AXUIElementRef element, CFStringRef notification, CFDictionaryRef info, void * __nullable refcon);
/*!
@function AXObserverGetTypeID
@abstract Returns the unique type identifier for the AXObserverRef type.
@result Returns the CFTypeID of the AXObserverRef type.
*/
CFTypeID AXObserverGetTypeID (void);
/*!
@function AXObserverCreate
@abstract Creates a new observer that can receive notifications from the specified application.
@discussion When an observed notification is received, it is passed to @link AXObserverCallback AXObserverCallback@/link.
@param application The process ID of the application.
@param callback The callback function.
@param outObserver On return, an AXObserverRef representing the observer object.
@result If unsuccessful, <code>AXObserverCreate</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There is some sort of system memory failure.</dd></dl>
*/
extern AXError AXObserverCreate (pid_t application, AXObserverCallback callback, AXObserverRef __nullable * __nonnull CF_RETURNS_RETAINED outObserver);
/*!
@function AXObserverCreateWithInfoCallback
@abstract Creates a new observer that can receive notifications with an information dictionary from the specified application.
@discussion When an observed notification is received, it is passed to @link AXObserverCallbackWithInfo AXObserverCallbackWithInfo@/link.
@param application The process ID of the application.
@param callback The callback function.
@param outObserver On return, an AXObserverRef representing the observer object.
@result If unsuccessful, <code>AXObserverCreateWithInfoCallback</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There is some sort of system memory failure.</dd></dl>
*/
extern AXError AXObserverCreateWithInfoCallback (pid_t application, AXObserverCallbackWithInfo callback, AXObserverRef __nullable * __nonnull CF_RETURNS_RETAINED outObserver);
/*!
@function AXObserverAddNotification
@abstract Registers the specified observer to receive notifications from the specified accessibility object.
@param observer The observer object created from a call to @link AXObserverCreate AXObserverCreate@/link.
@param element The accessibility object for which to observe notifications.
@param notification The name of the notification to observe.
@param refcon Application-defined data passed to the callback when it is called.
@result If unsuccessful, <code>AXObserverAddNotification</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorInvalidUIElementObserver</code></dt><dd>The observer is not a valid AXObserverRef type.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value or the length of the notification name is greater than 1024.</dd>
<dt><code>kAXErrorNotificationUnsupported</code></dt><dd>The accessibility object does not support notifications (note that the system-wide accessibility object does not support notifications).</dd>
<dt><code>kAXErrorNotificationAlreadyRegistered</code></dt><dd>The notification has already been registered.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There is some sort of system memory failure.</dd></dl>
*/
extern AXError AXObserverAddNotification (AXObserverRef observer, AXUIElementRef element, CFStringRef notification, void * __nullable refcon);
/*!
@function AXObserverRemoveNotification
@abstract Removes the specified notification from the list of notifications the observer wants to receive from the accessibility object.
@param observer The observer object created from a call to @link AXObserverCreate AXObserverCreate@/link.
@param element The accessibility object for which this observer observes notifications.
@param notification The name of the notification to remove from the list of observed notifications.
@result If unsuccessful, <code>AXObserverRemoveNotification</code> may return one of the following error codes, among others:
<dl><dt><code>kAXErrorInvalidUIElementObserver</code></dt><dd>The observer is not a valid AXObserverRef type.</dd>
<dt><code>kAXErrorIllegalArgument</code></dt><dd>One or more of the arguments is an illegal value or the length of the notification name is greater than 1024.</dd>
<dt><code>kAXErrorNotificationUnsupported</code></dt><dd>The accessibility object does not support notifications (note that the system-wide accessibility object does not support notifications).</dd>
<dt><code>kAXErrorNotificationNotRegistered</code></dt><dd>This observer has not registered for any notifications.</dd>
<dt><code>kAXErrorCannotComplete</code></dt><dd>The function cannot complete because messaging has failed in some way.</dd>
<dt><code>kAXErrorFailure</code></dt><dd>There is some sort of system memory failure.</dd></dl>
*/
extern AXError AXObserverRemoveNotification (AXObserverRef observer, AXUIElementRef element, CFStringRef notification);
/*!
@function AXObserverGetRunLoopSource
@abstract Returns the observer's run loop source.
@discussion The observer must be added to a run loop before it can receive notifications. Note that releasing the AXObserverRef automatically
removes the run loop source from the run loop (you can also do this explicitly by calling @link //apple_ref/c/func/CFRunLoopRemoveSource CFRunLoopRemoveSource@/link).
<code>AXObserverGetRunLoopSource</code> might be used in code in this way:
<pre>
CFRunLoopAddSource(CFRunLoopGetCurrent(), AXObserverGetRunLoopSource(observer), kCFRunLoopDefaultMode);
</pre>
@param observer The observer object (created from a call to @link AXObserverCreate AXObserverCreate@/link) for which to get the run loop source.
@result Returns the CFRunLoopSourceRef of the observer; NIL if you pass NIL in <code>observer</code>.
*/
extern CFRunLoopSourceRef AXObserverGetRunLoopSource (AXObserverRef observer);
CF_IMPLICIT_BRIDGING_DISABLED
CF_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif // __AXUIELEMENT__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValueConstants.h | /*
* AXValueConstants.h
* HIServices
*
* Copyright (c) 2004,2012 Apple Inc. All rights reserved.
*
*/
#ifndef __AXVALUECONSTANTS__
#define __AXVALUECONSTANTS__
/* Need discussion for following */
/*!
@header AXValueConstants.h
*/
// orientations (see kAXOrientationAttribute in AXAttributeConstants.h)
/* Need discussion for following */
/*!
@defined kAXHorizontalOrientationValue
@discussion
*/
#define kAXHorizontalOrientationValue CFSTR("AXHorizontalOrientation")
/* Need discussion for following */
/*!
@defined kAXVerticalOrientationValue
@discussion
*/
#define kAXVerticalOrientationValue CFSTR("AXVerticalOrientation")
/* Need discussion for following */
/*!
@defined kAXUnknownOrientationValue
@discussion
*/
#define kAXUnknownOrientationValue CFSTR("AXUnknownOrientation")
// sort directions (see kAXSortDirectionAttribute in AXAttributeConstants.h)
/* Need discussion for following */
/*!
@defined kAXAscendingSortDirectionValue
@discussion
*/
#define kAXAscendingSortDirectionValue CFSTR("AXAscendingSortDirection")
/* Need discussion for following */
/*!
@defined kAXDescendingSortDirectionValue
@discussion
*/
#define kAXDescendingSortDirectionValue CFSTR("AXDescendingSortDirection")
/* Need discussion for following */
/*!
@defined kAXUnknownSortDirectionValue
@discussion
*/
#define kAXUnknownSortDirectionValue CFSTR("AXUnknownSortDirection")
#endif // __AXVALUECONSTANTS__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXError.h | /*
* AXError.h
*
* Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
*
*/
#ifndef __AXERROR__
#define __AXERROR__
#ifdef __cplusplus
extern "C" {
#endif
#include <CoreFoundation/CoreFoundation.h>
/*!
@header AXError.h
@discussion
These error codes can be returned from the accessibility functions defined in AXUIElement.h.
*/
/*!
@enum Accessibility Error Codes
@abstract Error codes returned by accessibility functions.
@discussion
*/
typedef CF_ENUM(SInt32, AXError) {
/*! No error occurred. */
kAXErrorSuccess = 0,
/*! A system error occurred, such as the failure to allocate an object. */
kAXErrorFailure = -25200,
/*! An illegal argument was passed to the function. */
kAXErrorIllegalArgument = -25201,
/*! The AXUIElementRef passed to the function is invalid. */
kAXErrorInvalidUIElement = -25202,
/*! The AXObserverRef passed to the function is not a valid observer. */
kAXErrorInvalidUIElementObserver = -25203,
/*! The function cannot complete because messaging failed in some way or because the application with which the function is communicating is busy or unresponsive. */
kAXErrorCannotComplete = -25204,
/*! The attribute is not supported by the AXUIElementRef. */
kAXErrorAttributeUnsupported = -25205,
/*! The action is not supported by the AXUIElementRef. */
kAXErrorActionUnsupported = -25206,
/*! The notification is not supported by the AXUIElementRef. */
kAXErrorNotificationUnsupported = -25207,
/*! Indicates that the function or method is not implemented (this can be returned if a process does not support the accessibility API). */
kAXErrorNotImplemented = -25208,
/*! This notification has already been registered for. */
kAXErrorNotificationAlreadyRegistered = -25209,
/*! Indicates that a notification is not registered yet. */
kAXErrorNotificationNotRegistered = -25210,
/*! The accessibility API is disabled (as when, for example, the user deselects "Enable access for assistive devices" in Universal Access Preferences). */
kAXErrorAPIDisabled = -25211,
/*! The requested value or AXUIElementRef does not exist. */
kAXErrorNoValue = -25212,
/*! The parameterized attribute is not supported by the AXUIElementRef. */
kAXErrorParameterizedAttributeUnsupported = -25213,
/*! Not enough precision. */
kAXErrorNotEnoughPrecision = -25214
};
#ifdef __cplusplus
}
#endif
#endif // __AXERROR__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h | /*
* Accessibility.h
*
* Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
*
*/
#ifndef __ACCESSIBILITY__
#define __ACCESSIBILITY__
#include <HIServices/AXError.h>
#include <HIServices/AXConstants.h>
#include <HIServices/AXUIElement.h>
#include <HIServices/AXValue.h>
#include <HIServices/AXTextAttributedString.h>
#endif // __ACCESSIBILITY__
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/UniversalAccess.h | /*
File: HIServices/UniversalAccess.h
Contains: Universal Access Interfaces.
Copyright: � 2005-2012 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http://developer.apple.com/bugreporter/
*/
#ifndef __UNIVERSALACCESS__
#define __UNIVERSALACCESS__
#ifndef __COREGRAPHICS__
#include <CoreGraphics/CoreGraphics.h>
#endif
#include <AvailabilityMacros.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* Universal Access
*
* Discussion:
* Universal Access provides apps the ability to control the zoom
* focus. The following functions are provided so that applications
* can tell Universal Access what part of the UI needs focus.
*/
/*!
@header UniversalAccess.h
@discussion This header file contains functions that give applications the ability to control the zoom focus. Using these functions,
an application can tell the Mac OS X Universal Access zoom feature what part of its user interface needs focus.
@indexgroup Universal Access
*/
/*
* UAZoomChangeFocusType
*
* Summary:
* Universal Access Zoom Change Focus Types
*
* Discussion:
* The following constants are used to tell Universal Access Zoom
* the type of event that is driving the change in the zoom focus.
*/
/*!
@typedef UAZoomChangeFocusType
@abstract Defines the Universal Access zoom change focus type.
*/
typedef UInt32 UAZoomChangeFocusType;
/*!
@enum UAZoomFocusTypes
@abstract Values that tell the Universal Access zoom feature what type of event is causing the change in zoom focus.
*/
enum {
/*!
* An event is requesting focus.
*/
kUAZoomFocusTypeOther = 0,
/*!
* The text insertion point has moved.
*/
kUAZoomFocusTypeInsertionPoint = 1
};
/*
* UAZoomEnabled()
*
* Summary:
* Determine if Universal Access Zoom is enabled.
*
* Discussion:
* This queries the state of Universal Access Zoom
*
* Mac OS X threading:
* Thread safe
*
* Result:
* TRUE if Universal Access Zoom is on, FALSE if Zoom is off or the
* user has zoomed all the way out.
*
* Availability:
* Mac OS X: in version 10.4 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.4 and later
* Non-Carbon CFM: not available
*/
/*!
@function UAZoomEnabled
@abstract Determines if the Universal Access zoom feature is enabled.
@result Returns <code>true</code> if the Universal Access zoom feature is on, <code>false</code> if the zoom feature is off or if the user
has zoomed all the way out.
@availability Available in Mac OS X v10.4 and later (not available in CarbonLib 1.x and not available for nonCarbon CFM).
*/
extern Boolean
UAZoomEnabled(void) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
/*
* UAZoomChangeFocus()
*
* Summary:
* Tell Universal Access where Zoom should focus.
*
* Discussion:
* Tells Universal Access the frame of the element in focus and the
* part of the element that should be in focus.
*
* Mac OS X threading:
* Thread safe
*
* Parameters:
*
* inRect:
* - The frame of the element in focus in global 72dpi coordinates.
*
* inHighlightRect:
* - The frame of highlighted part of the element in focus in
* global 72dpi coordinates. If the whole element is in focus,
* and not just a smaller part of it, pass the inRect parameter
* and pass NULL for inHighlightRect.
*
* inType:
* - Universal Access Zoom change focus type.
*
* Result:
* OSStatus - noErr if there were no problems or Universal Access
* Zoom is off or zoomed all the way out. paramErr if inRect is
* NULL or inType is out of range.
*
* Availability:
* Mac OS X: in version 10.4 and later in ApplicationServices.framework
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.4 and later
* Non-Carbon CFM: not available
*/
/*!
@function UAZoomChangeFocus
@abstract Tells the Universal Access zoom feature where it should focus.
@discussion This function tells Universal Access the frame of the element in focus and the
part of the element that should be in focus.
@param inRect The frame of the element in focus, in global 72-dot-per-inch (dpi) coordinates.
@param inHighlightRect The frame of the highlighted part of the element in focus, in global 72 dpi coordinates. If the whole element is in focus,
and not just a smaller part of it, pass the <code>inRect</code> parameter and pass <code>NULL</code> for <code>inHighlightRect</code>.
@param inType A value of type @link UAZoomChangeFocusType UAZoomChangeFocusType@/link.
@result Returns <code>noErr</code> if there were no problems, if Universal Access Zoom is zoomed all the way out, or if the feature is off;
returns <code>paramErr</code> if <code>inRect</code> is <code>NULL</code> or if <code>inType</code> is out of range.
@availability Available in Mac OS X v10.4 and later (not available in CarbonLib 1.x and not available for nonCarbon CFM).
*/
extern OSStatus
UAZoomChangeFocus(
const CGRect * inRect,
const CGRect * inHighlightRect,
UAZoomChangeFocusType inType) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
#ifdef __cplusplus
}
#endif
#endif /* __UNIVERSALACCESS__ */
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Foundation.tbd | --- !tapi-tbd
tbd-version: 4
targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst,
arm64e-macos, arm64e-maccatalyst ]
uuids:
- target: x86_64-macos
value: 6DE15550-F032-3769-905F-38F077AC8C07
- target: x86_64-maccatalyst
value: 6DE15550-F032-3769-905F-38F077AC8C07
- target: arm64-macos
value: 00000000-0000-0000-0000-000000000000
- target: arm64-maccatalyst
value: 00000000-0000-0000-0000-000000000000
- target: arm64e-macos
value: C4C13763-E0A1-3F03-AEF7-123330FC9B68
- target: arm64e-maccatalyst
value: C4C13763-E0A1-3F03-AEF7-123330FC9B68
install-name: '/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation'
current-version: 1853
compatibility-version: 300
exports:
- targets: [ x86_64-macos ]
symbols: [ '$ld$hide$os10.10$_OBJC_CLASS_$_NSURLSessionStreamTask', '$ld$hide$os10.10$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.10$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.10$_OBJC_METACLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.10$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.10$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.11$_OBJC_CLASS_$_NSURLSessionStreamTask', '$ld$hide$os10.11$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.11$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.11$_OBJC_METACLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.11$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.11$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.12$_OBJC_CLASS_$_NSURLSessionStreamTask', '$ld$hide$os10.12$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.12$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.12$_OBJC_METACLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.12$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.12$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.13$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.13$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.13$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.13$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.14$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.14$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.14$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.14$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.6$_NSEdgeInsetsZero', '$ld$hide$os10.6$_NSMetadataQueryUpdateAddedItemsKey',
'$ld$hide$os10.6$_NSMetadataQueryUpdateChangedItemsKey', '$ld$hide$os10.6$_NSMetadataQueryUpdateRemovedItemsKey',
'$ld$hide$os10.6$_OBJC_CLASS_$_NSFileWrapper', '$ld$hide$os10.6$_OBJC_CLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.6$_OBJC_CLASS_$_NSURLSessionTaskMetrics', '$ld$hide$os10.6$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.6$_OBJC_METACLASS_$_NSFileWrapper', '$ld$hide$os10.6$_OBJC_METACLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.6$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.6$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.7$_NSEdgeInsetsZero', '$ld$hide$os10.7$_NSMetadataQueryUpdateAddedItemsKey',
'$ld$hide$os10.7$_NSMetadataQueryUpdateChangedItemsKey', '$ld$hide$os10.7$_NSMetadataQueryUpdateRemovedItemsKey',
'$ld$hide$os10.7$_OBJC_CLASS_$_NSURLSessionStreamTask', '$ld$hide$os10.7$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.7$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.7$_OBJC_METACLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.7$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.7$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.8$_NSEdgeInsetsZero', '$ld$hide$os10.8$_NSMetadataQueryUpdateAddedItemsKey',
'$ld$hide$os10.8$_NSMetadataQueryUpdateChangedItemsKey', '$ld$hide$os10.8$_NSMetadataQueryUpdateRemovedItemsKey',
'$ld$hide$os10.8$_OBJC_CLASS_$_NSURLSessionStreamTask', '$ld$hide$os10.8$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.8$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.8$_OBJC_METACLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.8$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.8$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.9$_NSEdgeInsetsZero', '$ld$hide$os10.9$_NSMetadataQueryUpdateAddedItemsKey',
'$ld$hide$os10.9$_NSMetadataQueryUpdateChangedItemsKey', '$ld$hide$os10.9$_NSMetadataQueryUpdateRemovedItemsKey',
'$ld$hide$os10.9$_OBJC_CLASS_$_NSURLSessionStreamTask', '$ld$hide$os10.9$_OBJC_CLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.9$_OBJC_CLASS_$_NSURLSessionTaskTransactionMetrics',
'$ld$hide$os10.9$_OBJC_METACLASS_$_NSURLSessionStreamTask',
'$ld$hide$os10.9$_OBJC_METACLASS_$_NSURLSessionTaskMetrics',
'$ld$hide$os10.9$_OBJC_METACLASS_$_NSURLSessionTaskTransactionMetrics' ]
- targets: [ x86_64-macos, x86_64-maccatalyst ]
symbols: [ '$ld$hide$os10.10$_NSMetadataItemAcquisitionMakeKey', '$ld$hide$os10.10$_NSMetadataItemAcquisitionModelKey',
'$ld$hide$os10.10$_NSMetadataItemAlbumKey', '$ld$hide$os10.10$_NSMetadataItemAltitudeKey',
'$ld$hide$os10.10$_NSMetadataItemApertureKey', '$ld$hide$os10.10$_NSMetadataItemAppleLoopDescriptorsKey',
'$ld$hide$os10.10$_NSMetadataItemAppleLoopsKeyFilterTypeKey',
'$ld$hide$os10.10$_NSMetadataItemAppleLoopsLoopModeKey', '$ld$hide$os10.10$_NSMetadataItemAppleLoopsRootKeyKey',
'$ld$hide$os10.10$_NSMetadataItemApplicationCategoriesKey',
'$ld$hide$os10.10$_NSMetadataItemAttributeChangeDateKey',
'$ld$hide$os10.10$_NSMetadataItemAudiencesKey', '$ld$hide$os10.10$_NSMetadataItemAudioBitRateKey',
'$ld$hide$os10.10$_NSMetadataItemAudioChannelCountKey', '$ld$hide$os10.10$_NSMetadataItemAudioEncodingApplicationKey',
'$ld$hide$os10.10$_NSMetadataItemAudioSampleRateKey', '$ld$hide$os10.10$_NSMetadataItemAudioTrackNumberKey',
'$ld$hide$os10.10$_NSMetadataItemAuthorAddressesKey', '$ld$hide$os10.10$_NSMetadataItemAuthorEmailAddressesKey',
'$ld$hide$os10.10$_NSMetadataItemAuthorsKey', '$ld$hide$os10.10$_NSMetadataItemBitsPerSampleKey',
'$ld$hide$os10.10$_NSMetadataItemCFBundleIdentifierKey', '$ld$hide$os10.10$_NSMetadataItemCameraOwnerKey',
'$ld$hide$os10.10$_NSMetadataItemCityKey', '$ld$hide$os10.10$_NSMetadataItemCodecsKey',
'$ld$hide$os10.10$_NSMetadataItemColorSpaceKey', '$ld$hide$os10.10$_NSMetadataItemCommentKey',
'$ld$hide$os10.10$_NSMetadataItemComposerKey', '$ld$hide$os10.10$_NSMetadataItemContactKeywordsKey',
'$ld$hide$os10.10$_NSMetadataItemContentCreationDateKey',
'$ld$hide$os10.10$_NSMetadataItemContentModificationDateKey',
'$ld$hide$os10.10$_NSMetadataItemContributorsKey', '$ld$hide$os10.10$_NSMetadataItemCopyrightKey',
'$ld$hide$os10.10$_NSMetadataItemCountryKey', '$ld$hide$os10.10$_NSMetadataItemCoverageKey',
'$ld$hide$os10.10$_NSMetadataItemCreatorKey', '$ld$hide$os10.10$_NSMetadataItemDateAddedKey',
'$ld$hide$os10.10$_NSMetadataItemDeliveryTypeKey', '$ld$hide$os10.10$_NSMetadataItemDescriptionKey',
'$ld$hide$os10.10$_NSMetadataItemDirectorKey', '$ld$hide$os10.10$_NSMetadataItemDownloadedDateKey',
'$ld$hide$os10.10$_NSMetadataItemDueDateKey', '$ld$hide$os10.10$_NSMetadataItemDurationSecondsKey',
'$ld$hide$os10.10$_NSMetadataItemEXIFGPSVersionKey', '$ld$hide$os10.10$_NSMetadataItemEXIFVersionKey',
'$ld$hide$os10.10$_NSMetadataItemEditorsKey', '$ld$hide$os10.10$_NSMetadataItemEmailAddressesKey',
'$ld$hide$os10.10$_NSMetadataItemEncodingApplicationsKey',
'$ld$hide$os10.10$_NSMetadataItemExecutableArchitecturesKey',
'$ld$hide$os10.10$_NSMetadataItemExecutablePlatformKey', '$ld$hide$os10.10$_NSMetadataItemExposureModeKey',
'$ld$hide$os10.10$_NSMetadataItemExposureProgramKey', '$ld$hide$os10.10$_NSMetadataItemExposureTimeSecondsKey',
'$ld$hide$os10.10$_NSMetadataItemExposureTimeStringKey', '$ld$hide$os10.10$_NSMetadataItemFNumberKey',
'$ld$hide$os10.10$_NSMetadataItemFinderCommentKey', '$ld$hide$os10.10$_NSMetadataItemFlashOnOffKey',
'$ld$hide$os10.10$_NSMetadataItemFocalLength35mmKey', '$ld$hide$os10.10$_NSMetadataItemFocalLengthKey',
'$ld$hide$os10.10$_NSMetadataItemFontsKey', '$ld$hide$os10.10$_NSMetadataItemGPSAreaInformationKey',
'$ld$hide$os10.10$_NSMetadataItemGPSDOPKey', '$ld$hide$os10.10$_NSMetadataItemGPSDateStampKey',
'$ld$hide$os10.10$_NSMetadataItemGPSDestBearingKey', '$ld$hide$os10.10$_NSMetadataItemGPSDestDistanceKey',
'$ld$hide$os10.10$_NSMetadataItemGPSDestLatitudeKey', '$ld$hide$os10.10$_NSMetadataItemGPSDestLongitudeKey',
'$ld$hide$os10.10$_NSMetadataItemGPSDifferentalKey', '$ld$hide$os10.10$_NSMetadataItemGPSMapDatumKey',
'$ld$hide$os10.10$_NSMetadataItemGPSMeasureModeKey', '$ld$hide$os10.10$_NSMetadataItemGPSProcessingMethodKey',
'$ld$hide$os10.10$_NSMetadataItemGPSStatusKey', '$ld$hide$os10.10$_NSMetadataItemGPSTrackKey',
'$ld$hide$os10.10$_NSMetadataItemGenreKey', '$ld$hide$os10.10$_NSMetadataItemHasAlphaChannelKey',
'$ld$hide$os10.10$_NSMetadataItemHeadlineKey', '$ld$hide$os10.10$_NSMetadataItemISOSpeedKey',
'$ld$hide$os10.10$_NSMetadataItemIdentifierKey', '$ld$hide$os10.10$_NSMetadataItemImageDirectionKey',
'$ld$hide$os10.10$_NSMetadataItemInformationKey', '$ld$hide$os10.10$_NSMetadataItemInstantMessageAddressesKey',
'$ld$hide$os10.10$_NSMetadataItemInstructionsKey', '$ld$hide$os10.10$_NSMetadataItemIsApplicationManagedKey',
'$ld$hide$os10.10$_NSMetadataItemIsGeneralMIDISequenceKey',
'$ld$hide$os10.10$_NSMetadataItemIsLikelyJunkKey', '$ld$hide$os10.10$_NSMetadataItemKeySignatureKey',
'$ld$hide$os10.10$_NSMetadataItemKeywordsKey', '$ld$hide$os10.10$_NSMetadataItemKindKey',
'$ld$hide$os10.10$_NSMetadataItemLanguagesKey', '$ld$hide$os10.10$_NSMetadataItemLastUsedDateKey',
'$ld$hide$os10.10$_NSMetadataItemLatitudeKey', '$ld$hide$os10.10$_NSMetadataItemLayerNamesKey',
'$ld$hide$os10.10$_NSMetadataItemLensModelKey', '$ld$hide$os10.10$_NSMetadataItemLongitudeKey',
'$ld$hide$os10.10$_NSMetadataItemLyricistKey', '$ld$hide$os10.10$_NSMetadataItemMaxApertureKey',
'$ld$hide$os10.10$_NSMetadataItemMediaTypesKey', '$ld$hide$os10.10$_NSMetadataItemMeteringModeKey',
'$ld$hide$os10.10$_NSMetadataItemMusicalGenreKey', '$ld$hide$os10.10$_NSMetadataItemMusicalInstrumentCategoryKey',
'$ld$hide$os10.10$_NSMetadataItemMusicalInstrumentNameKey',
'$ld$hide$os10.10$_NSMetadataItemNamedLocationKey', '$ld$hide$os10.10$_NSMetadataItemNumberOfPagesKey',
'$ld$hide$os10.10$_NSMetadataItemOrganizationsKey', '$ld$hide$os10.10$_NSMetadataItemOrientationKey',
'$ld$hide$os10.10$_NSMetadataItemOriginalFormatKey', '$ld$hide$os10.10$_NSMetadataItemOriginalSourceKey',
'$ld$hide$os10.10$_NSMetadataItemPageHeightKey', '$ld$hide$os10.10$_NSMetadataItemPageWidthKey',
'$ld$hide$os10.10$_NSMetadataItemParticipantsKey', '$ld$hide$os10.10$_NSMetadataItemPerformersKey',
'$ld$hide$os10.10$_NSMetadataItemPhoneNumbersKey', '$ld$hide$os10.10$_NSMetadataItemPixelCountKey',
'$ld$hide$os10.10$_NSMetadataItemPixelHeightKey', '$ld$hide$os10.10$_NSMetadataItemPixelWidthKey',
'$ld$hide$os10.10$_NSMetadataItemProducerKey', '$ld$hide$os10.10$_NSMetadataItemProfileNameKey',
'$ld$hide$os10.10$_NSMetadataItemProjectsKey', '$ld$hide$os10.10$_NSMetadataItemPublishersKey',
'$ld$hide$os10.10$_NSMetadataItemRecipientAddressesKey', '$ld$hide$os10.10$_NSMetadataItemRecipientEmailAddressesKey',
'$ld$hide$os10.10$_NSMetadataItemRecipientsKey', '$ld$hide$os10.10$_NSMetadataItemRecordingDateKey',
'$ld$hide$os10.10$_NSMetadataItemRecordingYearKey', '$ld$hide$os10.10$_NSMetadataItemRedEyeOnOffKey',
'$ld$hide$os10.10$_NSMetadataItemResolutionHeightDPIKey',
'$ld$hide$os10.10$_NSMetadataItemResolutionWidthDPIKey', '$ld$hide$os10.10$_NSMetadataItemRightsKey',
'$ld$hide$os10.10$_NSMetadataItemSecurityMethodKey', '$ld$hide$os10.10$_NSMetadataItemSpeedKey',
'$ld$hide$os10.10$_NSMetadataItemStarRatingKey', '$ld$hide$os10.10$_NSMetadataItemStateOrProvinceKey',
'$ld$hide$os10.10$_NSMetadataItemStreamableKey', '$ld$hide$os10.10$_NSMetadataItemSubjectKey',
'$ld$hide$os10.10$_NSMetadataItemTempoKey', '$ld$hide$os10.10$_NSMetadataItemTextContentKey',
'$ld$hide$os10.10$_NSMetadataItemThemeKey', '$ld$hide$os10.10$_NSMetadataItemTimeSignatureKey',
'$ld$hide$os10.10$_NSMetadataItemTimestampKey', '$ld$hide$os10.10$_NSMetadataItemTitleKey',
'$ld$hide$os10.10$_NSMetadataItemTotalBitRateKey', '$ld$hide$os10.10$_NSMetadataItemVersionKey',
'$ld$hide$os10.10$_NSMetadataItemVideoBitRateKey', '$ld$hide$os10.10$_NSMetadataItemWhereFromsKey',
'$ld$hide$os10.10$_NSMetadataItemWhiteBalanceKey', '$ld$hide$os10.10$_NSMetadataQueryIndexedLocalComputerScope',
'$ld$hide$os10.10$_NSMetadataQueryIndexedNetworkScope', '$ld$hide$os10.11$_NSMetadataItemAcquisitionMakeKey',
'$ld$hide$os10.11$_NSMetadataItemAcquisitionModelKey', '$ld$hide$os10.11$_NSMetadataItemAlbumKey',
'$ld$hide$os10.11$_NSMetadataItemAltitudeKey', '$ld$hide$os10.11$_NSMetadataItemApertureKey',
'$ld$hide$os10.11$_NSMetadataItemAppleLoopDescriptorsKey',
'$ld$hide$os10.11$_NSMetadataItemAppleLoopsKeyFilterTypeKey',
'$ld$hide$os10.11$_NSMetadataItemAppleLoopsLoopModeKey', '$ld$hide$os10.11$_NSMetadataItemAppleLoopsRootKeyKey',
'$ld$hide$os10.11$_NSMetadataItemApplicationCategoriesKey',
'$ld$hide$os10.11$_NSMetadataItemAttributeChangeDateKey',
'$ld$hide$os10.11$_NSMetadataItemAudiencesKey', '$ld$hide$os10.11$_NSMetadataItemAudioBitRateKey',
'$ld$hide$os10.11$_NSMetadataItemAudioChannelCountKey', '$ld$hide$os10.11$_NSMetadataItemAudioEncodingApplicationKey',
'$ld$hide$os10.11$_NSMetadataItemAudioSampleRateKey', '$ld$hide$os10.11$_NSMetadataItemAudioTrackNumberKey',
'$ld$hide$os10.11$_NSMetadataItemAuthorAddressesKey', '$ld$hide$os10.11$_NSMetadataItemAuthorEmailAddressesKey',
'$ld$hide$os10.11$_NSMetadataItemAuthorsKey', '$ld$hide$os10.11$_NSMetadataItemBitsPerSampleKey',
'$ld$hide$os10.11$_NSMetadataItemCFBundleIdentifierKey', '$ld$hide$os10.11$_NSMetadataItemCameraOwnerKey',
'$ld$hide$os10.11$_NSMetadataItemCityKey', '$ld$hide$os10.11$_NSMetadataItemCodecsKey',
'$ld$hide$os10.11$_NSMetadataItemColorSpaceKey', '$ld$hide$os10.11$_NSMetadataItemCommentKey',
'$ld$hide$os10.11$_NSMetadataItemComposerKey', '$ld$hide$os10.11$_NSMetadataItemContactKeywordsKey',
'$ld$hide$os10.11$_NSMetadataItemContentCreationDateKey',
'$ld$hide$os10.11$_NSMetadataItemContentModificationDateKey',
'$ld$hide$os10.11$_NSMetadataItemContributorsKey', '$ld$hide$os10.11$_NSMetadataItemCopyrightKey',
'$ld$hide$os10.11$_NSMetadataItemCountryKey', '$ld$hide$os10.11$_NSMetadataItemCoverageKey',
'$ld$hide$os10.11$_NSMetadataItemCreatorKey', '$ld$hide$os10.11$_NSMetadataItemDateAddedKey',
'$ld$hide$os10.11$_NSMetadataItemDeliveryTypeKey', '$ld$hide$os10.11$_NSMetadataItemDescriptionKey',
'$ld$hide$os10.11$_NSMetadataItemDirectorKey', '$ld$hide$os10.11$_NSMetadataItemDownloadedDateKey',
'$ld$hide$os10.11$_NSMetadataItemDueDateKey', '$ld$hide$os10.11$_NSMetadataItemDurationSecondsKey',
'$ld$hide$os10.11$_NSMetadataItemEXIFGPSVersionKey', '$ld$hide$os10.11$_NSMetadataItemEXIFVersionKey',
'$ld$hide$os10.11$_NSMetadataItemEditorsKey', '$ld$hide$os10.11$_NSMetadataItemEmailAddressesKey',
'$ld$hide$os10.11$_NSMetadataItemEncodingApplicationsKey',
'$ld$hide$os10.11$_NSMetadataItemExecutableArchitecturesKey',
'$ld$hide$os10.11$_NSMetadataItemExecutablePlatformKey', '$ld$hide$os10.11$_NSMetadataItemExposureModeKey',
'$ld$hide$os10.11$_NSMetadataItemExposureProgramKey', '$ld$hide$os10.11$_NSMetadataItemExposureTimeSecondsKey',
'$ld$hide$os10.11$_NSMetadataItemExposureTimeStringKey', '$ld$hide$os10.11$_NSMetadataItemFNumberKey',
'$ld$hide$os10.11$_NSMetadataItemFinderCommentKey', '$ld$hide$os10.11$_NSMetadataItemFlashOnOffKey',
'$ld$hide$os10.11$_NSMetadataItemFocalLength35mmKey', '$ld$hide$os10.11$_NSMetadataItemFocalLengthKey',
'$ld$hide$os10.11$_NSMetadataItemFontsKey', '$ld$hide$os10.11$_NSMetadataItemGPSAreaInformationKey',
'$ld$hide$os10.11$_NSMetadataItemGPSDOPKey', '$ld$hide$os10.11$_NSMetadataItemGPSDateStampKey',
'$ld$hide$os10.11$_NSMetadataItemGPSDestBearingKey', '$ld$hide$os10.11$_NSMetadataItemGPSDestDistanceKey',
'$ld$hide$os10.11$_NSMetadataItemGPSDestLatitudeKey', '$ld$hide$os10.11$_NSMetadataItemGPSDestLongitudeKey',
'$ld$hide$os10.11$_NSMetadataItemGPSDifferentalKey', '$ld$hide$os10.11$_NSMetadataItemGPSMapDatumKey',
'$ld$hide$os10.11$_NSMetadataItemGPSMeasureModeKey', '$ld$hide$os10.11$_NSMetadataItemGPSProcessingMethodKey',
'$ld$hide$os10.11$_NSMetadataItemGPSStatusKey', '$ld$hide$os10.11$_NSMetadataItemGPSTrackKey',
'$ld$hide$os10.11$_NSMetadataItemGenreKey', '$ld$hide$os10.11$_NSMetadataItemHasAlphaChannelKey',
'$ld$hide$os10.11$_NSMetadataItemHeadlineKey', '$ld$hide$os10.11$_NSMetadataItemISOSpeedKey',
'$ld$hide$os10.11$_NSMetadataItemIdentifierKey', '$ld$hide$os10.11$_NSMetadataItemImageDirectionKey',
'$ld$hide$os10.11$_NSMetadataItemInformationKey', '$ld$hide$os10.11$_NSMetadataItemInstantMessageAddressesKey',
'$ld$hide$os10.11$_NSMetadataItemInstructionsKey', '$ld$hide$os10.11$_NSMetadataItemIsApplicationManagedKey',
'$ld$hide$os10.11$_NSMetadataItemIsGeneralMIDISequenceKey',
'$ld$hide$os10.11$_NSMetadataItemIsLikelyJunkKey', '$ld$hide$os10.11$_NSMetadataItemKeySignatureKey',
'$ld$hide$os10.11$_NSMetadataItemKeywordsKey', '$ld$hide$os10.11$_NSMetadataItemKindKey',
'$ld$hide$os10.11$_NSMetadataItemLanguagesKey', '$ld$hide$os10.11$_NSMetadataItemLastUsedDateKey',
'$ld$hide$os10.11$_NSMetadataItemLatitudeKey', '$ld$hide$os10.11$_NSMetadataItemLayerNamesKey',
'$ld$hide$os10.11$_NSMetadataItemLensModelKey', '$ld$hide$os10.11$_NSMetadataItemLongitudeKey',
'$ld$hide$os10.11$_NSMetadataItemLyricistKey', '$ld$hide$os10.11$_NSMetadataItemMaxApertureKey',
'$ld$hide$os10.11$_NSMetadataItemMediaTypesKey', '$ld$hide$os10.11$_NSMetadataItemMeteringModeKey',
'$ld$hide$os10.11$_NSMetadataItemMusicalGenreKey', '$ld$hide$os10.11$_NSMetadataItemMusicalInstrumentCategoryKey',
'$ld$hide$os10.11$_NSMetadataItemMusicalInstrumentNameKey',
'$ld$hide$os10.11$_NSMetadataItemNamedLocationKey', '$ld$hide$os10.11$_NSMetadataItemNumberOfPagesKey',
'$ld$hide$os10.11$_NSMetadataItemOrganizationsKey', '$ld$hide$os10.11$_NSMetadataItemOrientationKey',
'$ld$hide$os10.11$_NSMetadataItemOriginalFormatKey', '$ld$hide$os10.11$_NSMetadataItemOriginalSourceKey',
'$ld$hide$os10.11$_NSMetadataItemPageHeightKey', '$ld$hide$os10.11$_NSMetadataItemPageWidthKey',
'$ld$hide$os10.11$_NSMetadataItemParticipantsKey', '$ld$hide$os10.11$_NSMetadataItemPerformersKey',
'$ld$hide$os10.11$_NSMetadataItemPhoneNumbersKey', '$ld$hide$os10.11$_NSMetadataItemPixelCountKey',
'$ld$hide$os10.11$_NSMetadataItemPixelHeightKey', '$ld$hide$os10.11$_NSMetadataItemPixelWidthKey',
'$ld$hide$os10.11$_NSMetadataItemProducerKey', '$ld$hide$os10.11$_NSMetadataItemProfileNameKey',
'$ld$hide$os10.11$_NSMetadataItemProjectsKey', '$ld$hide$os10.11$_NSMetadataItemPublishersKey',
'$ld$hide$os10.11$_NSMetadataItemRecipientAddressesKey', '$ld$hide$os10.11$_NSMetadataItemRecipientEmailAddressesKey',
'$ld$hide$os10.11$_NSMetadataItemRecipientsKey', '$ld$hide$os10.11$_NSMetadataItemRecordingDateKey',
'$ld$hide$os10.11$_NSMetadataItemRecordingYearKey', '$ld$hide$os10.11$_NSMetadataItemRedEyeOnOffKey',
'$ld$hide$os10.11$_NSMetadataItemResolutionHeightDPIKey',
'$ld$hide$os10.11$_NSMetadataItemResolutionWidthDPIKey', '$ld$hide$os10.11$_NSMetadataItemRightsKey',
'$ld$hide$os10.11$_NSMetadataItemSecurityMethodKey', '$ld$hide$os10.11$_NSMetadataItemSpeedKey',
'$ld$hide$os10.11$_NSMetadataItemStarRatingKey', '$ld$hide$os10.11$_NSMetadataItemStateOrProvinceKey',
'$ld$hide$os10.11$_NSMetadataItemStreamableKey', '$ld$hide$os10.11$_NSMetadataItemSubjectKey',
'$ld$hide$os10.11$_NSMetadataItemTempoKey', '$ld$hide$os10.11$_NSMetadataItemTextContentKey',
'$ld$hide$os10.11$_NSMetadataItemThemeKey', '$ld$hide$os10.11$_NSMetadataItemTimeSignatureKey',
'$ld$hide$os10.11$_NSMetadataItemTimestampKey', '$ld$hide$os10.11$_NSMetadataItemTitleKey',
'$ld$hide$os10.11$_NSMetadataItemTotalBitRateKey', '$ld$hide$os10.11$_NSMetadataItemVersionKey',
'$ld$hide$os10.11$_NSMetadataItemVideoBitRateKey', '$ld$hide$os10.11$_NSMetadataItemWhereFromsKey',
'$ld$hide$os10.11$_NSMetadataItemWhiteBalanceKey', '$ld$hide$os10.11$_NSMetadataQueryIndexedLocalComputerScope',
'$ld$hide$os10.11$_NSMetadataQueryIndexedNetworkScope', '$ld$hide$os10.12$_NSMetadataItemAcquisitionMakeKey',
'$ld$hide$os10.12$_NSMetadataItemAcquisitionModelKey', '$ld$hide$os10.12$_NSMetadataItemAlbumKey',
'$ld$hide$os10.12$_NSMetadataItemAltitudeKey', '$ld$hide$os10.12$_NSMetadataItemApertureKey',
'$ld$hide$os10.12$_NSMetadataItemAppleLoopDescriptorsKey',
'$ld$hide$os10.12$_NSMetadataItemAppleLoopsKeyFilterTypeKey',
'$ld$hide$os10.12$_NSMetadataItemAppleLoopsLoopModeKey', '$ld$hide$os10.12$_NSMetadataItemAppleLoopsRootKeyKey',
'$ld$hide$os10.12$_NSMetadataItemApplicationCategoriesKey',
'$ld$hide$os10.12$_NSMetadataItemAttributeChangeDateKey',
'$ld$hide$os10.12$_NSMetadataItemAudiencesKey', '$ld$hide$os10.12$_NSMetadataItemAudioBitRateKey',
'$ld$hide$os10.12$_NSMetadataItemAudioChannelCountKey', '$ld$hide$os10.12$_NSMetadataItemAudioEncodingApplicationKey',
'$ld$hide$os10.12$_NSMetadataItemAudioSampleRateKey', '$ld$hide$os10.12$_NSMetadataItemAudioTrackNumberKey',
'$ld$hide$os10.12$_NSMetadataItemAuthorAddressesKey', '$ld$hide$os10.12$_NSMetadataItemAuthorEmailAddressesKey',
'$ld$hide$os10.12$_NSMetadataItemAuthorsKey', '$ld$hide$os10.12$_NSMetadataItemBitsPerSampleKey',
'$ld$hide$os10.12$_NSMetadataItemCFBundleIdentifierKey', '$ld$hide$os10.12$_NSMetadataItemCameraOwnerKey',
'$ld$hide$os10.12$_NSMetadataItemCityKey', '$ld$hide$os10.12$_NSMetadataItemCodecsKey',
'$ld$hide$os10.12$_NSMetadataItemColorSpaceKey', '$ld$hide$os10.12$_NSMetadataItemCommentKey',
'$ld$hide$os10.12$_NSMetadataItemComposerKey', '$ld$hide$os10.12$_NSMetadataItemContactKeywordsKey',
'$ld$hide$os10.12$_NSMetadataItemContentCreationDateKey',
'$ld$hide$os10.12$_NSMetadataItemContentModificationDateKey',
'$ld$hide$os10.12$_NSMetadataItemContributorsKey', '$ld$hide$os10.12$_NSMetadataItemCopyrightKey',
'$ld$hide$os10.12$_NSMetadataItemCountryKey', '$ld$hide$os10.12$_NSMetadataItemCoverageKey',
'$ld$hide$os10.12$_NSMetadataItemCreatorKey', '$ld$hide$os10.12$_NSMetadataItemDateAddedKey',
'$ld$hide$os10.12$_NSMetadataItemDeliveryTypeKey', '$ld$hide$os10.12$_NSMetadataItemDescriptionKey',
'$ld$hide$os10.12$_NSMetadataItemDirectorKey', '$ld$hide$os10.12$_NSMetadataItemDownloadedDateKey',
'$ld$hide$os10.12$_NSMetadataItemDueDateKey', '$ld$hide$os10.12$_NSMetadataItemDurationSecondsKey',
'$ld$hide$os10.12$_NSMetadataItemEXIFGPSVersionKey', '$ld$hide$os10.12$_NSMetadataItemEXIFVersionKey',
'$ld$hide$os10.12$_NSMetadataItemEditorsKey', '$ld$hide$os10.12$_NSMetadataItemEmailAddressesKey',
'$ld$hide$os10.12$_NSMetadataItemEncodingApplicationsKey',
'$ld$hide$os10.12$_NSMetadataItemExecutableArchitecturesKey',
'$ld$hide$os10.12$_NSMetadataItemExecutablePlatformKey', '$ld$hide$os10.12$_NSMetadataItemExposureModeKey',
'$ld$hide$os10.12$_NSMetadataItemExposureProgramKey', '$ld$hide$os10.12$_NSMetadataItemExposureTimeSecondsKey',
'$ld$hide$os10.12$_NSMetadataItemExposureTimeStringKey', '$ld$hide$os10.12$_NSMetadataItemFNumberKey',
'$ld$hide$os10.12$_NSMetadataItemFinderCommentKey', '$ld$hide$os10.12$_NSMetadataItemFlashOnOffKey',
'$ld$hide$os10.12$_NSMetadataItemFocalLength35mmKey', '$ld$hide$os10.12$_NSMetadataItemFocalLengthKey',
'$ld$hide$os10.12$_NSMetadataItemFontsKey', '$ld$hide$os10.12$_NSMetadataItemGPSAreaInformationKey',
'$ld$hide$os10.12$_NSMetadataItemGPSDOPKey', '$ld$hide$os10.12$_NSMetadataItemGPSDateStampKey',
'$ld$hide$os10.12$_NSMetadataItemGPSDestBearingKey', '$ld$hide$os10.12$_NSMetadataItemGPSDestDistanceKey',
'$ld$hide$os10.12$_NSMetadataItemGPSDestLatitudeKey', '$ld$hide$os10.12$_NSMetadataItemGPSDestLongitudeKey',
'$ld$hide$os10.12$_NSMetadataItemGPSDifferentalKey', '$ld$hide$os10.12$_NSMetadataItemGPSMapDatumKey',
'$ld$hide$os10.12$_NSMetadataItemGPSMeasureModeKey', '$ld$hide$os10.12$_NSMetadataItemGPSProcessingMethodKey',
'$ld$hide$os10.12$_NSMetadataItemGPSStatusKey', '$ld$hide$os10.12$_NSMetadataItemGPSTrackKey',
'$ld$hide$os10.12$_NSMetadataItemGenreKey', '$ld$hide$os10.12$_NSMetadataItemHasAlphaChannelKey',
'$ld$hide$os10.12$_NSMetadataItemHeadlineKey', '$ld$hide$os10.12$_NSMetadataItemISOSpeedKey',
'$ld$hide$os10.12$_NSMetadataItemIdentifierKey', '$ld$hide$os10.12$_NSMetadataItemImageDirectionKey',
'$ld$hide$os10.12$_NSMetadataItemInformationKey', '$ld$hide$os10.12$_NSMetadataItemInstantMessageAddressesKey',
'$ld$hide$os10.12$_NSMetadataItemInstructionsKey', '$ld$hide$os10.12$_NSMetadataItemIsApplicationManagedKey',
'$ld$hide$os10.12$_NSMetadataItemIsGeneralMIDISequenceKey',
'$ld$hide$os10.12$_NSMetadataItemIsLikelyJunkKey', '$ld$hide$os10.12$_NSMetadataItemKeySignatureKey',
'$ld$hide$os10.12$_NSMetadataItemKeywordsKey', '$ld$hide$os10.12$_NSMetadataItemKindKey',
'$ld$hide$os10.12$_NSMetadataItemLanguagesKey', '$ld$hide$os10.12$_NSMetadataItemLastUsedDateKey',
'$ld$hide$os10.12$_NSMetadataItemLatitudeKey', '$ld$hide$os10.12$_NSMetadataItemLayerNamesKey',
'$ld$hide$os10.12$_NSMetadataItemLensModelKey', '$ld$hide$os10.12$_NSMetadataItemLongitudeKey',
'$ld$hide$os10.12$_NSMetadataItemLyricistKey', '$ld$hide$os10.12$_NSMetadataItemMaxApertureKey',
'$ld$hide$os10.12$_NSMetadataItemMediaTypesKey', '$ld$hide$os10.12$_NSMetadataItemMeteringModeKey',
'$ld$hide$os10.12$_NSMetadataItemMusicalGenreKey', '$ld$hide$os10.12$_NSMetadataItemMusicalInstrumentCategoryKey',
'$ld$hide$os10.12$_NSMetadataItemMusicalInstrumentNameKey',
'$ld$hide$os10.12$_NSMetadataItemNamedLocationKey', '$ld$hide$os10.12$_NSMetadataItemNumberOfPagesKey',
'$ld$hide$os10.12$_NSMetadataItemOrganizationsKey', '$ld$hide$os10.12$_NSMetadataItemOrientationKey',
'$ld$hide$os10.12$_NSMetadataItemOriginalFormatKey', '$ld$hide$os10.12$_NSMetadataItemOriginalSourceKey',
'$ld$hide$os10.12$_NSMetadataItemPageHeightKey', '$ld$hide$os10.12$_NSMetadataItemPageWidthKey',
'$ld$hide$os10.12$_NSMetadataItemParticipantsKey', '$ld$hide$os10.12$_NSMetadataItemPerformersKey',
'$ld$hide$os10.12$_NSMetadataItemPhoneNumbersKey', '$ld$hide$os10.12$_NSMetadataItemPixelCountKey',
'$ld$hide$os10.12$_NSMetadataItemPixelHeightKey', '$ld$hide$os10.12$_NSMetadataItemPixelWidthKey',
'$ld$hide$os10.12$_NSMetadataItemProducerKey', '$ld$hide$os10.12$_NSMetadataItemProfileNameKey',
'$ld$hide$os10.12$_NSMetadataItemProjectsKey', '$ld$hide$os10.12$_NSMetadataItemPublishersKey',
'$ld$hide$os10.12$_NSMetadataItemRecipientAddressesKey', '$ld$hide$os10.12$_NSMetadataItemRecipientEmailAddressesKey',
'$ld$hide$os10.12$_NSMetadataItemRecipientsKey', '$ld$hide$os10.12$_NSMetadataItemRecordingDateKey',
'$ld$hide$os10.12$_NSMetadataItemRecordingYearKey', '$ld$hide$os10.12$_NSMetadataItemRedEyeOnOffKey',
'$ld$hide$os10.12$_NSMetadataItemResolutionHeightDPIKey',
'$ld$hide$os10.12$_NSMetadataItemResolutionWidthDPIKey', '$ld$hide$os10.12$_NSMetadataItemRightsKey',
'$ld$hide$os10.12$_NSMetadataItemSecurityMethodKey', '$ld$hide$os10.12$_NSMetadataItemSpeedKey',
'$ld$hide$os10.12$_NSMetadataItemStarRatingKey', '$ld$hide$os10.12$_NSMetadataItemStateOrProvinceKey',
'$ld$hide$os10.12$_NSMetadataItemStreamableKey', '$ld$hide$os10.12$_NSMetadataItemSubjectKey',
'$ld$hide$os10.12$_NSMetadataItemTempoKey', '$ld$hide$os10.12$_NSMetadataItemTextContentKey',
'$ld$hide$os10.12$_NSMetadataItemThemeKey', '$ld$hide$os10.12$_NSMetadataItemTimeSignatureKey',
'$ld$hide$os10.12$_NSMetadataItemTimestampKey', '$ld$hide$os10.12$_NSMetadataItemTitleKey',
'$ld$hide$os10.12$_NSMetadataItemTotalBitRateKey', '$ld$hide$os10.12$_NSMetadataItemVersionKey',
'$ld$hide$os10.12$_NSMetadataItemVideoBitRateKey', '$ld$hide$os10.12$_NSMetadataItemWhereFromsKey',
'$ld$hide$os10.12$_NSMetadataItemWhiteBalanceKey', '$ld$hide$os10.12$_NSMetadataQueryIndexedLocalComputerScope',
'$ld$hide$os10.12$_NSMetadataQueryIndexedNetworkScope', '$ld$hide$os10.13$_NSMetadataItemAcquisitionMakeKey',
'$ld$hide$os10.13$_NSMetadataItemAcquisitionModelKey', '$ld$hide$os10.13$_NSMetadataItemAlbumKey',
'$ld$hide$os10.13$_NSMetadataItemAltitudeKey', '$ld$hide$os10.13$_NSMetadataItemApertureKey',
'$ld$hide$os10.13$_NSMetadataItemAppleLoopDescriptorsKey',
'$ld$hide$os10.13$_NSMetadataItemAppleLoopsKeyFilterTypeKey',
'$ld$hide$os10.13$_NSMetadataItemAppleLoopsLoopModeKey', '$ld$hide$os10.13$_NSMetadataItemAppleLoopsRootKeyKey',
'$ld$hide$os10.13$_NSMetadataItemApplicationCategoriesKey',
'$ld$hide$os10.13$_NSMetadataItemAttributeChangeDateKey',
'$ld$hide$os10.13$_NSMetadataItemAudiencesKey', '$ld$hide$os10.13$_NSMetadataItemAudioBitRateKey',
'$ld$hide$os10.13$_NSMetadataItemAudioChannelCountKey', '$ld$hide$os10.13$_NSMetadataItemAudioEncodingApplicationKey',
'$ld$hide$os10.13$_NSMetadataItemAudioSampleRateKey', '$ld$hide$os10.13$_NSMetadataItemAudioTrackNumberKey',
'$ld$hide$os10.13$_NSMetadataItemAuthorAddressesKey', '$ld$hide$os10.13$_NSMetadataItemAuthorEmailAddressesKey',
'$ld$hide$os10.13$_NSMetadataItemAuthorsKey', '$ld$hide$os10.13$_NSMetadataItemBitsPerSampleKey',
'$ld$hide$os10.13$_NSMetadataItemCFBundleIdentifierKey', '$ld$hide$os10.13$_NSMetadataItemCameraOwnerKey',
'$ld$hide$os10.13$_NSMetadataItemCityKey', '$ld$hide$os10.13$_NSMetadataItemCodecsKey',
'$ld$hide$os10.13$_NSMetadataItemColorSpaceKey', '$ld$hide$os10.13$_NSMetadataItemCommentKey',
'$ld$hide$os10.13$_NSMetadataItemComposerKey', '$ld$hide$os10.13$_NSMetadataItemContactKeywordsKey',
'$ld$hide$os10.13$_NSMetadataItemContentCreationDateKey',
'$ld$hide$os10.13$_NSMetadataItemContentModificationDateKey',
'$ld$hide$os10.13$_NSMetadataItemContributorsKey', '$ld$hide$os10.13$_NSMetadataItemCopyrightKey',
'$ld$hide$os10.13$_NSMetadataItemCountryKey', '$ld$hide$os10.13$_NSMetadataItemCoverageKey',
'$ld$hide$os10.13$_NSMetadataItemCreatorKey', '$ld$hide$os10.13$_NSMetadataItemDateAddedKey',
'$ld$hide$os10.13$_NSMetadataItemDeliveryTypeKey', '$ld$hide$os10.13$_NSMetadataItemDescriptionKey',
'$ld$hide$os10.13$_NSMetadataItemDirectorKey', '$ld$hide$os10.13$_NSMetadataItemDownloadedDateKey',
'$ld$hide$os10.13$_NSMetadataItemDueDateKey', '$ld$hide$os10.13$_NSMetadataItemDurationSecondsKey',
'$ld$hide$os10.13$_NSMetadataItemEXIFGPSVersionKey', '$ld$hide$os10.13$_NSMetadataItemEXIFVersionKey',
'$ld$hide$os10.13$_NSMetadataItemEditorsKey', '$ld$hide$os10.13$_NSMetadataItemEmailAddressesKey',
'$ld$hide$os10.13$_NSMetadataItemEncodingApplicationsKey',
'$ld$hide$os10.13$_NSMetadataItemExecutableArchitecturesKey',
'$ld$hide$os10.13$_NSMetadataItemExecutablePlatformKey', '$ld$hide$os10.13$_NSMetadataItemExposureModeKey',
'$ld$hide$os10.13$_NSMetadataItemExposureProgramKey', '$ld$hide$os10.13$_NSMetadataItemExposureTimeSecondsKey',
'$ld$hide$os10.13$_NSMetadataItemExposureTimeStringKey', '$ld$hide$os10.13$_NSMetadataItemFNumberKey',
'$ld$hide$os10.13$_NSMetadataItemFinderCommentKey', '$ld$hide$os10.13$_NSMetadataItemFlashOnOffKey',
'$ld$hide$os10.13$_NSMetadataItemFocalLength35mmKey', '$ld$hide$os10.13$_NSMetadataItemFocalLengthKey',
'$ld$hide$os10.13$_NSMetadataItemFontsKey', '$ld$hide$os10.13$_NSMetadataItemGPSAreaInformationKey',
'$ld$hide$os10.13$_NSMetadataItemGPSDOPKey', '$ld$hide$os10.13$_NSMetadataItemGPSDateStampKey',
'$ld$hide$os10.13$_NSMetadataItemGPSDestBearingKey', '$ld$hide$os10.13$_NSMetadataItemGPSDestDistanceKey',
'$ld$hide$os10.13$_NSMetadataItemGPSDestLatitudeKey', '$ld$hide$os10.13$_NSMetadataItemGPSDestLongitudeKey',
'$ld$hide$os10.13$_NSMetadataItemGPSDifferentalKey', '$ld$hide$os10.13$_NSMetadataItemGPSMapDatumKey',
'$ld$hide$os10.13$_NSMetadataItemGPSMeasureModeKey', '$ld$hide$os10.13$_NSMetadataItemGPSProcessingMethodKey',
'$ld$hide$os10.13$_NSMetadataItemGPSStatusKey', '$ld$hide$os10.13$_NSMetadataItemGPSTrackKey',
'$ld$hide$os10.13$_NSMetadataItemGenreKey', '$ld$hide$os10.13$_NSMetadataItemHasAlphaChannelKey',
'$ld$hide$os10.13$_NSMetadataItemHeadlineKey', '$ld$hide$os10.13$_NSMetadataItemISOSpeedKey',
'$ld$hide$os10.13$_NSMetadataItemIdentifierKey', '$ld$hide$os10.13$_NSMetadataItemImageDirectionKey',
'$ld$hide$os10.13$_NSMetadataItemInformationKey', '$ld$hide$os10.13$_NSMetadataItemInstantMessageAddressesKey',
'$ld$hide$os10.13$_NSMetadataItemInstructionsKey', '$ld$hide$os10.13$_NSMetadataItemIsApplicationManagedKey',
'$ld$hide$os10.13$_NSMetadataItemIsGeneralMIDISequenceKey',
'$ld$hide$os10.13$_NSMetadataItemIsLikelyJunkKey', '$ld$hide$os10.13$_NSMetadataItemKeySignatureKey',
'$ld$hide$os10.13$_NSMetadataItemKeywordsKey', '$ld$hide$os10.13$_NSMetadataItemKindKey',
'$ld$hide$os10.13$_NSMetadataItemLanguagesKey', '$ld$hide$os10.13$_NSMetadataItemLastUsedDateKey',
'$ld$hide$os10.13$_NSMetadataItemLatitudeKey', '$ld$hide$os10.13$_NSMetadataItemLayerNamesKey',
'$ld$hide$os10.13$_NSMetadataItemLensModelKey', '$ld$hide$os10.13$_NSMetadataItemLongitudeKey',
'$ld$hide$os10.13$_NSMetadataItemLyricistKey', '$ld$hide$os10.13$_NSMetadataItemMaxApertureKey',
'$ld$hide$os10.13$_NSMetadataItemMediaTypesKey', '$ld$hide$os10.13$_NSMetadataItemMeteringModeKey',
'$ld$hide$os10.13$_NSMetadataItemMusicalGenreKey', '$ld$hide$os10.13$_NSMetadataItemMusicalInstrumentCategoryKey',
'$ld$hide$os10.13$_NSMetadataItemMusicalInstrumentNameKey',
'$ld$hide$os10.13$_NSMetadataItemNamedLocationKey', '$ld$hide$os10.13$_NSMetadataItemNumberOfPagesKey',
'$ld$hide$os10.13$_NSMetadataItemOrganizationsKey', '$ld$hide$os10.13$_NSMetadataItemOrientationKey',
'$ld$hide$os10.13$_NSMetadataItemOriginalFormatKey', '$ld$hide$os10.13$_NSMetadataItemOriginalSourceKey',
'$ld$hide$os10.13$_NSMetadataItemPageHeightKey', '$ld$hide$os10.13$_NSMetadataItemPageWidthKey',
'$ld$hide$os10.13$_NSMetadataItemParticipantsKey', '$ld$hide$os10.13$_NSMetadataItemPerformersKey',
'$ld$hide$os10.13$_NSMetadataItemPhoneNumbersKey', '$ld$hide$os10.13$_NSMetadataItemPixelCountKey',
'$ld$hide$os10.13$_NSMetadataItemPixelHeightKey', '$ld$hide$os10.13$_NSMetadataItemPixelWidthKey',
'$ld$hide$os10.13$_NSMetadataItemProducerKey', '$ld$hide$os10.13$_NSMetadataItemProfileNameKey',
'$ld$hide$os10.13$_NSMetadataItemProjectsKey', '$ld$hide$os10.13$_NSMetadataItemPublishersKey',
'$ld$hide$os10.13$_NSMetadataItemRecipientAddressesKey', '$ld$hide$os10.13$_NSMetadataItemRecipientEmailAddressesKey',
'$ld$hide$os10.13$_NSMetadataItemRecipientsKey', '$ld$hide$os10.13$_NSMetadataItemRecordingDateKey',
'$ld$hide$os10.13$_NSMetadataItemRecordingYearKey', '$ld$hide$os10.13$_NSMetadataItemRedEyeOnOffKey',
'$ld$hide$os10.13$_NSMetadataItemResolutionHeightDPIKey',
'$ld$hide$os10.13$_NSMetadataItemResolutionWidthDPIKey', '$ld$hide$os10.13$_NSMetadataItemRightsKey',
'$ld$hide$os10.13$_NSMetadataItemSecurityMethodKey', '$ld$hide$os10.13$_NSMetadataItemSpeedKey',
'$ld$hide$os10.13$_NSMetadataItemStarRatingKey', '$ld$hide$os10.13$_NSMetadataItemStateOrProvinceKey',
'$ld$hide$os10.13$_NSMetadataItemStreamableKey', '$ld$hide$os10.13$_NSMetadataItemSubjectKey',
'$ld$hide$os10.13$_NSMetadataItemTempoKey', '$ld$hide$os10.13$_NSMetadataItemTextContentKey',
'$ld$hide$os10.13$_NSMetadataItemThemeKey', '$ld$hide$os10.13$_NSMetadataItemTimeSignatureKey',
'$ld$hide$os10.13$_NSMetadataItemTimestampKey', '$ld$hide$os10.13$_NSMetadataItemTitleKey',
'$ld$hide$os10.13$_NSMetadataItemTotalBitRateKey', '$ld$hide$os10.13$_NSMetadataItemVersionKey',
'$ld$hide$os10.13$_NSMetadataItemVideoBitRateKey', '$ld$hide$os10.13$_NSMetadataItemWhereFromsKey',
'$ld$hide$os10.13$_NSMetadataItemWhiteBalanceKey', '$ld$hide$os10.13$_NSMetadataQueryIndexedLocalComputerScope',
'$ld$hide$os10.13$_NSMetadataQueryIndexedNetworkScope', '$ld$hide$os10.14$_NSMetadataItemAcquisitionMakeKey',
'$ld$hide$os10.14$_NSMetadataItemAcquisitionModelKey', '$ld$hide$os10.14$_NSMetadataItemAlbumKey',
'$ld$hide$os10.14$_NSMetadataItemAltitudeKey', '$ld$hide$os10.14$_NSMetadataItemApertureKey',
'$ld$hide$os10.14$_NSMetadataItemAppleLoopDescriptorsKey',
'$ld$hide$os10.14$_NSMetadataItemAppleLoopsKeyFilterTypeKey',
'$ld$hide$os10.14$_NSMetadataItemAppleLoopsLoopModeKey', '$ld$hide$os10.14$_NSMetadataItemAppleLoopsRootKeyKey',
'$ld$hide$os10.14$_NSMetadataItemApplicationCategoriesKey',
'$ld$hide$os10.14$_NSMetadataItemAttributeChangeDateKey',
'$ld$hide$os10.14$_NSMetadataItemAudiencesKey', '$ld$hide$os10.14$_NSMetadataItemAudioBitRateKey',
'$ld$hide$os10.14$_NSMetadataItemAudioChannelCountKey', '$ld$hide$os10.14$_NSMetadataItemAudioEncodingApplicationKey',
'$ld$hide$os10.14$_NSMetadataItemAudioSampleRateKey', '$ld$hide$os10.14$_NSMetadataItemAudioTrackNumberKey',
'$ld$hide$os10.14$_NSMetadataItemAuthorAddressesKey', '$ld$hide$os10.14$_NSMetadataItemAuthorEmailAddressesKey',
'$ld$hide$os10.14$_NSMetadataItemAuthorsKey', '$ld$hide$os10.14$_NSMetadataItemBitsPerSampleKey',
'$ld$hide$os10.14$_NSMetadataItemCFBundleIdentifierKey', '$ld$hide$os10.14$_NSMetadataItemCameraOwnerKey',
'$ld$hide$os10.14$_NSMetadataItemCityKey', '$ld$hide$os10.14$_NSMetadataItemCodecsKey',
'$ld$hide$os10.14$_NSMetadataItemColorSpaceKey', '$ld$hide$os10.14$_NSMetadataItemCommentKey',
'$ld$hide$os10.14$_NSMetadataItemComposerKey', '$ld$hide$os10.14$_NSMetadataItemContactKeywordsKey',
'$ld$hide$os10.14$_NSMetadataItemContentCreationDateKey',
'$ld$hide$os10.14$_NSMetadataItemContentModificationDateKey',
'$ld$hide$os10.14$_NSMetadataItemContributorsKey', '$ld$hide$os10.14$_NSMetadataItemCopyrightKey',
'$ld$hide$os10.14$_NSMetadataItemCountryKey', '$ld$hide$os10.14$_NSMetadataItemCoverageKey',
'$ld$hide$os10.14$_NSMetadataItemCreatorKey', '$ld$hide$os10.14$_NSMetadataItemDateAddedKey',
'$ld$hide$os10.14$_NSMetadataItemDeliveryTypeKey', '$ld$hide$os10.14$_NSMetadataItemDescriptionKey',
'$ld$hide$os10.14$_NSMetadataItemDirectorKey', '$ld$hide$os10.14$_NSMetadataItemDownloadedDateKey',
'$ld$hide$os10.14$_NSMetadataItemDueDateKey', '$ld$hide$os10.14$_NSMetadataItemDurationSecondsKey',
'$ld$hide$os10.14$_NSMetadataItemEXIFGPSVersionKey', '$ld$hide$os10.14$_NSMetadataItemEXIFVersionKey',
'$ld$hide$os10.14$_NSMetadataItemEditorsKey', '$ld$hide$os10.14$_NSMetadataItemEmailAddressesKey',
'$ld$hide$os10.14$_NSMetadataItemEncodingApplicationsKey',
'$ld$hide$os10.14$_NSMetadataItemExecutableArchitecturesKey',
'$ld$hide$os10.14$_NSMetadataItemExecutablePlatformKey', '$ld$hide$os10.14$_NSMetadataItemExposureModeKey',
'$ld$hide$os10.14$_NSMetadataItemExposureProgramKey', '$ld$hide$os10.14$_NSMetadataItemExposureTimeSecondsKey',
'$ld$hide$os10.14$_NSMetadataItemExposureTimeStringKey', '$ld$hide$os10.14$_NSMetadataItemFNumberKey',
'$ld$hide$os10.14$_NSMetadataItemFinderCommentKey', '$ld$hide$os10.14$_NSMetadataItemFlashOnOffKey',
'$ld$hide$os10.14$_NSMetadataItemFocalLength35mmKey', '$ld$hide$os10.14$_NSMetadataItemFocalLengthKey',
'$ld$hide$os10.14$_NSMetadataItemFontsKey', '$ld$hide$os10.14$_NSMetadataItemGPSAreaInformationKey',
'$ld$hide$os10.14$_NSMetadataItemGPSDOPKey', '$ld$hide$os10.14$_NSMetadataItemGPSDateStampKey',
'$ld$hide$os10.14$_NSMetadataItemGPSDestBearingKey', '$ld$hide$os10.14$_NSMetadataItemGPSDestDistanceKey',
'$ld$hide$os10.14$_NSMetadataItemGPSDestLatitudeKey', '$ld$hide$os10.14$_NSMetadataItemGPSDestLongitudeKey',
'$ld$hide$os10.14$_NSMetadataItemGPSDifferentalKey', '$ld$hide$os10.14$_NSMetadataItemGPSMapDatumKey',
'$ld$hide$os10.14$_NSMetadataItemGPSMeasureModeKey', '$ld$hide$os10.14$_NSMetadataItemGPSProcessingMethodKey',
'$ld$hide$os10.14$_NSMetadataItemGPSStatusKey', '$ld$hide$os10.14$_NSMetadataItemGPSTrackKey',
'$ld$hide$os10.14$_NSMetadataItemGenreKey', '$ld$hide$os10.14$_NSMetadataItemHasAlphaChannelKey',
'$ld$hide$os10.14$_NSMetadataItemHeadlineKey', '$ld$hide$os10.14$_NSMetadataItemISOSpeedKey',
'$ld$hide$os10.14$_NSMetadataItemIdentifierKey', '$ld$hide$os10.14$_NSMetadataItemImageDirectionKey',
'$ld$hide$os10.14$_NSMetadataItemInformationKey', '$ld$hide$os10.14$_NSMetadataItemInstantMessageAddressesKey',
'$ld$hide$os10.14$_NSMetadataItemInstructionsKey', '$ld$hide$os10.14$_NSMetadataItemIsApplicationManagedKey',
'$ld$hide$os10.14$_NSMetadataItemIsGeneralMIDISequenceKey',
'$ld$hide$os10.14$_NSMetadataItemIsLikelyJunkKey', '$ld$hide$os10.14$_NSMetadataItemKeySignatureKey',
'$ld$hide$os10.14$_NSMetadataItemKeywordsKey', '$ld$hide$os10.14$_NSMetadataItemKindKey',
'$ld$hide$os10.14$_NSMetadataItemLanguagesKey', '$ld$hide$os10.14$_NSMetadataItemLastUsedDateKey',
'$ld$hide$os10.14$_NSMetadataItemLatitudeKey', '$ld$hide$os10.14$_NSMetadataItemLayerNamesKey',
'$ld$hide$os10.14$_NSMetadataItemLensModelKey', '$ld$hide$os10.14$_NSMetadataItemLongitudeKey',
'$ld$hide$os10.14$_NSMetadataItemLyricistKey', '$ld$hide$os10.14$_NSMetadataItemMaxApertureKey',
'$ld$hide$os10.14$_NSMetadataItemMediaTypesKey', '$ld$hide$os10.14$_NSMetadataItemMeteringModeKey',
'$ld$hide$os10.14$_NSMetadataItemMusicalGenreKey', '$ld$hide$os10.14$_NSMetadataItemMusicalInstrumentCategoryKey',
'$ld$hide$os10.14$_NSMetadataItemMusicalInstrumentNameKey',
'$ld$hide$os10.14$_NSMetadataItemNamedLocationKey', '$ld$hide$os10.14$_NSMetadataItemNumberOfPagesKey',
'$ld$hide$os10.14$_NSMetadataItemOrganizationsKey', '$ld$hide$os10.14$_NSMetadataItemOrientationKey',
'$ld$hide$os10.14$_NSMetadataItemOriginalFormatKey', '$ld$hide$os10.14$_NSMetadataItemOriginalSourceKey',
'$ld$hide$os10.14$_NSMetadataItemPageHeightKey', '$ld$hide$os10.14$_NSMetadataItemPageWidthKey',
'$ld$hide$os10.14$_NSMetadataItemParticipantsKey', '$ld$hide$os10.14$_NSMetadataItemPerformersKey',
'$ld$hide$os10.14$_NSMetadataItemPhoneNumbersKey', '$ld$hide$os10.14$_NSMetadataItemPixelCountKey',
'$ld$hide$os10.14$_NSMetadataItemPixelHeightKey', '$ld$hide$os10.14$_NSMetadataItemPixelWidthKey',
'$ld$hide$os10.14$_NSMetadataItemProducerKey', '$ld$hide$os10.14$_NSMetadataItemProfileNameKey',
'$ld$hide$os10.14$_NSMetadataItemProjectsKey', '$ld$hide$os10.14$_NSMetadataItemPublishersKey',
'$ld$hide$os10.14$_NSMetadataItemRecipientAddressesKey', '$ld$hide$os10.14$_NSMetadataItemRecipientEmailAddressesKey',
'$ld$hide$os10.14$_NSMetadataItemRecipientsKey', '$ld$hide$os10.14$_NSMetadataItemRecordingDateKey',
'$ld$hide$os10.14$_NSMetadataItemRecordingYearKey', '$ld$hide$os10.14$_NSMetadataItemRedEyeOnOffKey',
'$ld$hide$os10.14$_NSMetadataItemResolutionHeightDPIKey',
'$ld$hide$os10.14$_NSMetadataItemResolutionWidthDPIKey', '$ld$hide$os10.14$_NSMetadataItemRightsKey',
'$ld$hide$os10.14$_NSMetadataItemSecurityMethodKey', '$ld$hide$os10.14$_NSMetadataItemSpeedKey',
'$ld$hide$os10.14$_NSMetadataItemStarRatingKey', '$ld$hide$os10.14$_NSMetadataItemStateOrProvinceKey',
'$ld$hide$os10.14$_NSMetadataItemStreamableKey', '$ld$hide$os10.14$_NSMetadataItemSubjectKey',
'$ld$hide$os10.14$_NSMetadataItemTempoKey', '$ld$hide$os10.14$_NSMetadataItemTextContentKey',
'$ld$hide$os10.14$_NSMetadataItemThemeKey', '$ld$hide$os10.14$_NSMetadataItemTimeSignatureKey',
'$ld$hide$os10.14$_NSMetadataItemTimestampKey', '$ld$hide$os10.14$_NSMetadataItemTitleKey',
'$ld$hide$os10.14$_NSMetadataItemTotalBitRateKey', '$ld$hide$os10.14$_NSMetadataItemVersionKey',
'$ld$hide$os10.14$_NSMetadataItemVideoBitRateKey', '$ld$hide$os10.14$_NSMetadataItemWhereFromsKey',
'$ld$hide$os10.14$_NSMetadataItemWhiteBalanceKey', '$ld$hide$os10.14$_NSMetadataQueryIndexedLocalComputerScope',
'$ld$hide$os10.14$_NSMetadataQueryIndexedNetworkScope', '$ld$hide$os10.9$_NSMetadataItemAcquisitionMakeKey',
'$ld$hide$os10.9$_NSMetadataItemAcquisitionModelKey', '$ld$hide$os10.9$_NSMetadataItemAlbumKey',
'$ld$hide$os10.9$_NSMetadataItemAltitudeKey', '$ld$hide$os10.9$_NSMetadataItemApertureKey',
'$ld$hide$os10.9$_NSMetadataItemAppleLoopDescriptorsKey',
'$ld$hide$os10.9$_NSMetadataItemAppleLoopsKeyFilterTypeKey',
'$ld$hide$os10.9$_NSMetadataItemAppleLoopsLoopModeKey', '$ld$hide$os10.9$_NSMetadataItemAppleLoopsRootKeyKey',
'$ld$hide$os10.9$_NSMetadataItemApplicationCategoriesKey',
'$ld$hide$os10.9$_NSMetadataItemAttributeChangeDateKey', '$ld$hide$os10.9$_NSMetadataItemAudiencesKey',
'$ld$hide$os10.9$_NSMetadataItemAudioBitRateKey', '$ld$hide$os10.9$_NSMetadataItemAudioChannelCountKey',
'$ld$hide$os10.9$_NSMetadataItemAudioEncodingApplicationKey',
'$ld$hide$os10.9$_NSMetadataItemAudioSampleRateKey', '$ld$hide$os10.9$_NSMetadataItemAudioTrackNumberKey',
'$ld$hide$os10.9$_NSMetadataItemAuthorAddressesKey', '$ld$hide$os10.9$_NSMetadataItemAuthorEmailAddressesKey',
'$ld$hide$os10.9$_NSMetadataItemAuthorsKey', '$ld$hide$os10.9$_NSMetadataItemBitsPerSampleKey',
'$ld$hide$os10.9$_NSMetadataItemCFBundleIdentifierKey', '$ld$hide$os10.9$_NSMetadataItemCameraOwnerKey',
'$ld$hide$os10.9$_NSMetadataItemCityKey', '$ld$hide$os10.9$_NSMetadataItemCodecsKey',
'$ld$hide$os10.9$_NSMetadataItemColorSpaceKey', '$ld$hide$os10.9$_NSMetadataItemCommentKey',
'$ld$hide$os10.9$_NSMetadataItemComposerKey', '$ld$hide$os10.9$_NSMetadataItemContactKeywordsKey',
'$ld$hide$os10.9$_NSMetadataItemContentCreationDateKey', '$ld$hide$os10.9$_NSMetadataItemContentModificationDateKey',
'$ld$hide$os10.9$_NSMetadataItemContributorsKey', '$ld$hide$os10.9$_NSMetadataItemCopyrightKey',
'$ld$hide$os10.9$_NSMetadataItemCountryKey', '$ld$hide$os10.9$_NSMetadataItemCoverageKey',
'$ld$hide$os10.9$_NSMetadataItemCreatorKey', '$ld$hide$os10.9$_NSMetadataItemDateAddedKey',
'$ld$hide$os10.9$_NSMetadataItemDeliveryTypeKey', '$ld$hide$os10.9$_NSMetadataItemDescriptionKey',
'$ld$hide$os10.9$_NSMetadataItemDirectorKey', '$ld$hide$os10.9$_NSMetadataItemDownloadedDateKey',
'$ld$hide$os10.9$_NSMetadataItemDueDateKey', '$ld$hide$os10.9$_NSMetadataItemDurationSecondsKey',
'$ld$hide$os10.9$_NSMetadataItemEXIFGPSVersionKey', '$ld$hide$os10.9$_NSMetadataItemEXIFVersionKey',
'$ld$hide$os10.9$_NSMetadataItemEditorsKey', '$ld$hide$os10.9$_NSMetadataItemEmailAddressesKey',
'$ld$hide$os10.9$_NSMetadataItemEncodingApplicationsKey',
'$ld$hide$os10.9$_NSMetadataItemExecutableArchitecturesKey',
'$ld$hide$os10.9$_NSMetadataItemExecutablePlatformKey', '$ld$hide$os10.9$_NSMetadataItemExposureModeKey',
'$ld$hide$os10.9$_NSMetadataItemExposureProgramKey', '$ld$hide$os10.9$_NSMetadataItemExposureTimeSecondsKey',
'$ld$hide$os10.9$_NSMetadataItemExposureTimeStringKey', '$ld$hide$os10.9$_NSMetadataItemFNumberKey',
'$ld$hide$os10.9$_NSMetadataItemFinderCommentKey', '$ld$hide$os10.9$_NSMetadataItemFlashOnOffKey',
'$ld$hide$os10.9$_NSMetadataItemFocalLength35mmKey', '$ld$hide$os10.9$_NSMetadataItemFocalLengthKey',
'$ld$hide$os10.9$_NSMetadataItemFontsKey', '$ld$hide$os10.9$_NSMetadataItemGPSAreaInformationKey',
'$ld$hide$os10.9$_NSMetadataItemGPSDOPKey', '$ld$hide$os10.9$_NSMetadataItemGPSDateStampKey',
'$ld$hide$os10.9$_NSMetadataItemGPSDestBearingKey', '$ld$hide$os10.9$_NSMetadataItemGPSDestDistanceKey',
'$ld$hide$os10.9$_NSMetadataItemGPSDestLatitudeKey', '$ld$hide$os10.9$_NSMetadataItemGPSDestLongitudeKey',
'$ld$hide$os10.9$_NSMetadataItemGPSDifferentalKey', '$ld$hide$os10.9$_NSMetadataItemGPSMapDatumKey',
'$ld$hide$os10.9$_NSMetadataItemGPSMeasureModeKey', '$ld$hide$os10.9$_NSMetadataItemGPSProcessingMethodKey',
'$ld$hide$os10.9$_NSMetadataItemGPSStatusKey', '$ld$hide$os10.9$_NSMetadataItemGPSTrackKey',
'$ld$hide$os10.9$_NSMetadataItemGenreKey', '$ld$hide$os10.9$_NSMetadataItemHasAlphaChannelKey',
'$ld$hide$os10.9$_NSMetadataItemHeadlineKey', '$ld$hide$os10.9$_NSMetadataItemISOSpeedKey',
'$ld$hide$os10.9$_NSMetadataItemIdentifierKey', '$ld$hide$os10.9$_NSMetadataItemImageDirectionKey',
'$ld$hide$os10.9$_NSMetadataItemInformationKey', '$ld$hide$os10.9$_NSMetadataItemInstantMessageAddressesKey',
'$ld$hide$os10.9$_NSMetadataItemInstructionsKey', '$ld$hide$os10.9$_NSMetadataItemIsApplicationManagedKey',
'$ld$hide$os10.9$_NSMetadataItemIsGeneralMIDISequenceKey',
'$ld$hide$os10.9$_NSMetadataItemIsLikelyJunkKey', '$ld$hide$os10.9$_NSMetadataItemKeySignatureKey',
'$ld$hide$os10.9$_NSMetadataItemKeywordsKey', '$ld$hide$os10.9$_NSMetadataItemKindKey',
'$ld$hide$os10.9$_NSMetadataItemLanguagesKey', '$ld$hide$os10.9$_NSMetadataItemLastUsedDateKey',
'$ld$hide$os10.9$_NSMetadataItemLatitudeKey', '$ld$hide$os10.9$_NSMetadataItemLayerNamesKey',
'$ld$hide$os10.9$_NSMetadataItemLensModelKey', '$ld$hide$os10.9$_NSMetadataItemLongitudeKey',
'$ld$hide$os10.9$_NSMetadataItemLyricistKey', '$ld$hide$os10.9$_NSMetadataItemMaxApertureKey',
'$ld$hide$os10.9$_NSMetadataItemMediaTypesKey', '$ld$hide$os10.9$_NSMetadataItemMeteringModeKey',
'$ld$hide$os10.9$_NSMetadataItemMusicalGenreKey', '$ld$hide$os10.9$_NSMetadataItemMusicalInstrumentCategoryKey',
'$ld$hide$os10.9$_NSMetadataItemMusicalInstrumentNameKey',
'$ld$hide$os10.9$_NSMetadataItemNamedLocationKey', '$ld$hide$os10.9$_NSMetadataItemNumberOfPagesKey',
'$ld$hide$os10.9$_NSMetadataItemOrganizationsKey', '$ld$hide$os10.9$_NSMetadataItemOrientationKey',
'$ld$hide$os10.9$_NSMetadataItemOriginalFormatKey', '$ld$hide$os10.9$_NSMetadataItemOriginalSourceKey',
'$ld$hide$os10.9$_NSMetadataItemPageHeightKey', '$ld$hide$os10.9$_NSMetadataItemPageWidthKey',
'$ld$hide$os10.9$_NSMetadataItemParticipantsKey', '$ld$hide$os10.9$_NSMetadataItemPerformersKey',
'$ld$hide$os10.9$_NSMetadataItemPhoneNumbersKey', '$ld$hide$os10.9$_NSMetadataItemPixelCountKey',
'$ld$hide$os10.9$_NSMetadataItemPixelHeightKey', '$ld$hide$os10.9$_NSMetadataItemPixelWidthKey',
'$ld$hide$os10.9$_NSMetadataItemProducerKey', '$ld$hide$os10.9$_NSMetadataItemProfileNameKey',
'$ld$hide$os10.9$_NSMetadataItemProjectsKey', '$ld$hide$os10.9$_NSMetadataItemPublishersKey',
'$ld$hide$os10.9$_NSMetadataItemRecipientAddressesKey', '$ld$hide$os10.9$_NSMetadataItemRecipientEmailAddressesKey',
'$ld$hide$os10.9$_NSMetadataItemRecipientsKey', '$ld$hide$os10.9$_NSMetadataItemRecordingDateKey',
'$ld$hide$os10.9$_NSMetadataItemRecordingYearKey', '$ld$hide$os10.9$_NSMetadataItemRedEyeOnOffKey',
'$ld$hide$os10.9$_NSMetadataItemResolutionHeightDPIKey', '$ld$hide$os10.9$_NSMetadataItemResolutionWidthDPIKey',
'$ld$hide$os10.9$_NSMetadataItemRightsKey', '$ld$hide$os10.9$_NSMetadataItemSecurityMethodKey',
'$ld$hide$os10.9$_NSMetadataItemSpeedKey', '$ld$hide$os10.9$_NSMetadataItemStarRatingKey',
'$ld$hide$os10.9$_NSMetadataItemStateOrProvinceKey', '$ld$hide$os10.9$_NSMetadataItemStreamableKey',
'$ld$hide$os10.9$_NSMetadataItemSubjectKey', '$ld$hide$os10.9$_NSMetadataItemTempoKey',
'$ld$hide$os10.9$_NSMetadataItemTextContentKey', '$ld$hide$os10.9$_NSMetadataItemThemeKey',
'$ld$hide$os10.9$_NSMetadataItemTimeSignatureKey', '$ld$hide$os10.9$_NSMetadataItemTimestampKey',
'$ld$hide$os10.9$_NSMetadataItemTitleKey', '$ld$hide$os10.9$_NSMetadataItemTotalBitRateKey',
'$ld$hide$os10.9$_NSMetadataItemVersionKey', '$ld$hide$os10.9$_NSMetadataItemVideoBitRateKey',
'$ld$hide$os10.9$_NSMetadataItemWhereFromsKey', '$ld$hide$os10.9$_NSMetadataItemWhiteBalanceKey',
'$ld$hide$os10.9$_NSMetadataQueryIndexedLocalComputerScope',
'$ld$hide$os10.9$_NSMetadataQueryIndexedNetworkScope' ]
- targets: [ x86_64-macos, arm64e-macos, x86_64-maccatalyst, arm64e-maccatalyst,
arm64-macos, arm64-maccatalyst ]
symbols: [ '$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$1$10.9$999$_NSDetailedErrorsKey$',
'$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$2$7.0$999$_NSDetailedErrorsKey$',
'$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$3$9.0$999$_NSDetailedErrorsKey$',
'$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$4$2.0$999$_NSDetailedErrorsKey$',
'$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$6$13.0$999$_NSDetailedErrorsKey$',
'$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$7$7.0$999$_NSDetailedErrorsKey$',
'$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$8$9.0$999$_NSDetailedErrorsKey$',
'$ld$previous$/System/Library/Frameworks/CoreData.framework/CoreData$$9$2.0$999$_NSDetailedErrorsKey$',
_NSAffineTransformStructIdentity, _NSAllHashTableObjects,
_NSAllMapTableKeys, _NSAllMapTableValues, _NSAllocateMemoryPages,
_NSAllocateObject, _NSAllocateObjectArray, _NSAllocateScannedUncollectable,
_NSAlternateDescriptionAttributeName, _NSAppleEventManagerWillProcessFirstEventNotification,
_NSAppleEventTimeOutDefault, _NSAppleEventTimeOutNone, _NSAppleScriptErrorAppName,
_NSAppleScriptErrorBriefMessage, _NSAppleScriptErrorMessage,
_NSAppleScriptErrorNumber, _NSAppleScriptErrorRange, _NSArgumentDomain,
_NSAssertionHandlerKey, _NSAutoreleaseObject, _NSAutoreleasePoolCount,
_NSAverageKeyValueOperator, _NSBOOLFromString, _NSBundleDidLoadNotification,
_NSBundleDisableCodeLoading, _NSBundleResourceRequestLoadingPriorityUrgent,
_NSBundleResourceRequestLowDiskSpaceNotification, _NSBurstTrieCreate,
_NSBurstTrieCreateFromFile, _NSBurstTrieCreateFromMappedFile,
_NSBurstTrieFind, _NSBurstTrieFindCharacters, _NSBurstTrieFindUTF8String,
_NSBurstTrieGetCount, _NSBurstTrieInsert, _NSBurstTrieInsertCharacters,
_NSBurstTrieMappedSerialize, _NSBurstTriePrint, _NSBurstTrieRelease,
_NSBurstTrieRetain, _NSBurstTrieSerialize, _NSBurstTrieTraverse,
_NSCharacterConversionException, _NSClassDescriptionNeededForClassNotification,
_NSClassFromObject, _NSClassFromString, _NSCocoaErrorDomain,
_NSCollectedScannedZone, _NSCollectedUnscannedZone, _NSCompareCString,
_NSCompareCharacters, _NSCompareHashTables, _NSCompareMapTables,
_NSConnectionDidDieNotification, _NSConnectionDidInitializeNotification,
_NSConnectionReplyMode, _NSContainsRect, _NSCopyHashTableWithZone,
_NSCopyMapTableWithZone, _NSCopyMemoryPages, _NSCopyObject,
_NSCountFrames, _NSCountHashTable, _NSCountKeyValueOperator,
_NSCountMapTable, _NSCreateHashTable, _NSCreateHashTableWithZone,
_NSCreateMapTable, _NSCreateMapTableWithZone, _NSCreateZone,
_NSDataDeallocatorFree, _NSDataDeallocatorNone, _NSDataDeallocatorUnmap,
_NSDataDeallocatorVM, _NSDeallocateMemoryPages, _NSDeallocateObject,
_NSDeallocateZombies, _NSDebugDescriptionErrorKey, _NSDebugEnabled,
_NSDebugRecordObjectAndStack, _NSDecimalAdd, _NSDecimalCompact,
_NSDecimalCompare, _NSDecimalCopy, _NSDecimalDivide, _NSDecimalMultiply,
_NSDecimalMultiplyByPowerOf10, _NSDecimalNormalize, _NSDecimalNumberDivideByZeroException,
_NSDecimalNumberExactnessException, _NSDecimalNumberOverflowException,
_NSDecimalNumberUnderflowException, _NSDecimalPower, _NSDecimalRound,
_NSDecimalString, _NSDecimalSubtract, _NSDecrementExtraRefCountWasZero,
_NSDefaultMallocZone, _NSDescriptionErrorKey, _NSDestinationFilePathErrorKey,
_NSDestinationInvalidException, _NSDetailedErrorsKey, _NSDidBecomeSingleThreadedNotification,
_NSDistinctUnionOfArraysKeyValueOperator, _NSDistinctUnionOfObjectsKeyValueOperator,
_NSDistinctUnionOfSetsKeyValueOperator, _NSDivideRect, _NSEdgeInsetsEqual,
_NSEdgeInsetsZero, _NSEndHashTableEnumeration, _NSEndMapTableEnumeration,
_NSEnumerateHashTable, _NSEnumerateMapTable, _NSEqualPoints,
_NSEqualRects, _NSEqualSizes, _NSErrorFailingURLStringKey,
_NSExtensionAdditionalServiceName, _NSExtensionContainingAppName,
_NSExtensionErrorDomain, _NSExtensionHostDidBecomeActiveNotification,
_NSExtensionHostDidEnterBackgroundNotification, _NSExtensionHostWillEnterForegroundNotification,
_NSExtensionHostWillResignActiveNotification, _NSExtensionIdentifierName,
_NSExtensionInternalErrorException, _NSExtensionIsPredicateSafeToExecuteWithObject,
_NSExtensionIsSafeKeyPathForObject, _NSExtensionItemAttachmentsKey,
_NSExtensionItemAttributedContentTextKey, _NSExtensionItemAttributedTitleKey,
_NSExtensionItemsAndErrorsKey, _NSExtensionJavaScriptFinalizeArgumentKey,
_NSExtensionJavaScriptPreprocessingResultsKey, _NSExtensionMain,
_NSExtensionPointName, _NSExtensionPointUIServices, _NSExtensionSubsystemOptionsUIHostContextUIKitKey,
_NSExtensionUUIDName, _NSExtensionVersionName, _NSExtraRefCount,
_NSFTPPropertyActiveTransferModeKey, _NSFTPPropertyFTPProxy,
_NSFTPPropertyFileOffsetKey, _NSFTPPropertyUserLoginKey, _NSFTPPropertyUserPasswordKey,
_NSFailedAuthenticationException, _NSFileAppendOnly, _NSFileBusy,
_NSFileCreationDate, _NSFileDeviceIdentifier, _NSFileExtendedAttributes,
_NSFileExtensionHidden, _NSFileGroupOwnerAccountID, _NSFileGroupOwnerAccountName,
_NSFileHFSCreatorCode, _NSFileHFSTypeCode, _NSFileHandleConnectionAcceptedNotification,
_NSFileHandleDataAvailableNotification, _NSFileHandleNotificationDataItem,
_NSFileHandleNotificationFileHandleItem, _NSFileHandleNotificationMonitorModes,
_NSFileHandleOperationException, _NSFileHandleReadCompletionNotification,
_NSFileHandleReadToEndOfFileCompletionNotification, _NSFileImmutable,
_NSFileManagerUnmountDissentingProcessIdentifierErrorKey,
_NSFileModificationDate, _NSFileOwnerAccountID, _NSFileOwnerAccountName,
_NSFilePathErrorKey, _NSFilePosixPermissions, _NSFileProtectionComplete,
_NSFileProtectionCompleteUnlessOpen, _NSFileProtectionCompleteUntilFirstUserAuthentication,
_NSFileProtectionCompleteUntilUserAuthentication, _NSFileProtectionKey,
_NSFileProtectionNone, _NSFileProtectionWriteOnly, _NSFileReferenceCount,
_NSFileSize, _NSFileSystemFileNumber, _NSFileSystemFreeNodes,
_NSFileSystemFreeSize, _NSFileSystemNodes, _NSFileSystemNumber,
_NSFileSystemSize, _NSFileType, _NSFileTypeBlockSpecial, _NSFileTypeCharacterSpecial,
_NSFileTypeDirectory, _NSFileTypeForHFSTypeCode, _NSFileTypeRegular,
_NSFileTypeSocket, _NSFileTypeSymbolicLink, _NSFileTypeUnknown,
_NSFontSymbolicTraitsAttributeName, _NSFoundationVersionNumber,
_NSFoundationVersionString, _NSFrameAddress, _NSFreeHashTable,
_NSFreeMapTable, _NSFreeObjectArray, _NSFullUserName, _NSGetUncaughtExceptionHandler,
_NSGlobalDomain, _NSGrammarCorrections, _NSGrammarRange, _NSGrammarUserDescription,
_NSHFSTypeCodeFromFileType, _NSHFSTypeOfFile, _NSHTTPCookieComment,
_NSHTTPCookieCommentURL, _NSHTTPCookieDiscard, _NSHTTPCookieDomain,
_NSHTTPCookieExpires, _NSHTTPCookieManagerAcceptPolicyChangedNotification,
_NSHTTPCookieManagerCookiesChangedNotification, _NSHTTPCookieMaximumAge,
_NSHTTPCookieName, _NSHTTPCookieOriginURL, _NSHTTPCookiePath,
_NSHTTPCookiePort, _NSHTTPCookieSameSiteLax, _NSHTTPCookieSameSitePolicy,
_NSHTTPCookieSameSiteStrict, _NSHTTPCookieSecure, _NSHTTPCookieValue,
_NSHTTPCookieVersion, _NSHTTPPropertyErrorPageDataKey, _NSHTTPPropertyHTTPProxy,
_NSHTTPPropertyRedirectionHeadersKey, _NSHTTPPropertyServerHTTPVersionKey,
_NSHTTPPropertyStatusCodeKey, _NSHTTPPropertyStatusReasonKey,
_NSHangOnUncaughtException, _NSHashCString, _NSHashCStringAsIs,
_NSHashCharacters, _NSHashGet, _NSHashInsert, _NSHashInsertIfAbsent,
_NSHashInsertKnownAbsent, _NSHashRemove, _NSHashString, _NSHelpAnchorErrorKey,
_NSHomeDirectory, _NSHomeDirectoryForUser, _NSISEpsilon, _NSImageURLAttributeName,
_NSInconsistentArchiveException, _NSIncrementExtraRefCount,
_NSInflectionAlternativeAttributeName, _NSInflectionRuleAttributeName,
_NSInlinePresentationIntentAttributeName, _NSInsetRect, _NSIntHashCallBacks,
_NSIntMapKeyCallBacks, _NSIntMapValueCallBacks, _NSIntegerHashCallBacks,
_NSIntegerMapKeyCallBacks, _NSIntegerMapValueCallBacks, _NSIntegralRect,
_NSIntegralRectFlipOptions, _NSIntegralRectWithOptions, _NSIntersectionRange,
_NSIntersectionRect, _NSIntersectsRange, _NSIntersectsRect,
_NSInvalidArchiveOperationException, _NSInvalidReceivePortException,
_NSInvalidSendPortException, _NSInvalidUnarchiveOperationException,
_NSInvalidValueErrorKey, _NSInvocationOperationCancelledException,
_NSInvocationOperationVoidResultException, _NSIsEmptyRect,
_NSIsFreedObject, _NSIsNilTransformerName, _NSIsNotNilTransformerName,
_NSItemProviderErrorDomain, _NSItemProviderOptionsDispatchModeAsynchronous,
_NSItemProviderOptionsDispatchModeKey, _NSItemProviderOptionsIssueSandboxExtensionKey,
_NSItemProviderPreferredImageSizeKey, _NSKeepAllocationStatistics,
_NSKeyValueChangeIndexesKey, _NSKeyValueChangeKindKey, _NSKeyValueChangeNewKey,
_NSKeyValueChangeNotificationIsPriorKey, _NSKeyValueChangeOldKey,
_NSKeyedArchiveRootObjectKey, _NSKeyedUnarchiveFromDataTransformerName,
_NSLanguageIdentifierAttributeName, _NSLayoutConstraintParserSpace,
_NSLinguisticTagAdjective, _NSLinguisticTagAdverb, _NSLinguisticTagClassifier,
_NSLinguisticTagCloseParenthesis, _NSLinguisticTagCloseQuote,
_NSLinguisticTagConjunction, _NSLinguisticTagDash, _NSLinguisticTagDeterminer,
_NSLinguisticTagIdiom, _NSLinguisticTagInterjection, _NSLinguisticTagNoun,
_NSLinguisticTagNumber, _NSLinguisticTagOpenParenthesis, _NSLinguisticTagOpenQuote,
_NSLinguisticTagOrganizationName, _NSLinguisticTagOther, _NSLinguisticTagOtherPunctuation,
_NSLinguisticTagOtherWhitespace, _NSLinguisticTagOtherWord,
_NSLinguisticTagParagraphBreak, _NSLinguisticTagParticle,
_NSLinguisticTagPersonalName, _NSLinguisticTagPlaceName, _NSLinguisticTagPreposition,
_NSLinguisticTagPronoun, _NSLinguisticTagPunctuation, _NSLinguisticTagSchemeLanguage,
_NSLinguisticTagSchemeLemma, _NSLinguisticTagSchemeLexicalClass,
_NSLinguisticTagSchemeNameType, _NSLinguisticTagSchemeNameTypeOrLexicalClass,
_NSLinguisticTagSchemeScript, _NSLinguisticTagSchemeTokenType,
_NSLinguisticTagSentenceTerminator, _NSLinguisticTagVerb,
_NSLinguisticTagWhitespace, _NSLinguisticTagWord, _NSLinguisticTagWordJoiner,
_NSLoadedClasses, _NSLocalNotificationCenterType, _NSLocaleLanguageConfidenceHigh,
_NSLocaleLanguageConfidenceLow, _NSLocaleLanguageConfidenceMedium,
_NSLocalizedDescriptionKey, _NSLocalizedFailureErrorKey, _NSLocalizedFailureReasonErrorKey,
_NSLocalizedFileSizeDescription, _NSLocalizedPropertyNameForInvalidValueErrorKey,
_NSLocalizedRecoveryOptionsErrorKey, _NSLocalizedRecoverySuggestionErrorKey,
_NSLog, _NSLogPageSize, _NSLogv, _NSMachErrorDomain, _NSMallocZone,
_NSMapGet, _NSMapInsert, _NSMapInsertIfAbsent, _NSMapInsertKnownAbsent,
_NSMapMember, _NSMapRemove, _NSMaximumKeyValueOperator, _NSMaximumValidValueErrorKey,
_NSMetadataItemAcquisitionMakeKey, _NSMetadataItemAcquisitionModelKey,
_NSMetadataItemAlbumKey, _NSMetadataItemAltitudeKey, _NSMetadataItemApertureKey,
_NSMetadataItemAppleLoopDescriptorsKey, _NSMetadataItemAppleLoopsKeyFilterTypeKey,
_NSMetadataItemAppleLoopsLoopModeKey, _NSMetadataItemAppleLoopsRootKeyKey,
_NSMetadataItemApplicationCategoriesKey, _NSMetadataItemAttributeChangeDateKey,
_NSMetadataItemAudiencesKey, _NSMetadataItemAudioBitRateKey,
_NSMetadataItemAudioChannelCountKey, _NSMetadataItemAudioEncodingApplicationKey,
_NSMetadataItemAudioSampleRateKey, _NSMetadataItemAudioTrackNumberKey,
_NSMetadataItemAuthorAddressesKey, _NSMetadataItemAuthorEmailAddressesKey,
_NSMetadataItemAuthorsKey, _NSMetadataItemBitsPerSampleKey,
_NSMetadataItemCFBundleIdentifierKey, _NSMetadataItemCameraOwnerKey,
_NSMetadataItemCityKey, _NSMetadataItemCodecsKey, _NSMetadataItemColorSpaceKey,
_NSMetadataItemCommentKey, _NSMetadataItemComposerKey, _NSMetadataItemContactKeywordsKey,
_NSMetadataItemContainerIdentifierKey, _NSMetadataItemContentCreationDateKey,
_NSMetadataItemContentModificationDateKey, _NSMetadataItemContentTypeKey,
_NSMetadataItemContentTypeTreeKey, _NSMetadataItemContributorsKey,
_NSMetadataItemCopyrightKey, _NSMetadataItemCountryKey, _NSMetadataItemCoverageKey,
_NSMetadataItemCreatorKey, _NSMetadataItemDateAddedKey, _NSMetadataItemDeliveryTypeKey,
_NSMetadataItemDescriptionKey, _NSMetadataItemDirectorKey,
_NSMetadataItemDisplayNameKey, _NSMetadataItemDownloadedDateKey,
_NSMetadataItemDueDateKey, _NSMetadataItemDurationSecondsKey,
_NSMetadataItemEXIFGPSVersionKey, _NSMetadataItemEXIFVersionKey,
_NSMetadataItemEditorsKey, _NSMetadataItemEmailAddressesKey,
_NSMetadataItemEncodingApplicationsKey, _NSMetadataItemExecutableArchitecturesKey,
_NSMetadataItemExecutablePlatformKey, _NSMetadataItemExposureModeKey,
_NSMetadataItemExposureProgramKey, _NSMetadataItemExposureTimeSecondsKey,
_NSMetadataItemExposureTimeStringKey, _NSMetadataItemFNumberKey,
_NSMetadataItemFSContentChangeDateKey, _NSMetadataItemFSCreationDateKey,
_NSMetadataItemFSNameKey, _NSMetadataItemFSSizeKey, _NSMetadataItemFinderCommentKey,
_NSMetadataItemFlashOnOffKey, _NSMetadataItemFocalLength35mmKey,
_NSMetadataItemFocalLengthKey, _NSMetadataItemFontsKey, _NSMetadataItemGPSAreaInformationKey,
_NSMetadataItemGPSDOPKey, _NSMetadataItemGPSDateStampKey,
_NSMetadataItemGPSDestBearingKey, _NSMetadataItemGPSDestDistanceKey,
_NSMetadataItemGPSDestLatitudeKey, _NSMetadataItemGPSDestLongitudeKey,
_NSMetadataItemGPSDifferentalKey, _NSMetadataItemGPSMapDatumKey,
_NSMetadataItemGPSMeasureModeKey, _NSMetadataItemGPSProcessingMethodKey,
_NSMetadataItemGPSStatusKey, _NSMetadataItemGPSTrackKey, _NSMetadataItemGenreKey,
_NSMetadataItemHasAlphaChannelKey, _NSMetadataItemHeadlineKey,
_NSMetadataItemISOSpeedKey, _NSMetadataItemIdentifierKey,
_NSMetadataItemImageDirectionKey, _NSMetadataItemInformationKey,
_NSMetadataItemInstantMessageAddressesKey, _NSMetadataItemInstructionsKey,
_NSMetadataItemIsApplicationManagedKey, _NSMetadataItemIsGeneralMIDISequenceKey,
_NSMetadataItemIsLikelyJunkKey, _NSMetadataItemIsUbiquitousKey,
_NSMetadataItemKeySignatureKey, _NSMetadataItemKeywordsKey,
_NSMetadataItemKindKey, _NSMetadataItemLanguagesKey, _NSMetadataItemLastUsedDateKey,
_NSMetadataItemLatitudeKey, _NSMetadataItemLayerNamesKey,
_NSMetadataItemLensModelKey, _NSMetadataItemLongitudeKey,
_NSMetadataItemLyricistKey, _NSMetadataItemMaxApertureKey,
_NSMetadataItemMediaTypesKey, _NSMetadataItemMeteringModeKey,
_NSMetadataItemMusicalGenreKey, _NSMetadataItemMusicalInstrumentCategoryKey,
_NSMetadataItemMusicalInstrumentNameKey, _NSMetadataItemNamedLocationKey,
_NSMetadataItemNumberOfPagesKey, _NSMetadataItemOrganizationsKey,
_NSMetadataItemOrientationKey, _NSMetadataItemOriginalFormatKey,
_NSMetadataItemOriginalSourceKey, _NSMetadataItemPageHeightKey,
_NSMetadataItemPageWidthKey, _NSMetadataItemParticipantsKey,
_NSMetadataItemPathKey, _NSMetadataItemPerformersKey, _NSMetadataItemPhoneNumbersKey,
_NSMetadataItemPixelCountKey, _NSMetadataItemPixelHeightKey,
_NSMetadataItemPixelWidthKey, _NSMetadataItemProducerKey,
_NSMetadataItemProfileNameKey, _NSMetadataItemProjectsKey,
_NSMetadataItemPublishersKey, _NSMetadataItemRecipientAddressesKey,
_NSMetadataItemRecipientEmailAddressesKey, _NSMetadataItemRecipientsKey,
_NSMetadataItemRecordingDateKey, _NSMetadataItemRecordingYearKey,
_NSMetadataItemRedEyeOnOffKey, _NSMetadataItemResolutionHeightDPIKey,
_NSMetadataItemResolutionWidthDPIKey, _NSMetadataItemRightsKey,
_NSMetadataItemSecurityMethodKey, _NSMetadataItemSpeedKey,
_NSMetadataItemStarRatingKey, _NSMetadataItemStateOrProvinceKey,
_NSMetadataItemStreamableKey, _NSMetadataItemSubjectKey, _NSMetadataItemTempoKey,
_NSMetadataItemTextContentKey, _NSMetadataItemThemeKey, _NSMetadataItemTimeSignatureKey,
_NSMetadataItemTimestampKey, _NSMetadataItemTitleKey, _NSMetadataItemTotalBitRateKey,
_NSMetadataItemURLKey, _NSMetadataItemVersionKey, _NSMetadataItemVideoBitRateKey,
_NSMetadataItemWhereFromsKey, _NSMetadataItemWhiteBalanceKey,
_NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope,
_NSMetadataQueryDidFinishGatheringNotification, _NSMetadataQueryDidStartGatheringNotification,
_NSMetadataQueryDidUpdateNotification, _NSMetadataQueryExternalDocumentsScope,
_NSMetadataQueryGatheringProgressNotification, _NSMetadataQueryIndexedLocalComputerScope,
_NSMetadataQueryIndexedNetworkScope, _NSMetadataQueryLocalComputerScope,
_NSMetadataQueryLocalDocumentsScope, _NSMetadataQueryNetworkScope,
_NSMetadataQueryPerAppExternalDocumentsScope, _NSMetadataQueryResultContentRelevanceAttribute,
_NSMetadataQueryUbiquitousDataScope, _NSMetadataQueryUbiquitousDocumentsScope,
_NSMetadataQueryUpdateAddedItemsKey, _NSMetadataQueryUpdateChangedItemsKey,
_NSMetadataQueryUpdateRemovedItemsKey, _NSMetadataQueryUserHomeScope,
_NSMetadataUbiquitousItemContainerDisplayNameKey, _NSMetadataUbiquitousItemDownloadRequestedKey,
_NSMetadataUbiquitousItemDownloadingErrorKey, _NSMetadataUbiquitousItemDownloadingStatusCurrent,
_NSMetadataUbiquitousItemDownloadingStatusDownloaded, _NSMetadataUbiquitousItemDownloadingStatusKey,
_NSMetadataUbiquitousItemDownloadingStatusNotDownloaded, _NSMetadataUbiquitousItemHasUnresolvedConflictsKey,
_NSMetadataUbiquitousItemIsDownloadedKey, _NSMetadataUbiquitousItemIsDownloadingKey,
_NSMetadataUbiquitousItemIsExternalDocumentKey, _NSMetadataUbiquitousItemIsSharedKey,
_NSMetadataUbiquitousItemIsUploadedKey, _NSMetadataUbiquitousItemIsUploadingKey,
_NSMetadataUbiquitousItemPercentDownloadedKey, _NSMetadataUbiquitousItemPercentUploadedKey,
_NSMetadataUbiquitousItemURLInLocalContainerKey, _NSMetadataUbiquitousItemUploadingErrorKey,
_NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey,
_NSMetadataUbiquitousSharedItemCurrentUserRoleKey, _NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey,
_NSMetadataUbiquitousSharedItemOwnerNameComponentsKey, _NSMetadataUbiquitousSharedItemOwnerNameKey,
_NSMetadataUbiquitousSharedItemPermissionsKey, _NSMetadataUbiquitousSharedItemPermissionsReadOnly,
_NSMetadataUbiquitousSharedItemPermissionsReadWrite, _NSMetadataUbiquitousSharedItemReadOnlyPermissions,
_NSMetadataUbiquitousSharedItemReadWritePermissions, _NSMetadataUbiquitousSharedItemRoleKey,
_NSMetadataUbiquitousSharedItemRoleOwner, _NSMetadataUbiquitousSharedItemRoleParticipant,
_NSMinimumKeyValueOperator, _NSMinimumValidValueErrorKey,
_NSMorphologyAttributeName, _NSMouseInRect, _NSMultipleUnderlyingErrorsKey,
_NSNeXTRootDirectory, _NSNegateBooleanTransformerName, _NSNetServicesErrorCode,
_NSNetServicesErrorDomain, _NSNextHashEnumeratorItem, _NSNextMapEnumeratorPair,
_NSNonOwnedPointerHashCallBacks, _NSNonOwnedPointerMapKeyCallBacks,
_NSNonOwnedPointerMapValueCallBacks, _NSNonOwnedPointerOrNullMapKeyCallBacks,
_NSNonRetainedObjectHashCallBacks, _NSNonRetainedObjectMapKeyCallBacks,
_NSNonRetainedObjectMapValueCallBacks, _NSNotFoundRange, _NSOSStatusErrorDomain,
_NSObjectHashCallBacks, _NSObjectInaccessibleException, _NSObjectMapKeyCallBacks,
_NSObjectMapValueCallBacks, _NSObjectNotAvailableException,
_NSOffsetRect, _NSOldStyleException, _NSOpenStepDirectoryForUser,
_NSOpenStepRootDirectory, _NSOperationNotSupportedForKeyException,
_NSOrthographyAllLanguagesForFlags, _NSOrthographyAllScriptsForFlags,
_NSOrthographyDominantLanguageForFlags, _NSOrthographyDominantLanguageForFlagsAndScript,
_NSOrthographyDominantScriptForFlags, _NSOrthographyFlagsForDominantScriptAndLanguageMap,
_NSOrthographyFlagsForScriptAndOrthographyIndexes, _NSOrthographyGetScriptAndOrthographyIndexesForFlags,
_NSOrthographyLanguageMapForFlags, _NSOrthographyScriptIndexForCharacters,
_NSOwnedObjectIdentityHashCallBacks, _NSOwnedPointerHashCallBacks,
_NSOwnedPointerMapKeyCallBacks, _NSOwnedPointerMapValueCallBacks,
_NSPOSIXErrorDomain, _NSPageSize, _NSParseErrorException,
_NSPersonNameComponentDelimiter, _NSPersonNameComponentFamilyName,
_NSPersonNameComponentGivenName, _NSPersonNameComponentKey,
_NSPersonNameComponentMiddleName, _NSPersonNameComponentNickname,
_NSPersonNameComponentPhoneticRepresentation, _NSPersonNameComponentPrefix,
_NSPersonNameComponentSuffix, _NSPersonNameDefaultDisplayNameOrderDefault,
_NSPersonNameDefaultShortNameEnabledDefault, _NSPersonNameDefaultShortNameFormatDefault,
_NSPersonNameDefaultShouldPreferNicknamesPreference, _NSPersonNameLocalizedDefaultAbbreviatedNameStyleKey,
_NSPersonNameLocalizedDefaultInitialsCreatorKey, _NSPersonNameLocalizedDefaultLocaleInfoKey,
_NSPersonNameLocalizedDefaultNameOrderForNonNativeScriptsKey,
_NSPersonNameLocalizedDefaultNameOrderKey, _NSPersonNameLocalizedDefaultScriptInfoKey,
_NSPersonNameLocalizedDefaultShortNameStyleKey, _NSPersonNameLocalizedDefaultShortStyleRestrictionsKey,
_NSPersonNameLocalizedDefaultStyleRestrictionsKey, _NSPointFromString,
_NSPointInRect, _NSPointerToStructHashCallBacks, _NSPopAutoreleasePool,
_NSPortDidBecomeInvalidNotification, _NSPortReceiveException,
_NSPortSendException, _NSPortTimeoutException, _NSPresentationIntentAttributeName,
_NSProcessInfoPowerStateDidChangeNotification, _NSProcessInfoThermalStateDidChangeNotification,
_NSProgressByteCompletedCountKey, _NSProgressByteTotalCountKey,
_NSProgressCategoryKey, _NSProgressEstimatedTimeKey, _NSProgressEstimatedTimeRemainingKey,
_NSProgressFileAnimationImageKey, _NSProgressFileAnimationImageOriginalRectKey,
_NSProgressFileCompletedCountKey, _NSProgressFileDisplayNameKey,
_NSProgressFileDownloadingSourceURLKey, _NSProgressFileIconKey,
_NSProgressFileIconOriginalRectKey, _NSProgressFileLocationCanChangeKey,
_NSProgressFileOperationKindAirDropping, _NSProgressFileOperationKindArchiving,
_NSProgressFileOperationKindCompressing, _NSProgressFileOperationKindCopying,
_NSProgressFileOperationKindDecompressing, _NSProgressFileOperationKindDecompressingAfterDownloading,
_NSProgressFileOperationKindDownloading, _NSProgressFileOperationKindDuplicating,
_NSProgressFileOperationKindKey, _NSProgressFileOperationKindReceiving,
_NSProgressFileOperationKindUnarchiving, _NSProgressFileOperationKindUploading,
_NSProgressFileTotalCountKey, _NSProgressFileURLKey, _NSProgressKindFile,
_NSProgressLocalizedDescriptionFileCountFormatterKey, _NSProgressLocalizedDescriptionFileSizeFormatterOptionsKey,
_NSProgressLocalizedDescriptionPercentCompleteFormatterKey,
_NSProgressLocalizedDescriptionTimeRemainingFormatterKey,
_NSProgressLocalizedDescriptionUnitCountFormatterKey, _NSProgressPhysicalFileURLKey,
_NSProgressSuppressUnitCountInAdditionalDescriptionKey, _NSProgressThroughputKey,
_NSProgressUseItemDescriptionKey, _NSProtocolFromString, _NSPushAutoreleasePool,
_NSRangeFromString, _NSRealMemoryAvailable, _NSReallocateObjectArray,
_NSReallocateScannedUncollectable, _NSRecordAllocationEvent,
_NSRecoveryAttempterErrorKey, _NSRectFromString, _NSRecycleZone,
_NSRegistrationDomain, _NSReplacementIndexAttributeName, _NSRequestConcreteImplementation,
_NSResetHashTable, _NSResetMapTable, _NSReturnAddress, _NSRoundDownToMultipleOfPageSize,
_NSRoundUpToMultipleOfPageSize, _NSScannedZone, _NSSearchPathForDirectoriesInDomains,
_NSSecureUnarchiveFromDataTransformerName, _NSSelectorFromString,
_NSSetUncaughtExceptionHandler, _NSSetZoneName, _NSShouldRetainWithZone,
_NSSizeFromString, _NSSourceFilePathErrorKey, _NSStreamNetworkServiceType,
_NSStreamNetworkServiceTypeBackground, _NSStreamNetworkServiceTypeCallSignaling,
_NSStreamNetworkServiceTypeVideo, _NSStreamNetworkServiceTypeVoIP,
_NSStreamNetworkServiceTypeVoice, _NSStreamSOCKSErrorDomain,
_NSStreamSocketSSLErrorDomain, _NSStringEncodingDetectionAllowLossyKey,
_NSStringEncodingDetectionDisallowedEncodingsKey, _NSStringEncodingDetectionFromWindowsKey,
_NSStringEncodingDetectionLikelyLanguageKey, _NSStringEncodingDetectionLossySubstitutionKey,
_NSStringEncodingDetectionSuggestedEncodingsKey, _NSStringEncodingDetectionUseOnlySuggestedEncodingsKey,
_NSStringEncodingErrorKey, _NSStringFromBOOL, _NSStringFromClass,
_NSStringFromHashTable, _NSStringFromMapTable, _NSStringFromPoint,
_NSStringFromProtocol, _NSStringFromRange, _NSStringFromRect,
_NSStringFromSelector, _NSStringFromSize, _NSSubtractRange,
_NSSumKeyValueOperator, _NSTargetObjectUserInfoKey, _NSTaskDidTerminateNotification,
_NSTemporaryDirectory, _NSTextCheckingAirlineKey, _NSTextCheckingCityKey,
_NSTextCheckingCountryKey, _NSTextCheckingFlightKey, _NSTextCheckingJobTitleKey,
_NSTextCheckingNameKey, _NSTextCheckingOrganizationKey, _NSTextCheckingPhoneKey,
_NSTextCheckingStateKey, _NSTextCheckingStreetKey, _NSTextCheckingZIPKey,
_NSThreadWillExitNotification, _NSTypeIdentifierAddressText,
_NSTypeIdentifierDateText, _NSTypeIdentifierPhoneNumberText,
_NSTypeIdentifierTransitInformationText, _NSURLAuthenticationMethodClientCertificate,
_NSURLAuthenticationMethodDefault, _NSURLAuthenticationMethodHTMLForm,
_NSURLAuthenticationMethodHTTPBasic, _NSURLAuthenticationMethodHTTPDigest,
_NSURLAuthenticationMethodNTLM, _NSURLAuthenticationMethodNegotiate,
_NSURLAuthenticationMethodOAuth, _NSURLAuthenticationMethodServerTrust,
_NSURLAuthenticationMethodXMobileMeAuthToken, _NSURLConnectionBackgroundDownloadCompletedInvocation,
_NSURLConnectionBackgroundDownloadDestinationURL, _NSURLConnectionBackgroundDownloadIdentifier,
_NSURLConnectionBackgroundDownloadMediaKind, _NSURLConnectionBackgroundDownloadPreCompletedInvocation,
_NSURLConnectionIsBackgroundDownload, _NSURLCredentialStorageChangedNotification,
_NSURLCredentialStorageRemoveSynchronizableCredentials, _NSURLErrorBackgroundTaskCancelledReasonKey,
_NSURLErrorDomain, _NSURLErrorFailingURLErrorKey, _NSURLErrorFailingURLPeerTrustErrorKey,
_NSURLErrorFailingURLStringErrorKey, _NSURLErrorKey, _NSURLErrorNetworkUnavailableReasonKey,
_NSURLFileScheme, _NSURLLocalizedString, _NSURLLog, _NSURLProtectionSpaceFTP,
_NSURLProtectionSpaceFTPProxy, _NSURLProtectionSpaceHTTP,
_NSURLProtectionSpaceHTTPProxy, _NSURLProtectionSpaceHTTPS,
_NSURLProtectionSpaceHTTPSProxy, _NSURLProtectionSpaceSOCKSProxy,
_NSURLReportArgumentAssertionFailure, _NSURLReportAssertionFailure,
_NSURLReportAssertionFailureWithMessage, _NSURLReportError,
_NSURLReportFatalError, _NSURLSessionDownloadTaskResumeData,
_NSURLSessionTaskPriorityDefault, _NSURLSessionTaskPriorityHigh,
_NSURLSessionTaskPriorityLow, _NSURLSessionTransferSizeUnknown,
_NSUbiquitousKeyValueStoreChangeReasonKey, _NSUbiquitousKeyValueStoreChangedKeysKey,
_NSUbiquitousKeyValueStoreDidChangeExternallyNotification,
_NSUbiquitousUserDefaultsCompletedInitialSyncNotification,
_NSUbiquitousUserDefaultsDidChangeAccountsNotification, _NSUbiquitousUserDefaultsNoCloudAccountNotification,
_NSUbiquityIdentityDidChangeNotification, _NSUnarchiveFromDataTransformerName,
_NSUndefinedKeyException, _NSUnderlyingErrorKey, _NSUndoManagerCheckpointNotification,
_NSUndoManagerDidCloseUndoGroupNotification, _NSUndoManagerDidOpenUndoGroupNotification,
_NSUndoManagerDidRedoChangeNotification, _NSUndoManagerDidUndoChangeNotification,
_NSUndoManagerGroupIsDiscardableKey, _NSUndoManagerWillCloseUndoGroupNotification,
_NSUndoManagerWillRedoChangeNotification, _NSUndoManagerWillUndoChangeNotification,
_NSUnimplemented_, _NSUnionOfArraysKeyValueOperator, _NSUnionOfObjectsKeyValueOperator,
_NSUnionOfSetsKeyValueOperator, _NSUnionRange, _NSUnionRect,
_NSUnknownKeyException, _NSUnknownUserInfoKey, _NSUnscannedZone,
_NSUserActivityContentUserActionCall, _NSUserActivityContentUserActionFacetime,
_NSUserActivityContentUserActionMessage, _NSUserActivityContentUserActionNavigate,
_NSUserActivityContentUserActionPlay, _NSUserActivityContentUserActionRecord,
_NSUserActivityContentUserActionSchedule, _NSUserActivityTypeBrowsingWeb,
_NSUserDefaultsDidChangeNotification, _NSUserDefaultsSizeLimitExceededNotification,
_NSUserName, _NSUserNotificationDefaultSoundName, _NSUserStringVariantErrorKey,
_NSWillBecomeMultiThreadedNotification, _NSXMLParserErrorColumnKey,
_NSXMLParserErrorDomain, _NSXMLParserErrorFileNameKey, _NSXMLParserErrorLineNumberKey,
_NSXMLParserErrorMessageKey, _NSZeroPoint, _NSZeroRange, _NSZeroRect,
_NSZeroSize, _NSZombieEnabled, _NSZoneCalloc, _NSZoneFree,
_NSZoneFromPointer, _NSZoneMalloc, _NSZoneName, _NSZoneRealloc,
_NSZoneReallyFree, __NSAEDescriptorByConvertingObjectOfTypeInSuite,
__NSAddAltHandler2, __NSAddExceptionHandlerForLock, __NSAlternateDescriptionAttributeName,
__NSAssertFile, __NSAssertLine, __NSAttributedStringFromMarkdownWithCreator,
__NSAutoreleasePoolGetRubyToken, __NSAutoreleasePoolSetRubyToken,
__NSBundleResourceRequestAssetPackNotificationAssetPackIDKey,
__NSBundleResourceRequestAssetPackPinnedNotification, __NSBundleResourceRequestAssetPackUnpinnedNotification,
__NSBundleResourceRequestClientInterface, __NSBundleResourceRequestErrorDomain,
__NSBundleResourceRequestServerBusyTimeIntervalKey, __NSBundleResourceRequestServerInterface,
__NSCStringCharToUnichar, __NSCStringEncoding, __NSCodeAndEnumerationFlagForTypeInSuite,
__NSConvertToASCIIorUnicode, __NSConvertToASCIIorUnicode2,
__NSDateFormatterNoInit, __NSDefaultCStringEncoding, __NSDefaultFileSystemEncoding,
__NSDefaultMallocZoneClaimedAddress, __NSDefaultStringEncoding,
__NSDescriptionWithLocaleFunc, __NSDescriptionWithStringProxyFunc,
__NSDoNotDisturbDisabledNotification, __NSDoNotDisturbEnabledNotification,
__NSEncodingFromDataForExtendedAttribute, __NSEncodingToNewDataForExtendedAttribute,
__NSErrnoMessage, __NSErrorWithCloudSharingError, __NSErrorWithFilePath,
__NSErrorWithFilePathAndEncoding, __NSErrorWithFilePathAndErrno,
__NSErrorWithFilePathErrnoAndVariant, __NSErrorWithFilePathErrnoVariantAndExtraUserInfo,
__NSExceptionHandlerCount, __NSExceptionRaiser, __NSFCClaimsLog,
__NSFCFSEventsLog, __NSFCIP, __NSFCIPPB, __NSFCLog, __NSFCPresenterLog,
__NSFCProcessMonitorLog, __NSFCProviderLog, __NSFCShouldLog,
__NSFCShouldLogForNewClaim, __NSFaultInObject, __NSFaultInObjectWithCleanup,
__NSFileHandleCanPerformWritingInSwiftOverlay, __NSFileSandboxingRequestRelatedItemExtension,
__NSFoundationBundle, __NSFoundationResourceDirectory, __NSFullMethodName,
__NSGetUsingKeyValueGetter, __NSGetVoidValueWithMethod, __NSGrammarAttributeName,
__NSIPCloneToTemporaryDir, __NSIPItemQueue, __NSImageURLAttributeName,
__NSIndentSpace, __NSInflect, __NSInflectWithoutReplacements,
__NSInflectableAttributeName, __NSInflectionAlternativeAttributeName,
__NSInlinePresentationIntentAttributeName, __NSIsLocalizedString,
__NSKeyValueCreateImplicitObservationInfo, __NSKeyValueCreatePendingChangeNotificationArray,
__NSKeyValueGetterForClassAndKey, __NSKeyValueInvalidateAllCachesForContainerAndKey,
__NSKeyValueMutableSetGetterForClassAndKey, __NSKeyValueObserverRegistrationEnableLockingAssertions,
__NSKeyValuePrimitiveGetterForClassAndKey, __NSKeyValuePrimitiveSetterForClassAndKey,
__NSKeyValueRemoveObservationInfoForObject, __NSKeyValueSetterForClassAndKey,
__NSLanguageAttributeName, __NSLinguisticTagSchemeInternalClass,
__NSLinguisticTagSchemePossibleClasses, __NSLocalizedFileSizeDescription,
__NSLogCStringFunction, __NSMethodExceptionProem, __NSNewInlineCString,
__NSNewStringByAppendingStrings, __NSNewStringFromCString,
__NSODRSandboxExtensionKey, __NSODRSandboxRootPathKey, __NSODRURLKey,
__NSObjectByConvertingAEDescriptorToTypeInSuite, __NSPNCSettings,
__NSPersonNameComponentPhoneticFamilyNameKeyPath, __NSPersonNameComponentPhoneticGivenNameKeyPath,
__NSPersonNameComponentPhoneticMiddleNameKeyPath, __NSPersonNameComponentPhoneticNicknameKeyPath,
__NSPersonNameComponentPhoneticPrefixKeyPath, __NSPersonNameComponentPhoneticSuffixKeyPath,
__NSPrintForDebugger, __NSProgressRemoteLocalizedAdditionalDescriptionKey,
__NSProgressRemoteLocalizedDescriptionKey, __NSRaiseError,
__NSReadExtendedAttributesFromFileDescriptor, __NSRemoveAltHandler2,
__NSRemoveExceptionHandlerForLock, __NSReplacementIndexAttributeName,
__NSRequestConcreteObject, __NSSetExceptionRaiser, __NSSetLogCStringFunction,
__NSSetUsingKeyValueSetter, __NSSetupLibXML, __NSSoftLinkingGetFrameworkFunction,
__NSSoftLinkingLoadFramework, __NSUnitGetBestUnitsForUsage,
__NSUserDefaults_Log_Nonsensical_Suites, __NSWriteExtendedAttributesToFileDescriptor,
__NSXMLCreateStringFromContentsOfHTML, __NSXPCConnectionInvocationReplyToSelectorKey,
__NSXPCConnectionInvocationReplyUserInfoKey, __NS_os_log_callback,
__NXAccessFile, __NXCurrentWorkingDir, __NXMakeDirs, __NXRenameFile,
__NXStatFile, ___NSCoderInvalidState, ___NSDefaultStringEncodingFullyInited,
___NSDescribeDelayedPerformCallout, ___NSDescribeNSMachPortCallout,
___NSDescribeTimerCallout, ___NSFireDelayedPerform, ___NSFireMachPort,
___NSFireTimer, ___NSPropertyListClasses_ForArchival_ErrorAndException,
_getStackObservedValueClassAndBoxSize ]
objc-classes: [ NSAEDescriptorTranslator, NSAddressCheckingResult, NSAffineTransform,
NSAlignmentLayoutRule, NSAppleEventDescriptor, NSAppleEventManager,
NSAppleScript, NSArchiver, NSArrayChange, NSArrayChanges,
NSAssertionHandler, NSAttributedString, NSAttributedStringMarkdownParsingOptions,
NSAutoreleasePool, NSAutoresizingMaskLayoutConstraint, NSBackgroundActivityScheduler,
NSBigMutableString, NSBlockOperation, NSBlockPredicate, NSBoundKeyPath,
NSBundle, NSBundleResourceRequest, NSByteCountFormatter, NSCachedURLResponse,
NSCalendarDate, NSCharacterSet, NSCheapMutableString, NSClassDescription,
NSCloneCommand, NSCloseCommand, NSCoder, NSComparisonPredicate,
NSComparisonPredicateOperator, NSCompletionCheckingResult,
NSComplexOrthography, NSComplexRegularExpressionCheckingResult,
NSCompoundPredicate, NSCompoundPredicateOperator, NSConcreteAttributedString,
NSConcreteMutableAttributedString, NSConcreteValue, NSCondition,
NSConditionLock, NSConnection, NSConstantDoubleNumber, NSConstantFloatNumber,
NSConstantIntegerNumber, NSConstantString, NSConstantValueExpression,
NSContentSizeLayoutConstraint, NSCorrectionCheckingResult,
NSCountCommand, NSCountedSet, NSCreateCommand, NSDashCheckingResult,
NSDataDetector, NSDateCheckingResult, NSDateComponentsFormatter,
NSDateFormatter, NSDateInterval, NSDateIntervalFormatter,
NSDecimalNumber, NSDecimalNumberHandler, NSDeleteCommand,
NSDeserializer, NSDimension, NSDirectoryEnumerator, NSDistantObject,
NSDistantObjectRequest, NSDistributedLock, NSDistributedNotificationCenter,
NSEmojiCheckingResult, NSEnergyFormatter, NSEqualityPredicateOperator,
NSError, NSExistsCommand, NSExpression, NSExtendedRegularExpressionCheckingResult,
NSExtension, NSExtensionContext, NSExtensionItem, NSFalsePredicate,
NSFileAccessArbiter, NSFileAccessIntent, NSFileCoordinator,
NSFileHandle, NSFileManager, NSFileProviderKernelFileMaterializationInfo,
NSFileProviderKernelMaterializationInfo, NSFileProviderKernelPartialFolderMaterializationInfo,
NSFileProviderMessageInterface, NSFileProviderMessenger, NSFileProviderService,
NSFileVersion, NSFileWrapper, NSFilterObservationTransformer,
NSFormatter, NSFunctionExpression, NSGZipDecoder, NSGarbageCollector,
NSGetCommand, NSGrammarCheckingResult, NSHTTPCookie, NSHTTPCookieStorage,
NSHTTPURLResponse, NSHashTable, NSHost, NSIBPrototypingLayoutConstraint,
NSISO8601DateFormatter, NSInPredicateOperator, NSIndexPath,
NSIndexSet, NSIndexSpecifier, NSInflectionRule, NSInflectionRuleExplicit,
NSInvocationOperation, NSItemProvider, NSItemProviderRepresentation,
NSItemRepresentationLoadResult, NSJSONSerialization, NSKeyBinding,
NSKeyGetBinding, NSKeyPathExpression, NSKeyPathSpecifierExpression,
NSKeySetBinding, NSKeyValueAccessor, NSKeyValueGetter, NSKeyValueSetter,
NSKeyedArchiver, NSKeyedUnarchiver, NSLanguageContext, NSLayoutAnchor,
NSLayoutAnchorRule, NSLayoutConstraint, NSLayoutConstraintExplainer,
NSLayoutDimension, NSLayoutPoint, NSLayoutPointRule, NSLayoutRect,
NSLayoutRectRule, NSLayoutXAxisAnchor, NSLayoutYAxisAnchor,
NSLengthFormatter, NSLinguisticTagger, NSLinkCheckingResult,
NSListFormatter, NSLocalizableString, NSLock, NSLogicalTest,
NSLookupMatch, NSMachBootstrapServer, NSMachPort, NSMapTable,
NSMassFormatter, NSMeasurement, NSMeasurementFormatter, NSMessagePort,
NSMessagePortNameServer, NSMetadataItem, NSMetadataQuery,
NSMetadataQueryAttributeValueTuple, NSMetadataQueryResultGroup,
NSMiddleSpecifier, NSMorphology, NSMorphologyCustomPronoun,
NSMoveCommand, NSMultiReadUniWriteLock, NSMutableAttributedString,
NSMutableCharacterSet, NSMutableIndexSet, NSMutableRLEArray,
NSMutableString, NSMutableStringProxyForMutableAttributedString,
NSMutableURLRequest, NSNameSpecifier, NSNetService, NSNetServiceBrowser,
NSNotification, NSNotificationCenter, NSNotificationObservable,
NSNotificationQueue, NSNumber, NSNumberFormatter, NSObservableKeyPath,
NSObservation, NSObservationBuffer, NSObservationSink, NSObservationSource,
NSObservationTransformer, NSObserverKeyPath, NSOldValueObservationTransformer,
NSOperation, NSOperationQueue, NSOrderedCollectionChange,
NSOrderedCollectionDifference, NSOrderedSetChange, NSOrderedSetChanges,
NSOrthography, NSOrthographyCheckingResult, NSPersonNameComponents,
NSPersonNameComponentsFormatter, NSPhoneNumberCheckingResult,
NSPinyinString, NSPipe, NSPlaceholderMutableString, NSPlaceholderString,
NSPointerArray, NSPointerFunctions, NSPort, NSPortCoder, NSPortMessage,
NSPortNameServer, NSPositionalSpecifier, NSPredicate, NSPredicateOperator,
NSPresentationIntent, NSProcessInfo, NSProgress, NSPropertyListSerialization,
NSPropertySpecifier, NSProtocolChecker, NSProxy, NSPurgeableData,
NSQuitCommand, NSQuoteCheckingResult, NSRLEArray, NSRTFD,
NSRandomSpecifier, NSRangeSpecifier, NSRecursiveLock, NSReduceObservationTransformer,
NSRegularExpression, NSRegularExpressionCheckingResult, NSRelativeDateTimeFormatter,
NSRelativeSpecifier, NSReplacementCheckingResult, NSScanner,
NSScriptArgumentDescription, NSScriptAttributeDescription,
NSScriptClassDescription, NSScriptCoercionHandler, NSScriptCommand,
NSScriptCommandDescription, NSScriptDeclaredRecordTypeDescription,
NSScriptEnumerationDescription, NSScriptEnumeratorDescription,
NSScriptExecutionContext, NSScriptObjectSpecifier, NSScriptPropertyDescription,
NSScriptRecordFieldDescription, NSScriptRecordTypeDescription,
NSScriptSuiteDescription, NSScriptSuiteRegistry, NSScriptTypeDescription,
NSScriptValueTypeDescription, NSScriptWhoseTest, NSScriptingAppleEventHandler,
NSSecureUnarchiveFromDataTransformer, NSSecurityScopedURLWrapper,
NSSelfExpression, NSSerializer, NSSetChange, NSSetChanges,
NSSetCommand, NSSetExpression, NSSimpleCString, NSSimpleOrthography,
NSSimpleRegularExpressionCheckingResult, NSSmartPunctuationController,
NSSmartQuoteOptions, NSSortDescriptor, NSSpecifierTest, NSSpellCheckingResult,
NSSpellServer, NSStackInContainerRule, NSStackLayoutRule,
NSString, NSStringPredicateOperator, NSSubqueryExpression,
NSSubstitutionCheckingResult, NSSubstringPredicateOperator,
NSTask, NSTernaryExpression, NSTextCheckingKeyEvent, NSTextCheckingResult,
NSThread, NSTransitInformationCheckingResult, NSTruePredicate,
NSURLAuthenticationChallenge, NSURLCache, NSURLComponents,
NSURLConnection, NSURLCredential, NSURLCredentialStorage,
NSURLDownload, NSURLError, NSURLFileTypeMappings, NSURLHandle,
NSURLProtectionSpace, NSURLProtocol, NSURLQueryItem, NSURLRequest,
NSURLResponse, NSURLSession, NSURLSessionConfiguration, NSURLSessionDataTask,
NSURLSessionDownloadTask, NSURLSessionStreamTask, NSURLSessionTask,
NSURLSessionTaskMetrics, NSURLSessionTaskTransactionMetrics,
NSURLSessionUploadTask, NSURLSessionWebSocketMessage, NSURLSessionWebSocketTask,
NSUUID, NSUbiquitousKeyValueStore, NSUnarchiver, NSUndoManager,
NSUniqueIDSpecifier, NSUnit, NSUnitAcceleration, NSUnitAngle,
NSUnitArea, NSUnitConcentrationMass, NSUnitConverter, NSUnitConverterLinear,
NSUnitDispersion, NSUnitDuration, NSUnitElectricCharge, NSUnitElectricCurrent,
NSUnitElectricPotentialDifference, NSUnitElectricResistance,
NSUnitEnergy, NSUnitFrequency, NSUnitFuelEfficiency, NSUnitIlluminance,
NSUnitInformationStorage, NSUnitLength, NSUnitMass, NSUnitPower,
NSUnitPressure, NSUnitSpeed, NSUnitTemperature, NSUnitVolume,
NSUserActivity, NSUserAppleScriptTask, NSUserAutomatorTask,
NSUserNotification, NSUserNotificationAction, NSUserNotificationCenter,
NSUserScriptTask, NSUserUnixTask, NSValue, NSValueTransformer,
NSVariableExpression, NSVisualFormatLayoutRule, NSWhoseSpecifier,
NSXMLAttributeDeclaration, NSXMLDTD, NSXMLDTDNode, NSXMLDocument,
NSXMLElement, NSXMLElementDeclarationContent, NSXMLNode, NSXMLParser,
NSXPCCoder, NSXPCConnection, NSXPCInterface, NSXPCListener,
NSXPCListenerEndpoint, NSZipFileArchive, _NSAttributedStringGrammar,
_NSAttributedStringGrammarInflection, _NSBundleODRTag, _NSCloudSharingDescriptor,
_NSExtensionContextVendor, _NSKVOCompatibility, _NSLexicon,
_NSLexiconLemma, _NSLexiconWord, _NSSharedValueTransformer ]
objc-ivars: [ NSBlockPredicate._block, NSComplexOrthography._dominantScript,
NSComplexOrthography._languageMap, NSComplexOrthography._orthographyFlags,
NSConcreteValue._specialFlags, NSConcreteValue.typeInfo, NSConstantDoubleNumber._value,
NSConstantFloatNumber._value, NSConstantIntegerNumber._encoding,
NSConstantIntegerNumber._value, NSDataDetector._types, NSDimension._converter,
NSFilterObservationTransformer._predicate, NSInPredicateOperator._flags,
NSInPredicateOperator._stringVersion, NSIndexSet._indexSetFlags,
NSIndexSet._internal, NSKeyBinding._class, NSKeyBinding._funcP,
NSKeyBinding._key, NSLocalizableString._developmentLanguageString,
NSLocalizableString._stringsFileKey, NSMutableIndexSet._reserved,
NSOldValueObservationTransformer._lastValue, NSPinyinString._deletionCount,
NSPinyinString._firstModificationIndex, NSPinyinString._insertionCount,
NSPinyinString._lastSyllableIsPartial, NSPinyinString._rangeCount,
NSPinyinString._ranges, NSPinyinString._replacementCount,
NSPinyinString._score, NSPinyinString._string, NSPinyinString._syllableCount,
NSPinyinString._transpositionCount, NSPredicate._predicateFlags,
NSPredicate.reserved, NSPropertyListSerialization.reserved,
NSProxy.isa, NSRegularExpression._checkout, NSRegularExpression._internal,
NSRegularExpression._options, NSRegularExpression._pattern,
NSRegularExpression._reserved1, NSRegularExpression._reserved2,
NSSimpleOrthography._orthographyFlags, NSSmartPunctuationController._client,
NSSmartPunctuationController._options, NSSmartPunctuationController._types,
NSSmartQuoteOptions._apostrophe, NSSmartQuoteOptions._leftDoubleQuote,
NSSmartQuoteOptions._leftSingleQuote, NSSmartQuoteOptions._rightDoubleQuote,
NSSmartQuoteOptions._rightSingleQuote, NSURLHandle._clients,
NSURLHandle._data, NSURLHandle._reserved, NSURLHandle._status,
NSUserScriptTask._connection, NSUserScriptTask._hasExeced,
NSUserScriptTask._hasTerminated, NSUserScriptTask._scriptURL,
NSUserScriptTask._stderr, NSUserScriptTask._stdin, NSUserScriptTask._stdout,
NSVariableExpression._variable, NSXMLDTDNode._DTDKind, NSXMLDTDNode._name,
NSXMLDTDNode._notationName, NSXMLDTDNode._publicID, NSXMLDTDNode._systemID,
NSXMLDocument._URI, NSXMLDocument._children, NSXMLDocument._childrenHaveMutated,
NSXMLDocument._contentKind, NSXMLDocument._docType, NSXMLDocument._encoding,
NSXMLDocument._extraIvars, NSXMLDocument._fidelityMask, NSXMLDocument._rootElement,
NSXMLDocument._standalone, NSXMLDocument._version, NSXMLDocument.padding,
NSXMLElement._URI, NSXMLElement._attributes, NSXMLElement._children,
NSXMLElement._childrenHaveMutated, NSXMLElement._name, NSXMLElement._namespaces,
NSXMLElement._padding, NSXMLElement._prefixIndex, NSXMLElement._zeroOrOneAttributes,
NSXMLElement._zeroOrOneNamespaces, NSXMLNode._index, NSXMLNode._kind,
NSXMLNode._objectValue, NSXMLNode._parent, _NSCloudSharingDescriptor._invitationsSentViaThirdPartyService,
_NSCloudSharingDescriptor._numberOfInvitations, _NSCloudSharingDescriptor._operation,
_NSCloudSharingDescriptor._publicShare, _NSCloudSharingDescriptor._sharedContentType ]
- targets: [ x86_64-macos, arm64e-macos, arm64-macos ]
symbols: [ _NSAMPMDesignation, _NSAllocateCollectable, _NSCurrencySymbol,
_NSDateFormatString, _NSDateTimeOrdering, _NSDecimalDigits,
_NSDecimalSeparator, _NSEarlierTimeDesignations, _NSHourNameDesignations,
_NSInternationalCurrencyString, _NSJavaBundleCleanup, _NSJavaBundleSetup,
_NSJavaClasses, _NSJavaClassesForBundle, _NSJavaClassesFromPath,
_NSJavaDidCreateVirtualMachineNotification, _NSJavaDidSetupVirtualMachineNotification,
_NSJavaLibraryPath, _NSJavaNeedsToLoadClasses, _NSJavaNeedsVirtualMachine,
_NSJavaObjectNamedInPath, _NSJavaOwnVirtualMachine, _NSJavaPath,
_NSJavaPathSeparator, _NSJavaProvidesClasses, _NSJavaRoot,
_NSJavaSetup, _NSJavaSetupVirtualMachine, _NSJavaUserPath,
_NSJavaWillCreateVirtualMachineNotification, _NSJavaWillSetupVirtualMachineNotification,
_NSLaterTimeDesignations, _NSMonthNameArray, _NSNegativeCurrencyFormatString,
_NSNextDayDesignations, _NSNextNextDayDesignations, _NSPositiveCurrencyFormatString,
_NSPrecompUnicodeToNEXTSTEP, _NSPriorDayDesignations, _NSProgressScriptProgressCategory,
_NSProgressScriptTitleKey, _NSReallocateCollectable, _NSShortDateFormatString,
_NSShortMonthNameArray, _NSShortTimeDateFormatString, _NSShortWeekDayNameArray,
_NSThisDayDesignations, _NSThousandsSeparator, _NSTimeDateFormatString,
_NSTimeFormatString, _NSWeekDayNameArray, _NSXMLTidyBufferDecode,
_NSYearMonthWeekDesignations, _NXReadNSObjectFromCoder, __NSAELanguageNameByConvertingLanguageCode,
__NSAddHandler2, __NSDictionaryOfVariableBindings, __NSErrorWithFSRefAndOSStatus,
__NSErrorWithFSRefOSStatusAndVariant, __NSErrorWithFilePathAndOSStatus,
__NSErrorWithFilePathOSStatusAndVariant, __NSExceptionObjectFromHandler2,
__NSJavaCL, __NSJavaVM, __NSRemoveHandler2, __NSSetMainBundle,
__NSUserNotificationActivationSeedKey, __NS_OSAGetSource,
___NSUserScriptTaskServiceStart ]
objc-classes: [ NSSocketPort, NSSocketPortNameServer, NSURLConnectionDelegateProxy ]
...
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h | /*
NSURLRequest.h
Copyright (c) 2003-2019, Apple Inc. All rights reserved.
Public header file.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSDate.h>
@class NSData;
@class NSDictionary<KeyType, ObjectType>;
@class NSInputStream;
@class NSString;
@class NSURL;
@class NSURLRequestInternal;
NS_ASSUME_NONNULL_BEGIN
/*!
@header NSURLRequest.h
This header file describes the constructs used to represent URL
load requests in a manner independent of protocol and URL scheme.
Immutable and mutable variants of this URL load request concept
are described, named NSURLRequest and NSMutableURLRequest,
respectively. A collection of constants is also declared to
exercise control over URL content caching policy.
<p>NSURLRequest and NSMutableURLRequest are designed to be
customized to support protocol-specific requests. Protocol
implementors who need to extend the capabilities of NSURLRequest
and NSMutableURLRequest are encouraged to provide categories on
these classes as appropriate to support protocol-specific data. To
store and retrieve data, category methods can use the
<tt>+propertyForKey:inRequest:</tt> and
<tt>+setProperty:forKey:inRequest:</tt> class methods on
NSURLProtocol. See the NSHTTPURLRequest on NSURLRequest and
NSMutableHTTPURLRequest on NSMutableURLRequest for examples of
such extensions.
<p>The main advantage of this design is that a client of the URL
loading library can implement request policies in a standard way
without type checking of requests or protocol checks on URLs. Any
protocol-specific details that have been set on a URL request will
be used if they apply to the particular URL being loaded, and will
be ignored if they do not apply.
*/
/*!
@enum NSURLRequestCachePolicy
@discussion The NSURLRequestCachePolicy enum defines constants that
can be used to specify the type of interactions that take place with
the caching system when the URL loading system processes a request.
Specifically, these constants cover interactions that have to do
with whether already-existing cache data is returned to satisfy a
URL load request.
@constant NSURLRequestUseProtocolCachePolicy Specifies that the
caching logic defined in the protocol implementation, if any, is
used for a particular URL load request. This is the default policy
for URL load requests.
@constant NSURLRequestReloadIgnoringLocalCacheData Specifies that the
data for the URL load should be loaded from the origin source. No
existing local cache data, regardless of its freshness or validity,
should be used to satisfy a URL load request.
@constant NSURLRequestReloadIgnoringLocalAndRemoteCacheData Specifies that
not only should the local cache data be ignored, but that proxies and
other intermediates should be instructed to disregard their caches
so far as the protocol allows.
@constant NSURLRequestReloadIgnoringCacheData Older name for
NSURLRequestReloadIgnoringLocalCacheData.
@constant NSURLRequestReturnCacheDataElseLoad Specifies that the
existing cache data should be used to satisfy a URL load request,
regardless of its age or expiration date. However, if there is no
existing data in the cache corresponding to a URL load request,
the URL is loaded from the origin source.
@constant NSURLRequestReturnCacheDataDontLoad Specifies that the
existing cache data should be used to satisfy a URL load request,
regardless of its age or expiration date. However, if there is no
existing data in the cache corresponding to a URL load request, no
attempt is made to load the URL from the origin source, and the
load is considered to have failed. This constant specifies a
behavior that is similar to an "offline" mode.
@constant NSURLRequestReloadRevalidatingCacheData Specifies that
the existing cache data may be used provided the origin source
confirms its validity, otherwise the URL is loaded from the
origin source.
*/
typedef NS_ENUM(NSUInteger, NSURLRequestCachePolicy)
{
NSURLRequestUseProtocolCachePolicy = 0,
NSURLRequestReloadIgnoringLocalCacheData = 1,
NSURLRequestReloadIgnoringLocalAndRemoteCacheData = 4,
NSURLRequestReloadIgnoringCacheData = NSURLRequestReloadIgnoringLocalCacheData,
NSURLRequestReturnCacheDataElseLoad = 2,
NSURLRequestReturnCacheDataDontLoad = 3,
NSURLRequestReloadRevalidatingCacheData = 5,
};
/*!
@enum NSURLRequestNetworkServiceType
@discussion The NSURLRequestNetworkServiceType enum defines constants that
can be used to specify the service type to associate with this request. The
service type is used to provide the networking layers a hint of the purpose
of the request.
@constant NSURLNetworkServiceTypeDefault Is the default value for an NSURLRequest
when created. This value should be left unchanged for the vast majority of requests.
@constant NSURLNetworkServiceTypeVoIP Specifies that the request is for voice over IP
control traffic.
@constant NSURLNetworkServiceTypeVideo Specifies that the request is for video
traffic.
@constant NSURLNetworkServiceTypeBackground Specifies that the request is for background
traffic (such as a file download).
@constant NSURLNetworkServiceTypeVoice Specifies that the request is for voice data.
@constant NSURLNetworkServiceTypeResponsiveData Specifies that the request is for responsive (time sensitive) data.
@constant NSURLNetworkServiceTypeAVStreaming Specifies that the request is streaming audio/video data.
@constant NSURLNetworkServiceTypeResponsiveAV Specifies that the request is for responsive (time sensitive) audio/video data.
@constant NSURLNetworkServiceTypeCallSignaling Specifies that the request is for call signaling.
*/
typedef NS_ENUM(NSUInteger, NSURLRequestNetworkServiceType)
{
NSURLNetworkServiceTypeDefault = 0, // Standard internet traffic
NSURLNetworkServiceTypeVoIP API_DEPRECATED("Use PushKit for VoIP control purposes", macos(10.7,10.15), ios(4.0,13.0), watchos(2.0,6.0), tvos(9.0,13.0)) = 1, // Voice over IP control traffic
NSURLNetworkServiceTypeVideo = 2, // Video traffic
NSURLNetworkServiceTypeBackground = 3, // Background traffic
NSURLNetworkServiceTypeVoice = 4, // Voice data
NSURLNetworkServiceTypeResponsiveData = 6, // Responsive data
NSURLNetworkServiceTypeAVStreaming API_AVAILABLE(macosx(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 8 , // Multimedia Audio/Video Streaming
NSURLNetworkServiceTypeResponsiveAV API_AVAILABLE(macosx(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 9, // Responsive Multimedia Audio/Video
NSURLNetworkServiceTypeCallSignaling API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = 11, // Call Signaling
};
/*!
@enum NSURLRequestAttribution
@discussion The NSURLRequestAttribution enum is used to indicate whether the
user or developer specified the URL.
@constant NSURLRequestAttributionDeveloper Indicates that the URL was specified
by the developer. This is the default value for an NSURLRequest when created.
@constant NSURLRequestAttributionUser Indicates that the URL was specified by
the user.
*/
typedef NS_ENUM(NSUInteger, NSURLRequestAttribution)
{
NSURLRequestAttributionDeveloper = 0,
NSURLRequestAttributionUser = 1,
} API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
/*!
@class NSURLRequest
@abstract An NSURLRequest object represents a URL load request in a
manner independent of protocol and URL scheme.
@discussion NSURLRequest encapsulates two basic data elements about
a URL load request:
<ul>
<li>The URL to load.
<li>The policy to use when consulting the URL content cache made
available by the implementation.
</ul>
In addition, NSURLRequest is designed to be extended to support
protocol-specific data by adding categories to access a property
object provided in an interface targeted at protocol implementors.
<ul>
<li>Protocol implementors should direct their attention to the
NSURLRequestExtensibility category on NSURLRequest for more
information on how to provide extensions on NSURLRequest to
support protocol-specific request information.
<li>Clients of this API who wish to create NSURLRequest objects to
load URL content should consult the protocol-specific NSURLRequest
categories that are available. The NSHTTPURLRequest category on
NSURLRequest is an example.
</ul>
<p>
Objects of this class are used to create NSURLConnection instances,
which can are used to perform the load of a URL, or as input to the
NSURLConnection class method which performs synchronous loads.
*/
API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
@interface NSURLRequest : NSObject <NSSecureCoding, NSCopying, NSMutableCopying>
{
@private
NSURLRequestInternal *_internal;
}
/*!
@method requestWithURL:
@abstract Allocates and initializes an NSURLRequest with the given
URL.
@discussion Default values are used for cache policy
(NSURLRequestUseProtocolCachePolicy) and timeout interval (60
seconds).
@param URL The URL for the request.
@result A newly-created and autoreleased NSURLRequest instance.
*/
+ (instancetype)requestWithURL:(NSURL *)URL;
/*!
@property supportsSecureCoding
@abstract Indicates that NSURLRequest implements the NSSecureCoding protocol.
@result A BOOL value set to YES.
*/
@property (class, readonly) BOOL supportsSecureCoding;
/*!
@method requestWithURL:cachePolicy:timeoutInterval:
@abstract Allocates and initializes a NSURLRequest with the given
URL and cache policy.
@param URL The URL for the request.
@param cachePolicy The cache policy for the request.
@param timeoutInterval The timeout interval for the request. See the
commentary for the <tt>timeoutInterval</tt> for more information on
timeout intervals.
@result A newly-created and autoreleased NSURLRequest instance.
*/
+ (instancetype)requestWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval;
/*!
@method initWithURL:
@abstract Initializes an NSURLRequest with the given URL.
@discussion Default values are used for cache policy
(NSURLRequestUseProtocolCachePolicy) and timeout interval (60
seconds).
@param URL The URL for the request.
@result An initialized NSURLRequest.
*/
- (instancetype)initWithURL:(NSURL *)URL;
/*!
@method initWithURL:
@abstract Initializes an NSURLRequest with the given URL and
cache policy.
@discussion This is the designated initializer for the
NSURLRequest class.
@param URL The URL for the request.
@param cachePolicy The cache policy for the request.
@param timeoutInterval The timeout interval for the request. See the
commentary for the <tt>timeoutInterval</tt> for more information on
timeout intervals.
@result An initialized NSURLRequest.
*/
- (instancetype)initWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval NS_DESIGNATED_INITIALIZER;
/*!
@abstract Returns the URL of the receiver.
@result The URL of the receiver.
*/
@property (nullable, readonly, copy) NSURL *URL;
/*!
@abstract Returns the cache policy of the receiver.
@result The cache policy of the receiver.
*/
@property (readonly) NSURLRequestCachePolicy cachePolicy;
/*!
@abstract Returns the timeout interval of the receiver.
@discussion The timeout interval specifies the limit on the idle
interval alloted to a request in the process of loading. The "idle
interval" is defined as the period of time that has passed since the
last instance of load activity occurred for a request that is in the
process of loading. Hence, when an instance of load activity occurs
(e.g. bytes are received from the network for a request), the idle
interval for a request is reset to 0. If the idle interval ever
becomes greater than or equal to the timeout interval, the request
is considered to have timed out. This timeout interval is measured
in seconds.
@result The timeout interval of the receiver.
*/
@property (readonly) NSTimeInterval timeoutInterval;
/*!
@abstract The main document URL associated with this load.
@discussion This URL is used for the cookie "same domain as main
document" policy, and attributing the request as a sub-resource
of a user-specified URL. There may also be other future uses.
See setMainDocumentURL:
@result The main document URL.
*/
@property (nullable, readonly, copy) NSURL *mainDocumentURL;
/*!
@abstract Returns the NSURLRequestNetworkServiceType associated with this request.
@discussion This will return NSURLNetworkServiceTypeDefault for requests that have
not explicitly set a networkServiceType (using the setNetworkServiceType method).
@result The NSURLRequestNetworkServiceType associated with this request.
*/
@property (readonly) NSURLRequestNetworkServiceType networkServiceType API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
/*!
@abstract returns whether a connection created with this request is allowed to use
the built in cellular radios (if present).
@result YES if the receiver is allowed to use the built in cellular radios to
satify the request, NO otherwise.
*/
@property (readonly) BOOL allowsCellularAccess API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
/*!
@abstract returns whether a connection created with this request is allowed to use
network interfaces which have been marked as expensive.
@result YES if the receiver is allowed to use an interface marked as expensive to
satify the request, NO otherwise.
*/
@property (readonly) BOOL allowsExpensiveNetworkAccess API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
/*!
@abstract returns whether a connection created with this request is allowed to use
network interfaces which have been marked as constrained.
@result YES if the receiver is allowed to use an interface marked as constrained to
satify the request, NO otherwise.
*/
@property (readonly) BOOL allowsConstrainedNetworkAccess API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
/*!
@abstract returns whether we assume that server supports HTTP/3. Enables QUIC
racing without HTTP/3 service discovery.
@result YES if server endpoint is known to support HTTP/3. Defaults to NO.
The default may be YES in a future OS update.
*/
@property (readonly) BOOL assumesHTTP3Capable API_AVAILABLE(macos(11.3), ios(14.5), watchos(7.4), tvos(14.5));
/*!
@abstract Returns the NSURLRequestAttribution associated with this request.
@discussion This will return NSURLRequestAttributionDeveloper for requests that
have not explicitly set an attribution.
@result The NSURLRequestAttribution associated with this request.
*/
@property (readonly) NSURLRequestAttribution attribution API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
@end
/*!
@class NSMutableURLRequest
@abstract An NSMutableURLRequest object represents a mutable URL load
request in a manner independent of protocol and URL scheme.
@discussion This specialization of NSURLRequest is provided to aid
developers who may find it more convenient to mutate a single request
object for a series of URL loads instead of creating an immutable
NSURLRequest for each load. This programming model is supported by
the following contract stipulation between NSMutableURLRequest and
NSURLConnection: NSURLConnection makes a deep copy of each
NSMutableURLRequest object passed to one of its initializers.
<p>NSMutableURLRequest is designed to be extended to support
protocol-specific data by adding categories to access a property
object provided in an interface targeted at protocol implementors.
<ul>
<li>Protocol implementors should direct their attention to the
NSMutableURLRequestExtensibility category on
NSMutableURLRequest for more information on how to provide
extensions on NSMutableURLRequest to support protocol-specific
request information.
<li>Clients of this API who wish to create NSMutableURLRequest
objects to load URL content should consult the protocol-specific
NSMutableURLRequest categories that are available. The
NSMutableHTTPURLRequest category on NSMutableURLRequest is an
example.
</ul>
*/
API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
@interface NSMutableURLRequest : NSURLRequest
/*!
@abstract The URL of the receiver.
*/
@property (nullable, copy) NSURL *URL;
/*!
@abstract The cache policy of the receiver.
*/
@property NSURLRequestCachePolicy cachePolicy;
/*!
@abstract Sets the timeout interval of the receiver.
@discussion The timeout interval specifies the limit on the idle
interval allotted to a request in the process of loading. The "idle
interval" is defined as the period of time that has passed since the
last instance of load activity occurred for a request that is in the
process of loading. Hence, when an instance of load activity occurs
(e.g. bytes are received from the network for a request), the idle
interval for a request is reset to 0. If the idle interval ever
becomes greater than or equal to the timeout interval, the request
is considered to have timed out. This timeout interval is measured
in seconds.
*/
@property NSTimeInterval timeoutInterval;
/*!
@abstract Sets the main document URL
@discussion The caller should pass the URL for an appropriate main
document, if known. For example, when loading a web page, the URL
of the main html document for the top-level frame should be
passed. This main document is used to implement the cookie "only
from same domain as main document" policy, attributing this request
as a sub-resource of a user-specified URL, and possibly other things
in the future.
*/
@property (nullable, copy) NSURL *mainDocumentURL;
/*!
@abstract Sets the NSURLRequestNetworkServiceType to associate with this request
@discussion This method is used to provide the network layers with a hint as to the purpose
of the request. Most clients should not need to use this method.
*/
@property NSURLRequestNetworkServiceType networkServiceType API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
/*!
@abstract sets whether a connection created with this request is allowed to use
the built in cellular radios (if present).
@discussion NO if the receiver should not be allowed to use the built in
cellular radios to satisfy the request, YES otherwise. The default is YES.
*/
@property BOOL allowsCellularAccess API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
/*!
@abstract sets whether a connection created with this request is allowed to use
network interfaces which have been marked as expensive.
@discussion NO if the receiver should not be allowed to use an interface marked as expensive to
satify the request, YES otherwise.
*/
@property BOOL allowsExpensiveNetworkAccess API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
/*!
@abstract sets whether a connection created with this request is allowed to use
network interfaces which have been marked as constrained.
@discussion NO if the receiver should not be allowed to use an interface marked as constrained to
satify the request, YES otherwise.
*/
@property BOOL allowsConstrainedNetworkAccess API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
/*!
@abstract returns whether we assume that server supports HTTP/3. Enables QUIC
racing without HTTP/3 service discovery.
@result YES if server endpoint is known to support HTTP/3. Defaults to NO.
The default may be YES in a future OS update.
*/
@property BOOL assumesHTTP3Capable API_AVAILABLE(macos(11.3), ios(14.5), watchos(7.4), tvos(14.5));
/*!
@abstract Sets the NSURLRequestAttribution to associate with this request.
@discussion Set to NSURLRequestAttributionUser if the URL was specified by the
user. Defaults to NSURLRequestAttributionDeveloper.
*/
@property NSURLRequestAttribution attribution API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
@end
/*!
@category NSURLRequest(NSHTTPURLRequest)
The NSHTTPURLRequest on NSURLRequest provides methods for accessing
information specific to HTTP protocol requests.
*/
@interface NSURLRequest (NSHTTPURLRequest)
/*!
@abstract Returns the HTTP request method of the receiver.
@result the HTTP request method of the receiver.
*/
@property (nullable, readonly, copy) NSString *HTTPMethod;
/*!
@abstract Returns a dictionary containing all the HTTP header fields
of the receiver.
@result a dictionary containing all the HTTP header fields of the
receiver.
*/
@property (nullable, readonly, copy) NSDictionary<NSString *, NSString *> *allHTTPHeaderFields;
/*!
@method valueForHTTPHeaderField:
@abstract Returns the value which corresponds to the given header
field. Note that, in keeping with the HTTP RFC, HTTP header field
names are case-insensitive.
@param field the header field name to use for the lookup
(case-insensitive).
@result the value associated with the given header field, or nil if
there is no value associated with the given header field.
*/
- (nullable NSString *)valueForHTTPHeaderField:(NSString *)field;
/*!
@abstract Returns the request body data of the receiver.
@discussion This data is sent as the message body of the request, as
in done in an HTTP POST request.
@result The request body data of the receiver.
*/
@property (nullable, readonly, copy) NSData *HTTPBody;
/*!
@abstract Returns the request body stream of the receiver
if any has been set
@discussion The stream is returned for examination only; it is
not safe for the caller to manipulate the stream in any way. Also
note that the HTTPBodyStream and HTTPBody are mutually exclusive - only
one can be set on a given request. Also note that the body stream is
preserved across copies, but is LOST when the request is coded via the
NSCoding protocol
@result The request body stream of the receiver.
*/
@property (nullable, readonly, retain) NSInputStream *HTTPBodyStream;
/*!
@abstract Determine whether default cookie handling will happen for
this request.
@discussion NOTE: This value is not used prior to 10.3
@result YES if cookies will be sent with and set for this request;
otherwise NO.
*/
@property (readonly) BOOL HTTPShouldHandleCookies;
/*!
@abstract Reports whether the receiver is not expected to wait for the
previous response before transmitting.
@result YES if the receiver should transmit before the previous response
is received. NO if the receiver should wait for the previous response
before transmitting.
*/
@property (readonly) BOOL HTTPShouldUsePipelining API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
@end
/*!
@category NSMutableURLRequest(NSMutableHTTPURLRequest)
The NSMutableHTTPURLRequest on NSMutableURLRequest provides methods
for configuring information specific to HTTP protocol requests.
*/
@interface NSMutableURLRequest (NSMutableHTTPURLRequest)
/*!
@abstract Sets the HTTP request method of the receiver.
*/
@property (copy) NSString *HTTPMethod;
/*!
@abstract Sets the HTTP header fields of the receiver to the given
dictionary.
@discussion This method replaces all header fields that may have
existed before this method call.
<p>Since HTTP header fields must be string values, each object and
key in the dictionary passed to this method must answer YES when
sent an <tt>-isKindOfClass:[NSString class]</tt> message. If either
the key or value for a key-value pair answers NO when sent this
message, the key-value pair is skipped.
*/
@property (nullable, copy) NSDictionary<NSString *, NSString *> *allHTTPHeaderFields;
/*!
@method setValue:forHTTPHeaderField:
@abstract Sets the value of the given HTTP header field.
@discussion If a value was previously set for the given header
field, that value is replaced with the given value. Note that, in
keeping with the HTTP RFC, HTTP header field names are
case-insensitive.
@param value the header field value.
@param field the header field name (case-insensitive).
*/
- (void)setValue:(nullable NSString *)value forHTTPHeaderField:(NSString *)field;
/*!
@method addValue:forHTTPHeaderField:
@abstract Adds an HTTP header field in the current header
dictionary.
@discussion This method provides a way to add values to header
fields incrementally. If a value was previously set for the given
header field, the given value is appended to the previously-existing
value. The appropriate field delimiter, a comma in the case of HTTP,
is added by the implementation, and should not be added to the given
value by the caller. Note that, in keeping with the HTTP RFC, HTTP
header field names are case-insensitive.
@param value the header field value.
@param field the header field name (case-insensitive).
*/
- (void)addValue:(NSString *)value forHTTPHeaderField:(NSString *)field;
/*!
@abstract Sets the request body data of the receiver.
@discussion This data is sent as the message body of the request, as
in done in an HTTP POST request.
*/
@property (nullable, copy) NSData *HTTPBody;
/*!
@abstract Sets the request body to be the contents of the given stream.
@discussion The provided stream should be unopened; the request will take
over the stream's delegate. The entire stream's contents will be
transmitted as the HTTP body of the request. Note that the body stream
and the body data (set by setHTTPBody:, above) are mutually exclusive
- setting one will clear the other.
*/
@property (nullable, retain) NSInputStream *HTTPBodyStream;
/*!
@abstract Decide whether default cookie handling will happen for
this request (YES if cookies should be sent with and set for this request;
otherwise NO).
@discussion The default is YES - in other words, cookies are sent from and
stored to the cookie manager by default.
NOTE: In releases prior to 10.3, this value is ignored
*/
@property BOOL HTTPShouldHandleCookies;
/*!
@abstract Sets whether the request should not wait for the previous response
before transmitting (YES if the receiver should transmit before the previous response is
received. NO to wait for the previous response before transmitting)
@discussion Calling this method with a YES value does not guarantee HTTP
pipelining behavior. This method may have no effect if an HTTP proxy is
configured, or if the HTTP request uses an unsafe request method (e.g., POST
requests will not pipeline). Pipelining behavior also may not begin until
the second request on a given TCP connection. There may be other situations
where pipelining does not occur even though YES was set.
HTTP 1.1 allows the client to send multiple requests to the server without
waiting for a response. Though HTTP 1.1 requires support for pipelining,
some servers report themselves as being HTTP 1.1 but do not support
pipelining (disconnecting, sending resources misordered, omitting part of
a resource, etc.).
*/
@property BOOL HTTPShouldUsePipelining API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h | /* NSFormatter.h
Copyright (c) 1995-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSAttributedString.h>
@class NSString;
@class NSAttributedString;
@class NSDictionary<KeyType, ObjectType>;
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, NSFormattingContext) {
// The capitalization context to be used is unknown (this is the default value).
NSFormattingContextUnknown = 0,
// The capitalization context is determined dynamically from the set {NSFormattingContextStandalone, NSFormattingContextBeginningOfSentence, NSFormattingContextMiddleOfSentence}. For example, if a date is placed at the beginning of a sentence, NSFormattingContextBeginningOfSentence is used to format the string automatically. When this context is used, the formatter will return a string proxy that works like a normal string in most cases. After returning from the formatter, the string in the string proxy is formatted by using NSFormattingContextUnknown. When the string proxy is used in stringWithFormat:, we can determine where the %@ is and then set the context accordingly. With the new context, the string in the string proxy will be formatted again and be put into the final string returned from stringWithFormat:.
NSFormattingContextDynamic = 1,
// The capitalization context if a date or date symbol is to be formatted with capitalization appropriate for stand-alone usage such as an isolated name on a calendar page.
NSFormattingContextStandalone = 2,
// The capitalization context if a date or date symbol is to be formatted with capitalization appropriate for a list or menu item.
NSFormattingContextListItem = 3,
// The capitalization context if a date or date symbol is to be formatted with capitalization appropriate for the beginning of a sentence.
NSFormattingContextBeginningOfSentence = 4,
// The capitalization context if a date or date symbol is to be formatted with capitalization appropriate for the middle of a sentence.
NSFormattingContextMiddleOfSentence = 5,
} API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
/*
* There are 3 widths: long, medium, and short.
* For example, for English, when formatting "3 pounds"
* Long is "3 pounds"; medium is "3 lb"; short is "3#";
*/
typedef NS_ENUM(NSInteger, NSFormattingUnitStyle) {
NSFormattingUnitStyleShort = 1,
NSFormattingUnitStyleMedium,
NSFormattingUnitStyleLong,
} API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@interface NSFormatter : NSObject <NSCopying, NSCoding>
- (nullable NSString *)stringForObjectValue:(nullable id)obj;
- (nullable NSAttributedString *)attributedStringForObjectValue:(id)obj withDefaultAttributes:(nullable NSDictionary<NSAttributedStringKey, id> *)attrs;
- (nullable NSString *)editingStringForObjectValue:(id)obj;
- (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString *)string errorDescription:(out NSString * _Nullable * _Nullable)error;
- (BOOL)isPartialStringValid:(NSString *)partialString newEditingString:(NSString * _Nullable * _Nullable)newString errorDescription:(NSString * _Nullable * _Nullable)error;
// Compatibility method. If a subclass overrides this and does not override the new method below, this will be called as before (the new method just calls this one by default). The selection range will always be set to the end of the text with this method if replacement occurs.
- (BOOL)isPartialStringValid:(NSString * _Nonnull * _Nonnull)partialStringPtr proposedSelectedRange:(nullable NSRangePointer)proposedSelRangePtr originalString:(NSString *)origString originalSelectedRange:(NSRange)origSelRange errorDescription:(NSString * _Nullable * _Nullable)error;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h | /*
NSSortDescriptor.h
Foundation
Copyright (c) 2002-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSSet.h>
#import <Foundation/NSOrderedSet.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSSortDescriptor : NSObject <NSSecureCoding, NSCopying> {
@private
NSUInteger _sortDescriptorFlags;
NSString *_key;
SEL _selector;
id _selectorOrBlock;
}
+ (instancetype)sortDescriptorWithKey:(nullable NSString *)key ascending:(BOOL)ascending API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
+ (instancetype)sortDescriptorWithKey:(nullable NSString *)key ascending:(BOOL)ascending selector:(nullable SEL)selector API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
// keys may be key paths
- (instancetype)initWithKey:(nullable NSString *)key ascending:(BOOL)ascending;
- (instancetype)initWithKey:(nullable NSString *)key ascending:(BOOL)ascending selector:(nullable SEL)selector;
- (nullable instancetype)initWithCoder:(NSCoder *)coder;
@property (nullable, readonly, copy) NSString *key;
@property (readonly) BOOL ascending;
@property (nullable, readonly) SEL selector;
- (void)allowEvaluation API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)); // Force a sort descriptor which was securely decoded to allow evaluation
+ (instancetype)sortDescriptorWithKey:(nullable NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
- (instancetype)initWithKey:(nullable NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
@property (readonly) NSComparator comparator API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
- (NSComparisonResult)compareObject:(id)object1 toObject:(id)object2; // primitive - override this method if you want to perform comparisons differently (not key based for example)
@property (readonly, retain) id reversedSortDescriptor; // primitive - override this method to return a sort descriptor instance with reversed sort order
@end
@interface NSSet<ObjectType> (NSSortDescriptorSorting)
- (NSArray<ObjectType> *)sortedArrayUsingDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); // returns a new array by sorting the objects of the receiver
@end
@interface NSArray<ObjectType> (NSSortDescriptorSorting)
- (NSArray<ObjectType> *)sortedArrayUsingDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors; // returns a new array by sorting the objects of the receiver
@end
@interface NSMutableArray<ObjectType> (NSSortDescriptorSorting)
- (void)sortUsingDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors; // sorts the array itself
@end
@interface NSOrderedSet<ObjectType> (NSKeyValueSorting)
// returns a new array by sorting the objects of the receiver
- (NSArray<ObjectType> *)sortedArrayUsingDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@end
@interface NSMutableOrderedSet<ObjectType> (NSKeyValueSorting)
// sorts the ordered set itself
- (void)sortUsingDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h | /* NSCalendar.h
Copyright (c) 2004-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSDate.h>
#import <Foundation/NSNotification.h>
#include <CoreFoundation/CFCalendar.h>
@class NSDateComponents, NSLocale, NSTimeZone, NSString, NSArray<ObjectType>;
NS_ASSUME_NONNULL_BEGIN
#if !defined(NS_CALENDAR_ENUM_DEPRECATED)
#if 1 || NS_ENABLE_CALENDAR_DEPRECATIONS
#define NS_CALENDAR_ENUM_DEPRECATED(A, B, C, D, ...) NS_ENUM_DEPRECATED(A, B, C, D, __VA_ARGS__)
#define NS_CALENDAR_DEPRECATED(A, B, C, D, ...) NS_DEPRECATED(A, B, C, D, __VA_ARGS__)
#define NS_CALENDAR_DEPRECATED_MAC(A, B, ...) NS_DEPRECATED_MAC(A, B, __VA_ARGS__)
#else
#define NS_CALENDAR_ENUM_DEPRECATED(A, B, C, D, ...) NS_ENUM_AVAILABLE(A, C)
#define NS_CALENDAR_DEPRECATED(A, B, C, D, ...) NS_AVAILABLE(A, C)
#define NS_CALENDAR_DEPRECATED_MAC(A, B, ...) NS_AVAILABLE_MAC(A)
#endif
#endif
typedef NSString * NSCalendarIdentifier NS_TYPED_EXTENSIBLE_ENUM;
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierGregorian API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); // the common calendar in Europe, the Western Hemisphere, and elsewhere
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierBuddhist API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierChinese API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierCoptic API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierEthiopicAmeteMihret API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierEthiopicAmeteAlem API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierHebrew API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierISO8601 API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierIndian API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierIslamic API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierIslamicCivil API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierJapanese API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierPersian API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierRepublicOfChina API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
// A simple tabular Islamic calendar using the astronomical/Thursday epoch of CE 622 July 15
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierIslamicTabular API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
// The Islamic Umm al-Qura calendar used in Saudi Arabia. This is based on astronomical calculation, instead of tabular behavior.
FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierIslamicUmmAlQura API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
typedef NS_OPTIONS(NSUInteger, NSCalendarUnit) {
NSCalendarUnitEra = kCFCalendarUnitEra,
NSCalendarUnitYear = kCFCalendarUnitYear,
NSCalendarUnitMonth = kCFCalendarUnitMonth,
NSCalendarUnitDay = kCFCalendarUnitDay,
NSCalendarUnitHour = kCFCalendarUnitHour,
NSCalendarUnitMinute = kCFCalendarUnitMinute,
NSCalendarUnitSecond = kCFCalendarUnitSecond,
NSCalendarUnitWeekday = kCFCalendarUnitWeekday,
NSCalendarUnitWeekdayOrdinal = kCFCalendarUnitWeekdayOrdinal,
NSCalendarUnitQuarter API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = kCFCalendarUnitQuarter,
NSCalendarUnitWeekOfMonth API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0)) = kCFCalendarUnitWeekOfMonth,
NSCalendarUnitWeekOfYear API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0)) = kCFCalendarUnitWeekOfYear,
NSCalendarUnitYearForWeekOfYear API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0)) = kCFCalendarUnitYearForWeekOfYear,
NSCalendarUnitNanosecond API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0)) = (1 << 15),
NSCalendarUnitCalendar API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0)) = (1 << 20),
NSCalendarUnitTimeZone API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0)) = (1 << 21),
NSEraCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitEra", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitEra,
NSYearCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitYear", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitYear,
NSMonthCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitMonth", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitMonth,
NSDayCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitDay", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitDay,
NSHourCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitHour", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitHour,
NSMinuteCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitMinute", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitMinute,
NSSecondCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitSecond", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitSecond,
NSWeekCalendarUnit API_DEPRECATED("NSCalendarUnitWeekOfMonth or NSCalendarUnitWeekOfYear, depending on which you mean", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = kCFCalendarUnitWeek,
NSWeekdayCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitWeekday", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitWeekday,
NSWeekdayOrdinalCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitWeekdayOrdinal", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitWeekdayOrdinal,
NSQuarterCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitQuarter", macos(10.6, 10.10), ios(4.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitQuarter,
NSWeekOfMonthCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitWeekOfMonth", macos(10.7, 10.10), ios(5.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitWeekOfMonth,
NSWeekOfYearCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitWeekOfYear", macos(10.7, 10.10), ios(5.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitWeekOfYear,
NSYearForWeekOfYearCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitYearForWeekOfYear", macos(10.7, 10.10), ios(5.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitYearForWeekOfYear,
NSCalendarCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitCalendar", macos(10.7, 10.10), ios(4.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitCalendar,
NSTimeZoneCalendarUnit API_DEPRECATED_WITH_REPLACEMENT("NSCalendarUnitTimeZone", macos(10.7, 10.10), ios(4.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarUnitTimeZone,
};
typedef NS_OPTIONS(NSUInteger, NSCalendarOptions) {
NSCalendarWrapComponents = (1UL << 0), // option for arithmetic operations that do calendar addition
NSCalendarMatchStrictly API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = (1ULL << 1),
NSCalendarSearchBackwards API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = (1ULL << 2),
NSCalendarMatchPreviousTimePreservingSmallerUnits API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = (1ULL << 8),
NSCalendarMatchNextTimePreservingSmallerUnits API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = (1ULL << 9),
NSCalendarMatchNextTime API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = (1ULL << 10),
NSCalendarMatchFirst API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = (1ULL << 12),
NSCalendarMatchLast API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = (1ULL << 13)
};
enum {
NSWrapCalendarComponents API_DEPRECATED_WITH_REPLACEMENT("NSCalendarWrapComponents", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSCalendarWrapComponents,
};
@interface NSCalendar : NSObject <NSCopying, NSSecureCoding>
@property (class, readonly, copy) NSCalendar *currentCalendar; // user's preferred calendar
@property (class, readonly, strong) NSCalendar *autoupdatingCurrentCalendar API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // tracks changes to user's preferred calendar identifier
/*
This method returns a new autoreleased calendar object of the given type, specified by a calendar identifier constant.
The calendar defaults to having the current locale and default time zone, for those properties.
*/
+ (nullable NSCalendar *)calendarWithIdentifier:(NSCalendarIdentifier)calendarIdentifierConstant API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
- (instancetype)init API_UNAVAILABLE(macos, ios, watchos, tvos);
- (nullable id)initWithCalendarIdentifier:(NSCalendarIdentifier)ident NS_DESIGNATED_INITIALIZER;
@property (readonly, copy) NSCalendarIdentifier calendarIdentifier;
@property (nullable, copy) NSLocale *locale;
@property (copy) NSTimeZone *timeZone;
@property NSUInteger firstWeekday;
@property NSUInteger minimumDaysInFirstWeek;
// Methods to return component name strings localized to the calendar's locale
@property (readonly, copy) NSArray<NSString *> *eraSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *longEraSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *monthSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *shortMonthSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *veryShortMonthSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *standaloneMonthSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *shortStandaloneMonthSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *veryShortStandaloneMonthSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *weekdaySymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *shortWeekdaySymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *veryShortWeekdaySymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *standaloneWeekdaySymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *shortStandaloneWeekdaySymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *veryShortStandaloneWeekdaySymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *quarterSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *shortQuarterSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *standaloneQuarterSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSArray<NSString *> *shortStandaloneQuarterSymbols API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSString *AMSymbol API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (readonly, copy) NSString *PMSymbol API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
// Calendrical calculations
- (NSRange)minimumRangeOfUnit:(NSCalendarUnit)unit;
- (NSRange)maximumRangeOfUnit:(NSCalendarUnit)unit;
- (NSRange)rangeOfUnit:(NSCalendarUnit)smaller inUnit:(NSCalendarUnit)larger forDate:(NSDate *)date;
- (NSUInteger)ordinalityOfUnit:(NSCalendarUnit)smaller inUnit:(NSCalendarUnit)larger forDate:(NSDate *)date;
- (BOOL)rangeOfUnit:(NSCalendarUnit)unit startDate:(NSDate * _Nullable * _Nullable)datep interval:(nullable NSTimeInterval *)tip forDate:(NSDate *)date API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
- (nullable NSDate *)dateFromComponents:(NSDateComponents *)comps;
- (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDate:(NSDate *)date;
- (nullable NSDate *)dateByAddingComponents:(NSDateComponents *)comps toDate:(NSDate *)date options:(NSCalendarOptions)opts;
- (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDate:(NSDate *)startingDate toDate:(NSDate *)resultDate options:(NSCalendarOptions)opts;
/*
This API is a convenience for getting era, year, month, and day of a given date.
Pass NULL for a NSInteger pointer parameter if you don't care about that value.
*/
- (void)getEra:(out nullable NSInteger *)eraValuePointer year:(out nullable NSInteger *)yearValuePointer month:(out nullable NSInteger *)monthValuePointer day:(out nullable NSInteger *)dayValuePointer fromDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API is a convenience for getting era, year for week-of-year calculations, week of year, and weekday of a given date.
Pass NULL for a NSInteger pointer parameter if you don't care about that value.
*/
- (void)getEra:(out nullable NSInteger *)eraValuePointer yearForWeekOfYear:(out nullable NSInteger *)yearValuePointer weekOfYear:(out nullable NSInteger *)weekValuePointer weekday:(out nullable NSInteger *)weekdayValuePointer fromDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API is a convenience for getting hour, minute, second, and nanoseconds of a given date.
Pass NULL for a NSInteger pointer parameter if you don't care about that value.
*/
- (void)getHour:(out nullable NSInteger *)hourValuePointer minute:(out nullable NSInteger *)minuteValuePointer second:(out nullable NSInteger *)secondValuePointer nanosecond:(out nullable NSInteger *)nanosecondValuePointer fromDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
Get just one component's value.
*/
- (NSInteger)component:(NSCalendarUnit)unit fromDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
Create a date with given components.
Current era is assumed.
*/
- (nullable NSDate *)dateWithEra:(NSInteger)eraValue year:(NSInteger)yearValue month:(NSInteger)monthValue day:(NSInteger)dayValue hour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue nanosecond:(NSInteger)nanosecondValue API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
Create a date with given components.
Current era is assumed.
*/
- (nullable NSDate *)dateWithEra:(NSInteger)eraValue yearForWeekOfYear:(NSInteger)yearValue weekOfYear:(NSInteger)weekValue weekday:(NSInteger)weekdayValue hour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue nanosecond:(NSInteger)nanosecondValue API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns the first moment date of a given date.
Pass in [NSDate date], for example, if you want the start of "today".
If there were two midnights, it returns the first. If there was none, it returns the first moment that did exist.
*/
- (NSDate *)startOfDayForDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns all the date components of a date, as if in a given time zone (instead of the receiving calendar's time zone).
The time zone overrides the time zone of the NSCalendar for the purposes of this calculation.
Note: if you want "date information in a given time zone" in order to display it, you should use NSDateFormatter to format the date.
*/
- (NSDateComponents *)componentsInTimeZone:(NSTimeZone *)timezone fromDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API compares the given dates down to the given unit, reporting them equal if they are the same in the given unit and all larger units, otherwise either less than or greater than.
*/
- (NSComparisonResult)compareDate:(NSDate *)date1 toDate:(NSDate *)date2 toUnitGranularity:(NSCalendarUnit)unit API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API compares the given dates down to the given unit, reporting them equal if they are the same in the given unit and all larger units.
*/
- (BOOL)isDate:(NSDate *)date1 equalToDate:(NSDate *)date2 toUnitGranularity:(NSCalendarUnit)unit API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API compares the Days of the given dates, reporting them equal if they are in the same Day.
*/
- (BOOL)isDate:(NSDate *)date1 inSameDayAsDate:(NSDate *)date2 API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API reports if the date is within "today".
*/
- (BOOL)isDateInToday:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API reports if the date is within "yesterday".
*/
- (BOOL)isDateInYesterday:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API reports if the date is within "tomorrow".
*/
- (BOOL)isDateInTomorrow:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API reports if the date is within a weekend period, as defined by the calendar and calendar's locale.
*/
- (BOOL)isDateInWeekend:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
Find the range of the weekend around the given date, returned via two by-reference parameters.
Returns NO if the given date is not in a weekend.
Note that a given entire Day within a calendar is not necessarily all in a weekend or not; weekends can start in the middle of a Day in some calendars and locales.
*/
- (BOOL)rangeOfWeekendStartDate:(out NSDate * _Nullable * _Nullable)datep interval:(out nullable NSTimeInterval *)tip containingDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
Returns the range of the next weekend, via two by-reference parameters, which starts strictly after the given date.
The NSCalendarSearchBackwards option can be used to find the previous weekend range strictly before the date.
Returns NO if there are no such things as weekend in the calendar and its locale.
Note that a given entire Day within a calendar is not necessarily all in a weekend or not; weekends can start in the middle of a Day in some calendars and locales.
*/
- (BOOL)nextWeekendStartDate:(out NSDate * _Nullable * _Nullable)datep interval:(out nullable NSTimeInterval *)tip options:(NSCalendarOptions)options afterDate:(NSDate *)date API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns the difference between two dates specified as date components.
For units which are not specified in each NSDateComponents, but required to specify an absolute date, the base value of the unit is assumed. For example, for an NSDateComponents with just a Year and a Month specified, a Day of 1, and an Hour, Minute, Second, and Nanosecond of 0 are assumed.
Calendrical calculations with unspecified Year or Year value prior to the start of a calendar are not advised.
For each date components object, if its time zone property is set, that time zone is used for it; if the calendar property is set, that is used rather than the receiving calendar, and if both the calendar and time zone are set, the time zone property value overrides the time zone of the calendar property.
No options are currently defined; pass 0.
*/
- (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDateComponents:(NSDateComponents *)startingDateComp toDateComponents:(NSDateComponents *)resultDateComp options:(NSCalendarOptions)options API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns a new NSDate object representing the date calculated by adding an amount of a specific component to a given date.
The NSCalendarWrapComponents option specifies if the component should be incremented and wrap around to zero/one on overflow, and should not cause higher units to be incremented.
*/
- (nullable NSDate *)dateByAddingUnit:(NSCalendarUnit)unit value:(NSInteger)value toDate:(NSDate *)date options:(NSCalendarOptions)options API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This method computes the dates which match (or most closely match) a given set of components, and calls the block once for each of them, until the enumeration is stopped.
There will be at least one intervening date which does not match all the components (or the given date itself must not match) between the given date and any result.
If the NSCalendarSearchBackwards option is used, this method finds the previous match before the given date. The intent is that the same matches as for a forwards search will be found (that is, if you are enumerating forwards or backwards for each hour with minute "27", the seconds in the date you will get in forwards search would obviously be 00, and the same will be true in a backwards search in order to implement this rule. Similarly for DST backwards jumps which repeats times, you'll get the first match by default, where "first" is defined from the point of view of searching forwards. So, when searching backwards looking for a particular hour, with no minute and second specified, you don't get a minute and second of 59:59 for the matching hour (which would be the nominal first match within a given hour, given the other rules here, when searching backwards).
If the NSCalendarMatchStrictly option is used, the algorithm travels as far forward or backward as necessary looking for a match, but there are ultimately implementation-defined limits in how far distant the search will go. If the NSCalendarMatchStrictly option is not specified, the algorithm searches up to the end of the next instance of the next higher unit to the highest specified unit in the NSDateComponents argument. If you want to find the next Feb 29 in the Gregorian calendar, for example, you have to specify the NSCalendarMatchStrictly option to guarantee finding it.
If an exact match is not possible, and requested with the NSCalendarMatchStrictly option, nil is passed to the block and the enumeration ends. (Logically, since an exact match searches indefinitely into the future, if no match is found there's no point in continuing the enumeration.)
If the NSCalendarMatchStrictly option is NOT used, exactly one option from the set {NSCalendarMatchPreviousTimePreservingSmallerUnits, NSCalendarMatchNextTimePreservingSmallerUnits, NSCalendarMatchNextTime} must be specified, or an illegal argument exception will be thrown.
If the NSCalendarMatchPreviousTimePreservingSmallerUnits option is specified, and there is no matching time before the end of the next instance of the next higher unit to the highest specified unit in the NSDateComponents argument, the method will return the previous existing value of the missing unit and preserves the lower units' values (e.g., no 2:37am results in 1:37am, if that exists).
If the NSCalendarMatchNextTimePreservingSmallerUnits option is specified, and there is no matching time before the end of the next instance of the next higher unit to the highest specified unit in the NSDateComponents argument, the method will return the next existing value of the missing unit and preserves the lower units' values (e.g., no 2:37am results in 3:37am, if that exists).
If the NSCalendarMatchNextTime option is specified, and there is no matching time before the end of the next instance of the next higher unit to the highest specified unit in the NSDateComponents argument, the method will return the next existing time which exists (e.g., no 2:37am results in 3:00am, if that exists).
If the NSCalendarMatchFirst option is specified, and there are two or more matching times (all the components are the same, including isLeapMonth) before the end of the next instance of the next higher unit to the highest specified unit in the NSDateComponents argument, the method will return the first occurrence.
If the NSCalendarMatchLast option is specified, and there are two or more matching times (all the components are the same, including isLeapMonth) before the end of the next instance of the next higher unit to the highest specified unit in the NSDateComponents argument, the method will return the last occurrence.
If neither the NSCalendarMatchFirst or NSCalendarMatchLast option is specified, the default behavior is to act as if NSCalendarMatchFirst was specified.
There is no option to return middle occurrences of more than two occurrences of a matching time, if such exist.
Result dates have an integer number of seconds (as if 0 was specified for the nanoseconds property of the NSDateComponents matching parameter), unless a value was set in the nanoseconds property, in which case the result date will have that number of nanoseconds (or as close as possible with floating point numbers).
The enumeration is stopped by setting *stop = YES in the block and return. It is not necessary to set *stop to NO to keep the enumeration going.
*/
- (void)enumerateDatesStartingAfterDate:(NSDate *)start matchingComponents:(NSDateComponents *)comps options:(NSCalendarOptions)opts usingBlock:(void (NS_NOESCAPE ^)(NSDate * _Nullable date, BOOL exactMatch, BOOL *stop))block API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This method computes the next date which matches (or most closely matches) a given set of components.
The general semantics follow those of the -enumerateDatesStartingAfterDate:... method above.
To compute a sequence of results, use the -enumerateDatesStartingAfterDate:... method above, rather than looping and calling this method with the previous loop iteration's result.
*/
- (nullable NSDate *)nextDateAfterDate:(NSDate *)date matchingComponents:(NSDateComponents *)comps options:(NSCalendarOptions)options API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns a new NSDate object representing the date found which matches a specific component value.
The general semantics follow those of the -enumerateDatesStartingAfterDate:... method above.
To compute a sequence of results, use the -enumerateDatesStartingAfterDate:... method above, rather than looping and calling this method with the previous loop iteration's result.
*/
- (nullable NSDate *)nextDateAfterDate:(NSDate *)date matchingUnit:(NSCalendarUnit)unit value:(NSInteger)value options:(NSCalendarOptions)options API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns a new NSDate object representing the date found which matches the given hour, minute, and second values.
The general semantics follow those of the -enumerateDatesStartingAfterDate:... method above.
To compute a sequence of results, use the -enumerateDatesStartingAfterDate:... method above, rather than looping and calling this method with the previous loop iteration's result.
*/
- (nullable NSDate *)nextDateAfterDate:(NSDate *)date matchingHour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue options:(NSCalendarOptions)options API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns a new NSDate object representing the date calculated by setting a specific component to a given time, and trying to keep lower components the same. If the unit already has that value, this may result in a date which is the same as the given date.
Changing a component's value often will require higher or coupled components to change as well. For example, setting the Weekday to Thursday usually will require the Day component to change its value, and possibly the Month and Year as well.
If no such time exists, the next available time is returned (which could, for example, be in a different day, week, month, ... than the nominal target date). Setting a component to something which would be inconsistent forces other units to change; for example, setting the Weekday to Thursday probably shifts the Day and possibly Month and Year.
The specific behaviors here are as yet unspecified; for example, if I change the weekday to Thursday, does that move forward to the next, backward to the previous, or to the nearest Thursday? A likely rule is that the algorithm will try to produce a result which is in the next-larger unit to the one given (there's a table of this mapping at the top of this document). So for the "set to Thursday" example, find the Thursday in the Week in which the given date resides (which could be a forwards or backwards move, and not necessarily the nearest Thursday). For forwards or backwards behavior, one can use the -nextDateAfterDate:matchingUnit:value:options: method above.
*/
- (nullable NSDate *)dateBySettingUnit:(NSCalendarUnit)unit value:(NSInteger)v ofDate:(NSDate *)date options:(NSCalendarOptions)opts API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns a new NSDate object representing the date calculated by setting hour, minute, and second to a given time.
If no such time exists, the next available time is returned (which could, for example, be in a different day than the nominal target date).
The intent is to return a date on the same day as the original date argument. This may result in a date which is earlier than the given date, of course.
*/
- (nullable NSDate *)dateBySettingHour:(NSInteger)h minute:(NSInteger)m second:(NSInteger)s ofDate:(NSDate *)date options:(NSCalendarOptions)opts API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API returns YES if the date has all the matched components. Otherwise, it returns NO.
It is useful to test the return value of the -nextDateAfterDate:matchingUnit:value:options:, to find out if the components were obeyed or if the method had to fudge the result value due to missing time.
*/
- (BOOL)date:(NSDate *)date matchesComponents:(NSDateComponents *)components API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
@end
// This notification is posted through [NSNotificationCenter defaultCenter]
// when the system day changes. Register with "nil" as the object of this
// notification. If the computer/device is asleep when the day changed,
// this will be posted on wakeup. You'll get just one of these if the
// machine has been asleep for several days. The definition of "Day" is
// relative to the current calendar (NSCalendar.currentCalendar) of the
// process and its locale and time zone. There are no guarantees that this
// notification is received by observers in a "timely" manner, same as
// with distributed notifications.
FOUNDATION_EXPORT NSNotificationName const NSCalendarDayChangedNotification API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
// This is a just used as an extensible struct, basically;
// note that there are two uses: one for specifying a date
// via components (some components may be missing, making the
// specific date ambiguous), and the other for specifying a
// set of component quantities (like, 3 months and 5 hours).
// Undefined fields have (or fields can be set to) the value
// NSDateComponentUndefined.
// NSDateComponents is not responsible for answering questions
// about a date beyond the information it has been initialized
// with; for example, if you initialize one with May 6, 2004,
// and then ask for the weekday, you'll get Undefined, not Thurs.
// A NSDateComponents is meaningless in itself, because you need
// to know what calendar it is interpreted against, and you need
// to know whether the values are absolute values of the units,
// or quantities of the units.
// When you create a new one of these, all values begin Undefined.
NS_ENUM(NSInteger) {
NSDateComponentUndefined = NSIntegerMax,
NSUndefinedDateComponent API_DEPRECATED_WITH_REPLACEMENT("NSDateComponentUndefined", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = NSDateComponentUndefined
};
@interface NSDateComponents : NSObject <NSCopying, NSSecureCoding>
@property (nullable, copy) NSCalendar *calendar API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
@property (nullable, copy) NSTimeZone *timeZone API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
@property NSInteger era;
@property NSInteger year;
@property NSInteger month;
@property NSInteger day;
@property NSInteger hour;
@property NSInteger minute;
@property NSInteger second;
@property NSInteger nanosecond API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property NSInteger weekday;
@property NSInteger weekdayOrdinal;
@property NSInteger quarter API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
@property NSInteger weekOfMonth API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property NSInteger weekOfYear API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property NSInteger yearForWeekOfYear API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
@property (getter=isLeapMonth) BOOL leapMonth API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
@property (nullable, readonly, copy) NSDate *date API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
- (NSInteger)week API_DEPRECATED("Use -weekOfMonth or -weekOfYear, depending on which you mean", macos(10.4, 10.9), ios(2.0, 7.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
- (void)setWeek:(NSInteger)v API_DEPRECATED("Use -setWeekOfMonth: or -setWeekOfYear:, depending on which you mean", macos(10.4, 10.9), ios(2.0, 7.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
/*
This API allows one to set a specific component of NSDateComponents, by enum constant value rather than property name.
The calendar and timeZone and isLeapMonth properties cannot be set by this method.
*/
- (void)setValue:(NSInteger)value forComponent:(NSCalendarUnit)unit API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
This API allows one to get the value of a specific component of NSDateComponents, by enum constant value rather than property name.
The calendar and timeZone and isLeapMonth property values cannot be gotten by this method.
*/
- (NSInteger)valueForComponent:(NSCalendarUnit)unit API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
Reports whether or not the combination of properties which have been set in the receiver is a date which exists in the calendar.
This method is not appropriate for use on NSDateComponents objects which are specifying relative quantities of calendar components.
Except for some trivial cases (e.g., 'seconds' should be 0 - 59 in any calendar), this method is not necessarily cheap.
If the time zone property is set in the NSDateComponents object, it is used.
The calendar property must be set, or NO is returned.
*/
@property (getter=isValidDate, readonly) BOOL validDate API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
/*
Reports whether or not the combination of properties which have been set in the receiver is a date which exists in the calendar.
This method is not appropriate for use on NSDateComponents objects which are specifying relative quantities of calendar components.
Except for some trivial cases (e.g., 'seconds' should be 0 - 59 in any calendar), this method is not necessarily cheap.
If the time zone property is set in the NSDateComponents object, it is used.
*/
- (BOOL)isValidDateInCalendar:(NSCalendar *)calendar API_AVAILABLE(macos(10.9), ios(8.0), watchos(2.0), tvos(9.0));
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h | /*
NSFileWrapper.h
Copyright (c) 1995-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
@class NSData, NSDictionary<KeyType, ObjectType>, NSError, NSString, NSURL;
NS_ASSUME_NONNULL_BEGIN
typedef NS_OPTIONS(NSUInteger, NSFileWrapperReadingOptions) {
/* Whether the contents are read immediately, applied recursively in the case of directory file wrappers. If reading with this option succeeds then subsequent invocations of -fileWrappers, -regularFileContents, -symbolicLinkDestinationURL:, -serializedRepresentation, and, on Mac OS X, -[NSFileWrapper(NSExtensions) icon] sent to the receiver and all its descendant file wrappers won't fail. For performance NSFileWrapper may or may not immediately read the contents of some file packages immediately even when this option is chosen. For example, the contents of bundles (not all file packages are bundles) are immutable to the user so on Mac OS X NSFileWrapper may read the children of such a directory lazily. You can use this option to take a reasonable snapshot of a file or folder for writing later. For example, a Mac OS X application like TextEdit can use this option when creating new file wrappers to represent attachments that the user creates by copying and pasting or dragging and dropping from the Finder to a TextEdit document. You wouldn't use this option when reading a document file package because that would cause unnecessarily bad perfomance. For example, an application wouldn't use this option when creating file wrappers to represent attachments as it's opening a document stored in a file package.
*/
NSFileWrapperReadingImmediate = 1 << 0,
/* Whether file mapping for regular file wrappers is disallowed. In Mac OS 10.6 and newer NSFileWrapper only ever memory maps files on internal drives, regardless of whether this option is used. It never memory maps files on external drives or network volumes. You can use this option to keep NSFileWrapper from memory mapping files at all, even ones on internal drives. This is useful if you want to make sure your application doesn't hold files open (mapped files are open files) and therefore prevent the user from ejecting DVDs, unmounting disk partitions, or unmounting disk images.
*/
NSFileWrapperReadingWithoutMapping = 1 << 1
} API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
typedef NS_OPTIONS(NSUInteger, NSFileWrapperWritingOptions) {
/* Whether writing is done atomically. You can use this option to ensure that when overwriting a file package the overwriting either completely succeeds or completely fails, with no possibility of leaving the file package in an inconsistent state. Because this option causes additional I/O you shouldn't use it unnecessarily. For example, on Mac OS X you wouldn't use this option in an override of -[NSDocument writeToURL:ofType:error:] because NSDocument's implementation of safe saving already does atomic writing.
*/
NSFileWrapperWritingAtomic = 1 << 0,
/* Whether descendant file wrappers are sent -setFilename: if the writing succeeds. This is necessary when your application passes original contents URLs to -writeToURL:options:originalContentsURL:error:. Without using this and reusing child file wrappers properly subsequent invocations of -writeToURL:options:originalContentsURL:error: wouldn't be able to reliably create hard links in a new file package for performance because the record of names in the old file package would be out of date.
*/
NSFileWrapperWritingWithNameUpdating = 1 << 1
} API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
API_AVAILABLE(macos(10.0), ios(4.0), watchos(2.0), tvos(9.0))
@interface NSFileWrapper : NSObject<NSSecureCoding> {
@private
NSDictionary *_fileAttributes;
NSString *_preferredFileName;
NSString *_fileName;
id _contents;
id _icon;
id _moreVars;
}
#pragma mark *** Initialization ***
/* A designated initializer for creating an instance whose kind (directory, regular file, or symbolic link) is determined based on what the URL locates. If reading is not successful return nil after setting *outError to an NSError that encapsulates the reason why the file wrapper could not be read.
*/
- (nullable instancetype)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError NS_DESIGNATED_INITIALIZER API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
/* A designated initializer for creating an instance for which -isDirectory returns YES. The passed-in dictionary must contain entries whose values are the file wrappers that are to become children and whose keys are file names. Each file wrapper that does not already have a preferred file name is sent -setPreferredFilename: with the corresponding key as the argument.
*/
- (instancetype)initDirectoryWithFileWrappers:(NSDictionary<NSString *, NSFileWrapper *> *)childrenByPreferredName NS_DESIGNATED_INITIALIZER;
/* A designated initializer for creating an instance for which -isRegularFile returns YES.
*/
- (instancetype)initRegularFileWithContents:(NSData *)contents NS_DESIGNATED_INITIALIZER;
/* A designated initializer for creating an instance for which -isSymbolicLink returns YES. -writeToURL:options:originalContentsURL:error: uses the result of sending -relativePath to this URL when creating a symbolic link. (An NSURL initialized by -initFileURLWithPath: returns that entire path when sent -relativePath though.)
*/
- (instancetype)initSymbolicLinkWithDestinationURL:(NSURL *)url NS_DESIGNATED_INITIALIZER API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
/* A designated initializer. The data must be in the same format as that returned by -serializedRepresentation.
*/
- (nullable instancetype)initWithSerializedRepresentation:(NSData *)serializeRepresentation NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder *)inCoder NS_DESIGNATED_INITIALIZER;
#pragma mark *** Properties Applicable to Every Kind of File Wrapper ***
/* What kind of file wrapper it is. Invocations of -readFromURL:options:error: may change what subsequent invocations of these methods return.
*/
@property (readonly, getter=isDirectory) BOOL directory;
@property (readonly, getter=isRegularFile) BOOL regularFile;
@property (readonly, getter=isSymbolicLink) BOOL symbolicLink;
/* The file name that is "preferred." When the receiver is added to a parent directory file wrapper the parent will attempt to use this name as the key into its dictionary of children. Usually the preferred file name will actually get used in this situation but it won't be if that key is already in use. The default implementation of this method causes existing parents to remove and re-add the child to accommodate the change. Preferred file names of children are not effectively preserved when you write a file wrapper to disk and then later instantiate another file wrapper by reading. If your application needs to preserve the user-visible names of attachments it has to make its own arrangements for their storage.
Some instances of NSFileWrapper may be created without a preferredFilename (e.g. -initDirectoryWithFileWrappers: or -initRegularFileWithContents:), meaning preferredFilename may be nil. However, setting nil is never allowed and will result in an exception.
*/
@property (nullable, copy) NSString *preferredFilename;
/* The actual file name. Often it will be the same as the preferred file name but might instead be a name derived from the preferred file name. You can use this method to find out the name of a child that's just been read but you should not use it to find out the name of a child that's about to be written, because the name might be about to change. Send -keyForFileWrapper: to the parent instead.
*/
@property (nullable, copy) NSString *filename;
/* The file attributes, in a dictionary of the same sort as those returned by -[NSFileManager attributesOfItemAtPath:error:].
*/
@property (copy) NSDictionary<NSString *, id> *fileAttributes;
/* On Mac OS X methods for setting and getting the icon are in AppKit's NSFileWrapper(NSExtensions), declared in <AppKit/NSFileWrapperExtensions.h>.
*/
#pragma mark *** Reading ***
/* Whether the receiver matches the directory, regular file, or symbolic link that is located by the URL. For a directory, children are compared against the files in the directory, recursively. The contents of files are not compared; matching of regular files is based on file modification dates. Because children of directory file wrappers are not read immediately by -initWithURL:options:error: or -readFromURL:options:error: unless NSFileWrapperReadingImmediate is used, creating a file wrapper and then later sending it this message is not a reliable way to simply check whether anything in a directory has changed. You can use this method to determine whether the receiver's contents in memory are out of date relative to the file system.
*/
- (BOOL)matchesContentsOfURL:(NSURL *)url API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
/* Recursively reread the entire contents of the receiver from the specified location, and return YES if successful. If not successful, return NO after setting *outError to an NSError that encapsulates the reason why the file wrapper could not be reread. When reading a directory children are added and removed as necessary to match the file system.
*/
- (BOOL)readFromURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
#pragma mark *** Writing ***
/* Recursively write the entire contents of the receiver at the specified location, and return YES if successful. If not successful, return NO after setting *outError to an NSError that encapsulates the reason why the file wrapper could not be written. originalContentsURL may be nil or it may be the location of a previous revision of what is being written. If it is not nil the default implementation of this method attempts to avoid unnecessary I/O by merely writing hard links to regular files instead of actually writing out their contents. The descendant file wrappers must return accurate values when sent -filename for this to work (use NSFileWrapperWritingWithNameUpdating to increase the likelihood of that).
*/
- (BOOL)writeToURL:(NSURL *)url options:(NSFileWrapperWritingOptions)options originalContentsURL:(nullable NSURL *)originalContentsURL error:(NSError **)outError API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
#pragma mark *** Serialization ***
/* Return an NSData suitable for passing to -initWithSerializedRepresentation:. This method may return nil if the receiver is the result of reading from the file system (use NSFileWrapperReadingImmediately if appropriate to prevent that).
*/
@property (nullable, readonly, copy) NSData *serializedRepresentation;
#pragma mark *** Directories ***
/* Each of these methods throw an exception when [receiver isDirectory]==NO. */
/* Add a file wrapper to the receiver's children and return the file name that uniquely identifies it among the receiver's children. The unique file name will be the same as the passed-in file wrapper's preferred file name unless that name is already in use as a key into the receiver's dictionary of children. Beware of the fact that -initDirectoryWithFileWrappers:, -initRegularFileWithContents:, and -initSymbolicLinkWithDestinationURL: do not automatically set the preferred file name.
*/
- (NSString *)addFileWrapper:(NSFileWrapper *)child;
/* A convenience method. The default implementation merely allocates a new file wrapper, initializes it with -initRegularFileWithContents:, sends it -setPreferredFileName:fileName, adds it to the receiver with -addFileWrapper:, and returns what -addFileWrapper: returned.
*/
- (NSString *)addRegularFileWithContents:(NSData *)data preferredFilename:(NSString *)fileName;
/* Remove a file wrapper from the receiver's children.
*/
- (void)removeFileWrapper:(NSFileWrapper *)child;
/* Return a dictionary whose values are the receiver's children and whose keys are the unique file name that has been assigned to each one. This method may return nil if the receiver is the result of reading a parent from the file system (use NSFileWrapperReadingImmediately if appropriate to prevent that).
*/
@property (nullable, readonly, copy) NSDictionary<NSString *, NSFileWrapper *> *fileWrappers;
/* Return the unique file name that has been assigned to a child or nil if it is not a child of the receiver.
*/
- (nullable NSString *)keyForFileWrapper:(NSFileWrapper *)child;
#pragma mark *** Regular Files ***
/* This method throws an exception when [receiver isRegularFile]==NO. */
/* Return the receiver's contents. This may return nil if the receiver is the result of reading a parent from the file system (use NSFileWrapperReadingImmediately if appropriate to prevent that).
*/
@property (nullable, readonly, copy) NSData *regularFileContents;
#pragma mark *** Symbolic Links ***
/* This method throws an exception when [receiver isSymbolicLink]==NO. */
/* Return the destination link of the receiver. This may return nil if the receiver is the result of reading a parent from the file system (use NSFileWrapperReadingImmediately if appropriate to prevent that).
*/
@property (nullable, readonly, copy) NSURL *symbolicLinkDestinationURL API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
@end
#if TARGET_OS_OSX
@interface NSFileWrapper(NSDeprecated)
#pragma mark *** Backward Compatibility ***
/* Methods that were deprecated in OS X 10.6 and never available on iOS. */
- (nullable id)initWithPath:(NSString *)path API_DEPRECATED("Use -initWithURL:options:error: instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
- (id)initSymbolicLinkWithDestination:(NSString *)path API_DEPRECATED("Use -initSymbolicLinkWithDestinationURL: and -setPreferredFileName:, if necessary, instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
- (BOOL)needsToBeUpdatedFromPath:(NSString *)path API_DEPRECATED("Use -matchesContentsOfURL: instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
- (BOOL)updateFromPath:(NSString *)path API_DEPRECATED("Use -readFromURL:options:error: instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
- (BOOL)writeToFile:(NSString *)path atomically:(BOOL)atomicFlag updateFilenames:(BOOL)updateFilenamesFlag API_DEPRECATED("Use -writeToURL:options:originalContentsURL:error: instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
- (NSString *)addFileWithPath:(NSString *)path API_DEPRECATED("Instantiate a new NSFileWrapper with -initWithURL:options:error:, send it -setPreferredFileName: if necessary, then use -addFileWrapper: instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
- (NSString *)addSymbolicLinkWithDestination:(NSString *)path preferredFilename:(NSString *)filename API_DEPRECATED("Instantiate a new NSFileWrapper with -initWithSymbolicLinkDestinationURL:, send it -setPreferredFileName: if necessary, then use -addFileWrapper: instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
- (NSString *)symbolicLinkDestination API_DEPRECATED("Use -symbolicLinkDestinationURL instead.", macos(10.0,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
@end
#endif
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSBackgroundActivityScheduler.h | /* NSBackgroundActivityScheduler.h
Copyright (c) 2013-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSObjCRuntime.h>
#import <Foundation/NSDate.h>
NS_ASSUME_NONNULL_BEGIN
/* These values are arguments to the completion handler block for the scheduler. */
typedef NS_ENUM(NSInteger, NSBackgroundActivityResult) {
// Indicate that the work for this activity has finished and the next invocation can be scheduled.
NSBackgroundActivityResultFinished = 1,
// Indicate that the system should defer the remainder of this work for now and reschedule the completion soon. This should be used in response to checking the value of -shouldDefer.
NSBackgroundActivityResultDeferred = 2,
} API_AVAILABLE(macos(10.10)) API_UNAVAILABLE(ios, watchos, tvos);
typedef void (^NSBackgroundActivityCompletionHandler)(NSBackgroundActivityResult result) API_AVAILABLE(macos(10.10)) API_UNAVAILABLE(ios, watchos, tvos);
/*
This class provides a Cocoa-level interface to the XPC Activity API (see xpc/activity.h).
It is used to schedule maintenance or background kinds of tasks. These activities are run by the OS at a time that best accommodates system-wide factors like energy, thermal conditions, and CPU usage. If you have activities that run at an interval measured in 10s of minutes or more, then use this class to schedule those activities.
*/
API_AVAILABLE(macos(10.10)) API_UNAVAILABLE(ios, watchos, tvos)
@interface NSBackgroundActivityScheduler : NSObject {
@private
id _private1;
id _private2;
id _private3;
int64_t _flags;
}
/* Initialize a new instance of the class. The identifier argument should be a string that remains constant across launches of your application. The system uses the value to keep track of the number of times this activity has run and improve the heuristics for deciding when to run the activity in the future.
The string should be a reverse DNS style string, such as "com.mycompany.myapplication.myactivity". nil and zero-length strings are not allowed.
*/
- (instancetype)initWithIdentifier:(NSString *)identifier NS_DESIGNATED_INITIALIZER;
/* The identifier this object was initialized with.
*/
@property (readonly, copy) NSString *identifier;
/* Default value is NSQualityOfServiceBackground. If you upgrade the quality of service above this level, the system will more aggressively schedule this activity. The default value is the recommended value for most activities.
*/
@property NSQualityOfService qualityOfService;
/* The default value is NO.
If set to YES, then the activity will be rescheduled after finishing at the specified interval.
*/
@property BOOL repeats;
/* If this activity is repeating, then this property describes the average interval of seconds between invocations of this activity.
If the activity is not repeating, then this property is the suggested interval of time between scheduling the activity and the invocation of the activity.
*/
@property NSTimeInterval interval;
/* Specifies the number of seconds before or after the nominal fire date when the activity should be invoked. The nominal fire date is calculated by using the interval combined with the previous fire date or the time when the activity is started. These two properties create a window in time during which the activity may be scheduled.
The system will more aggresively schedule the activity as it nears the end of the grace period after the nominal fire date.
The default value is 1/2 the interval.
*/
@property NSTimeInterval tolerance;
/* Begin scheduling the activity. All properties should be setup by this point.
The block will be called on a serial background queue appropriate for the level of quality of service specified. The system will automatically use NSProcessInfo's -beginActivityWithOptions:reason: API while invoking the block, choosing options appropriate for the desired quality of service.
When you are done with the work, be sure to invoke the completionHandler block given to you as an argument to your block. You can pass in a kind of NSBackgroundActivityResult to indicate if the work has been finished or if you are deferring the rest of the work (see -shouldDefer). If you fail to invoke the completionHandler then your activity will never be rescheduled.
When invoking the completionHandler, the system will set the schedule the next invocation. If you want to adjust the properties of your scheduler (e.g., the interval or tolerance), do this before invoking the completion block.
*/
- (void)scheduleWithBlock:(void (^)(NSBackgroundActivityCompletionHandler completionHandler))block NS_SWIFT_DISABLE_ASYNC;
/* Stop scheduling the activity. Any currently executing block will still complete.
*/
- (void)invalidate;
/* You can call this method occasionally during execution of your activity to determine if system conditions have changed such that it is no longer a good time to run this activity.
If the result of this method is YES, then you should wrap up current state. Once you are done saving your state, invoke the completionHandler block (the argument to your scheduled block) with the NSBackgroundActivityResultDeferred constant. The system will invoke your activity block again at a later, more appropriate time. At that point you can read your state and continue the work.
*/
@property (readonly) BOOL shouldDefer;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSHost.h | /* NSHost.h
Copyright (c) 1994-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
@class NSString, NSArray<ObjectType>, NSMutableArray;
/**
* DEPRECATION NOTICE
*
* If you’re using `NSHost` to resolve DNS names so that you can connect to a
* service, switch to a connect-by-name API, for example, `nw_connection`.
*
* If you have other DNS resolution needs, switch to <dns_sd.h>.
*/
NS_ASSUME_NONNULL_BEGIN
API_DEPRECATED("Use Network framework instead, see deprecation notice in <Foundation/NSHost.h>", macos(10.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(ios, watchos, tvos)
@interface NSHost : NSObject {
@private
NSArray *names;
NSArray *addresses;
id reserved;
}
+ (instancetype)currentHost;
+ (instancetype)hostWithName:(nullable NSString *)name;
+ (instancetype)hostWithAddress:(NSString *)address;
- (BOOL)isEqualToHost:(NSHost *)aHost;
@property (nullable, readonly, copy) NSString *name; // arbitrary choice
@property (readonly, copy) NSArray<NSString *> *names; // unordered list
@property (nullable, readonly, copy) NSString *address; // arbitrary choice
@property (readonly, copy) NSArray<NSString *> *addresses; // unordered list of IPv6 and IPv4 addresses
@property (nullable, readonly, copy) NSString *localizedName API_AVAILABLE(macos(10.6)) API_UNAVAILABLE(ios, watchos, tvos);
// NSHost does not implement any caching any longer
+ (void)setHostCacheEnabled:(BOOL)flag API_DEPRECATED("Caching no longer supported", macos(10.0,10.7)) API_UNAVAILABLE(ios, watchos, tvos);
+ (BOOL)isHostCacheEnabled API_DEPRECATED("Caching no longer supported", macos(10.0,10.7)) API_UNAVAILABLE(ios, watchos, tvos);
+ (void)flushHostCache API_DEPRECATED("Caching no longer supported", macos(10.0,10.7)) API_UNAVAILABLE(ios, watchos, tvos);
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSPortNameServer.h | /* NSPortNameServer.h
Copyright (c) 1993-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
@class NSString, NSPort;
NS_ASSUME_NONNULL_BEGIN
API_DEPRECATED("Use NSXPCConnection instead", macosx(10.0, 10.13), ios(2.0,11.0), watchos(2.0,4.0), tvos(9.0,11.0))
NS_SWIFT_UNAVAILABLE("Use NSXPCConnection instead")
@interface NSPortNameServer : NSObject
+ (NSPortNameServer *)systemDefaultPortNameServer;
- (nullable NSPort *)portForName:(NSString *)name;
- (nullable NSPort *)portForName:(NSString *)name host:(nullable NSString *)host;
- (BOOL)registerPort:(NSPort *)port name:(NSString *)name;
- (BOOL)removePortForName:(NSString *)name;
@end
#if TARGET_OS_OSX || TARGET_OS_IPHONE
API_DEPRECATED("Use NSXPCConnection instead", macosx(10.0, 10.13), ios(2.0,11.0), watchos(2.0,4.0), tvos(9.0,11.0))
NS_SWIFT_UNAVAILABLE("Use NSXPCConnection instead")
@interface NSMachBootstrapServer : NSPortNameServer
// This port name server actually takes and
// returns instances of NSMachPort
+ (id)sharedInstance;
- (nullable NSPort *)portForName:(NSString *)name;
- (nullable NSPort *)portForName:(NSString *)name host:(nullable NSString *)host;
// the bootstrap server is a local-only server;
// host parameter must be emptry string or nil
- (BOOL)registerPort:(NSPort *)port name:(NSString *)name;
// removePortForName: functionality is not supported in
// the bootstrap server; if you want to cancel a service,
// you have to destroy the port (invalidate the NSMachPort
// given to registerPort:name:).
- (nullable NSPort *)servicePortWithName:(NSString *)name API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
@end
#endif
API_DEPRECATED("Use NSXPCConnection instead", macosx(10.0, 10.13), ios(2.0,11.0), watchos(2.0,4.0), tvos(9.0,11.0))
NS_SWIFT_UNAVAILABLE("Use NSXPCConnection instead")
@interface NSMessagePortNameServer : NSPortNameServer
// This port name server actually takes and
// returns instances of NSMessagePort
+ (id)sharedInstance;
- (nullable NSPort *)portForName:(NSString *)name;
- (nullable NSPort *)portForName:(NSString *)name host:(nullable NSString *)host;
// this name server is a local-only server;
// host parameter must be emptry string or nil
// removePortForName: functionality is not supported in
// this name server; if you want to cancel a service,
// you have to destroy the port (invalidate the
// NSMessagePort given to registerPort:name:).
@end
#if TARGET_OS_OSX
API_DEPRECATED("Use NSXPCConnection instead", macosx(10.0, 10.13), ios(2.0,11.0), watchos(2.0,4.0), tvos(9.0,11.0))
NS_SWIFT_UNAVAILABLE("Use NSXPCConnection instead")
@interface NSSocketPortNameServer : NSPortNameServer
// This port name server actually takes and
// returns instances of NSSocketPort
+ (id)sharedInstance;
- (nullable NSPort *)portForName:(NSString *)name;
- (nullable NSPort *)portForName:(NSString *)name host:(nullable NSString *)host;
// this name server supports remote lookup
- (BOOL)registerPort:(NSPort *)port name:(NSString *)name;
- (BOOL)removePortForName:(NSString *)name;
// removePortForName: is supported, and should be used
// the following may be used in the future, but for now nameServerPortNumber arguments are ignored
- (nullable NSPort *)portForName:(NSString *)name host:(nullable NSString *)host nameServerPortNumber:(uint16_t)portNumber;
- (BOOL)registerPort:(NSPort *)port name:(NSString *)name nameServerPortNumber:(uint16_t)portNumber;
@property uint16_t defaultNameServerPortNumber;
@end
#endif
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h | /* NSDateIntervalFormatter.h
Copyright (c) 2013-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSFormatter.h>
#import <Foundation/NSDateInterval.h>
#include <dispatch/dispatch.h>
@class NSLocale, NSCalendar, NSTimeZone, NSDate;
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, NSDateIntervalFormatterStyle) {
NSDateIntervalFormatterNoStyle = 0,
NSDateIntervalFormatterShortStyle = 1,
NSDateIntervalFormatterMediumStyle = 2,
NSDateIntervalFormatterLongStyle = 3,
NSDateIntervalFormatterFullStyle = 4
} API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
// NSDateIntervalFormatter is used to format the range between two NSDates in a locale-sensitive way.
// NSDateIntervalFormatter returns nil and NO for all methods in NSFormatter.
API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
@interface NSDateIntervalFormatter : NSFormatter
{
@private
NSLocale *_locale;
NSCalendar *_calendar;
NSTimeZone *_timeZone;
NSString *_dateTemplate;
NSString *_dateTemplateFromStyles;
void *_formatter;
NSDateIntervalFormatterStyle _dateStyle;
NSDateIntervalFormatterStyle _timeStyle;
BOOL _modified;
BOOL _useTemplate;
dispatch_semaphore_t _lock;
void *_reserved[4];
}
@property (null_resettable, copy) NSLocale *locale; // default is [NSLocale currentLocale]
@property (null_resettable, copy) NSCalendar *calendar; // default is the calendar of the locale
@property (null_resettable, copy) NSTimeZone *timeZone; // default is [NSTimeZone defaultTimeZone]
@property (null_resettable, copy) NSString *dateTemplate; // default is an empty string
@property NSDateIntervalFormatterStyle dateStyle; // default is NSDateIntervalFormatterNoStyle
@property NSDateIntervalFormatterStyle timeStyle; // default is NSDateIntervalFormatterNoStyle
/*
If the range smaller than the resolution specified by the dateTemplate, a single date format will be produced. If the range is larger than the format specified by the dateTemplate, a locale-specific fallback will be used to format the items missing from the pattern.
For example, if the range is 2010-03-04 07:56 - 2010-03-04 19:56 (12 hours)
- The pattern jm will produce
for en_US, "7:56 AM - 7:56 PM"
for en_GB, "7:56 - 19:56"
- The pattern MMMd will produce
for en_US, "Mar 4"
for en_GB, "4 Mar"
If the range is 2010-03-04 07:56 - 2010-03-08 16:11 (4 days, 8 hours, 15 minutes)
- The pattern jm will produce
for en_US, "3/4/2010 7:56 AM - 3/8/2010 4:11 PM"
for en_GB, "4/3/2010 7:56 - 8/3/2010 16:11"
- The pattern MMMd will produce
for en_US, "Mar 4-8"
for en_GB, "4-8 Mar"
*/
- (NSString *)stringFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
- (nullable NSString *)stringFromDateInterval:(NSDateInterval *)dateInterval API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h | /* NSGeometry.h
Copyright (c) 1994-2019, Apple Inc. All rights reserved.
*/
#import <AvailabilityMacros.h>
#import <Foundation/NSValue.h>
#import <Foundation/NSCoder.h>
#import <CoreGraphics/CGBase.h>
#import <CoreGraphics/CGGeometry.h>
NS_ASSUME_NONNULL_BEGIN
#if __LP64__ || TARGET_OS_IPHONE || NS_BUILD_32_LIKE_64
typedef CGPoint NSPoint;
typedef NSPoint *NSPointPointer;
typedef NSPoint *NSPointArray;
typedef CGSize NSSize;
typedef NSSize *NSSizePointer;
typedef NSSize *NSSizeArray;
typedef CGRect NSRect;
typedef NSRect *NSRectPointer;
typedef NSRect *NSRectArray;
typedef NS_ENUM(NSUInteger, NSRectEdge) {
NSRectEdgeMinX = CGRectMinXEdge,
NSRectEdgeMinY = CGRectMinYEdge,
NSRectEdgeMaxX = CGRectMaxXEdge,
NSRectEdgeMaxY = CGRectMaxYEdge,
NSMinXEdge NS_SWIFT_UNAVAILABLE("Use NSRectEdge.MinX instead") = NSRectEdgeMinX,
NSMinYEdge NS_SWIFT_UNAVAILABLE("Use NSRectEdge.MinY instead") = NSRectEdgeMinY,
NSMaxXEdge NS_SWIFT_UNAVAILABLE("Use NSRectEdge.MaxX instead") = NSRectEdgeMaxX,
NSMaxYEdge NS_SWIFT_UNAVAILABLE("Use NSRectEdge.MaxY instead") = NSRectEdgeMaxY,
};
#define NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES 1
#else
typedef struct _NSPoint {
CGFloat x;
CGFloat y;
} NSPoint;
typedef NSPoint *NSPointPointer;
typedef NSPoint *NSPointArray;
typedef struct _NSSize {
CGFloat width; /* should never be negative */
CGFloat height; /* should never be negative */
} NSSize;
typedef NSSize *NSSizePointer;
typedef NSSize *NSSizeArray;
typedef struct _NSRect {
NSPoint origin;
NSSize size;
} NSRect;
typedef NSRect *NSRectPointer;
typedef NSRect *NSRectArray;
typedef enum {
NSRectEdgeMinX = 0,
NSRectEdgeMinY = 1,
NSRectEdgeMaxX = 2,
NSRectEdgeMaxY = 3,
NSMinXEdge = NSRectEdgeMinX,
NSMinYEdge = NSRectEdgeMinY,
NSMaxXEdge = NSRectEdgeMaxX,
NSMaxYEdge = NSRectEdgeMaxY,
} NSRectEdge;
#endif
#define NSEDGEINSETS_DEFINED 1
typedef struct NSEdgeInsets {
CGFloat top;
CGFloat left;
CGFloat bottom;
CGFloat right;
} NSEdgeInsets;
typedef NS_OPTIONS(unsigned long long, NSAlignmentOptions) {
NSAlignMinXInward = 1ULL << 0,
NSAlignMinYInward = 1ULL << 1,
NSAlignMaxXInward = 1ULL << 2,
NSAlignMaxYInward = 1ULL << 3,
NSAlignWidthInward = 1ULL << 4,
NSAlignHeightInward = 1ULL << 5,
NSAlignMinXOutward = 1ULL << 8,
NSAlignMinYOutward = 1ULL << 9,
NSAlignMaxXOutward = 1ULL << 10,
NSAlignMaxYOutward = 1ULL << 11,
NSAlignWidthOutward = 1ULL << 12,
NSAlignHeightOutward = 1ULL << 13,
NSAlignMinXNearest = 1ULL << 16,
NSAlignMinYNearest = 1ULL << 17,
NSAlignMaxXNearest = 1ULL << 18,
NSAlignMaxYNearest = 1ULL << 19,
NSAlignWidthNearest = 1ULL << 20,
NSAlignHeightNearest = 1ULL << 21,
NSAlignRectFlipped = 1ULL << 63, // pass this if the rect is in a flipped coordinate system. This allows 0.5 to be treated in a visually consistent way.
// convenience combinations
NSAlignAllEdgesInward = NSAlignMinXInward|NSAlignMaxXInward|NSAlignMinYInward|NSAlignMaxYInward,
NSAlignAllEdgesOutward = NSAlignMinXOutward|NSAlignMaxXOutward|NSAlignMinYOutward|NSAlignMaxYOutward,
NSAlignAllEdgesNearest = NSAlignMinXNearest|NSAlignMaxXNearest|NSAlignMinYNearest|NSAlignMaxYNearest,
};
@class NSString;
FOUNDATION_EXPORT const NSPoint NSZeroPoint;
FOUNDATION_EXPORT const NSSize NSZeroSize;
FOUNDATION_EXPORT const NSRect NSZeroRect;
FOUNDATION_EXPORT const NSEdgeInsets NSEdgeInsetsZero API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
NS_INLINE NSPoint NSMakePoint(CGFloat x, CGFloat y) {
NSPoint p;
p.x = x;
p.y = y;
return p;
}
NS_INLINE NSSize NSMakeSize(CGFloat w, CGFloat h) {
NSSize s;
s.width = w;
s.height = h;
return s;
}
NS_INLINE NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h) {
NSRect r;
r.origin.x = x;
r.origin.y = y;
r.size.width = w;
r.size.height = h;
return r;
}
NS_INLINE CGFloat NSMaxX(NSRect aRect) {
return (aRect.origin.x + aRect.size.width);
}
NS_INLINE CGFloat NSMaxY(NSRect aRect) {
return (aRect.origin.y + aRect.size.height);
}
NS_INLINE CGFloat NSMidX(NSRect aRect) {
return (aRect.origin.x + aRect.size.width * (CGFloat)0.5);
}
NS_INLINE CGFloat NSMidY(NSRect aRect) {
return (aRect.origin.y + aRect.size.height * (CGFloat)0.5);
}
NS_INLINE CGFloat NSMinX(NSRect aRect) {
return (aRect.origin.x);
}
NS_INLINE CGFloat NSMinY(NSRect aRect) {
return (aRect.origin.y);
}
NS_INLINE CGFloat NSWidth(NSRect aRect) {
return (aRect.size.width);
}
NS_INLINE CGFloat NSHeight(NSRect aRect) {
return (aRect.size.height);
}
NS_INLINE NSRect NSRectFromCGRect(CGRect cgrect) {
union _ {NSRect ns; CGRect cg;};
return ((union _ *)&cgrect)->ns;
}
NS_INLINE CGRect NSRectToCGRect(NSRect nsrect) {
union _ {NSRect ns; CGRect cg;};
return ((union _ *)&nsrect)->cg;
}
NS_INLINE NSPoint NSPointFromCGPoint(CGPoint cgpoint) {
union _ {NSPoint ns; CGPoint cg;};
return ((union _ *)&cgpoint)->ns;
}
NS_INLINE CGPoint NSPointToCGPoint(NSPoint nspoint) {
union _ {NSPoint ns; CGPoint cg;};
return ((union _ *)&nspoint)->cg;
}
NS_INLINE NSSize NSSizeFromCGSize(CGSize cgsize) {
union _ {NSSize ns; CGSize cg;};
return ((union _ *)&cgsize)->ns;
}
NS_INLINE CGSize NSSizeToCGSize(NSSize nssize) {
union _ {NSSize ns; CGSize cg;};
return ((union _ *)&nssize)->cg;
}
NS_INLINE NSEdgeInsets NSEdgeInsetsMake(CGFloat top, CGFloat left, CGFloat bottom, CGFloat right) {
NSEdgeInsets e;
e.top = top;
e.left = left;
e.bottom = bottom;
e.right = right;
return e;
}
FOUNDATION_EXPORT BOOL NSEqualPoints(NSPoint aPoint, NSPoint bPoint);
FOUNDATION_EXPORT BOOL NSEqualSizes(NSSize aSize, NSSize bSize);
FOUNDATION_EXPORT BOOL NSEqualRects(NSRect aRect, NSRect bRect);
FOUNDATION_EXPORT BOOL NSIsEmptyRect(NSRect aRect);
FOUNDATION_EXPORT BOOL NSEdgeInsetsEqual(NSEdgeInsets aInsets, NSEdgeInsets bInsets) API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSRect NSInsetRect(NSRect aRect, CGFloat dX, CGFloat dY);
FOUNDATION_EXPORT NSRect NSIntegralRect(NSRect aRect);
FOUNDATION_EXPORT NSRect NSIntegralRectWithOptions(NSRect aRect, NSAlignmentOptions opts) API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSRect NSUnionRect(NSRect aRect, NSRect bRect);
FOUNDATION_EXPORT NSRect NSIntersectionRect(NSRect aRect, NSRect bRect);
FOUNDATION_EXPORT NSRect NSOffsetRect(NSRect aRect, CGFloat dX, CGFloat dY);
FOUNDATION_EXPORT void NSDivideRect(NSRect inRect, NSRect *slice, NSRect *rem, CGFloat amount, NSRectEdge edge);
FOUNDATION_EXPORT BOOL NSPointInRect(NSPoint aPoint, NSRect aRect);
FOUNDATION_EXPORT BOOL NSMouseInRect(NSPoint aPoint, NSRect aRect, BOOL flipped);
FOUNDATION_EXPORT BOOL NSContainsRect(NSRect aRect, NSRect bRect);
FOUNDATION_EXPORT BOOL NSIntersectsRect(NSRect aRect, NSRect bRect);
FOUNDATION_EXPORT NSString *NSStringFromPoint(NSPoint aPoint);
FOUNDATION_EXPORT NSString *NSStringFromSize(NSSize aSize);
FOUNDATION_EXPORT NSString *NSStringFromRect(NSRect aRect);
FOUNDATION_EXPORT NSPoint NSPointFromString(NSString *aString);
FOUNDATION_EXPORT NSSize NSSizeFromString(NSString *aString);
FOUNDATION_EXPORT NSRect NSRectFromString(NSString *aString);
@interface NSValue (NSValueGeometryExtensions)
+ (NSValue *)valueWithPoint:(NSPoint)point;
+ (NSValue *)valueWithSize:(NSSize)size;
+ (NSValue *)valueWithRect:(NSRect)rect;
+ (NSValue *)valueWithEdgeInsets:(NSEdgeInsets)insets API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@property (readonly) NSPoint pointValue;
@property (readonly) NSSize sizeValue;
@property (readonly) NSRect rectValue;
@property (readonly) NSEdgeInsets edgeInsetsValue API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@end
@interface NSCoder (NSGeometryCoding)
- (void)encodePoint:(NSPoint)point;
- (NSPoint)decodePoint;
- (void)encodeSize:(NSSize)size;
- (NSSize)decodeSize;
- (void)encodeRect:(NSRect)rect;
- (NSRect)decodeRect;
@end
@interface NSCoder (NSGeometryKeyedCoding)
- (void)encodePoint:(NSPoint)point forKey:(NSString *)key;
- (void)encodeSize:(NSSize)size forKey:(NSString *)key;
- (void)encodeRect:(NSRect)rect forKey:(NSString *)key;
- (NSPoint)decodePointForKey:(NSString *)key;
- (NSSize)decodeSizeForKey:(NSString *)key;
- (NSRect)decodeRectForKey:(NSString *)key;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h | /* NSTimer.h
Copyright (c) 1994-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSDate.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSTimer : NSObject
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti invocation:(NSInvocation *)invocation repeats:(BOOL)yesOrNo;
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti invocation:(NSInvocation *)invocation repeats:(BOOL)yesOrNo;
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(nullable id)userInfo repeats:(BOOL)yesOrNo;
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(nullable id)userInfo repeats:(BOOL)yesOrNo;
/// Creates and returns a new NSTimer object initialized with the specified block object. This timer needs to be scheduled on a run loop (via -[NSRunLoop addTimer:]) before it will fire.
/// - parameter: timeInterval The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead
/// - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires.
/// - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)interval repeats:(BOOL)repeats block:(void (^)(NSTimer *timer))block API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/// Creates and returns a new NSTimer object initialized with the specified block object and schedules it on the current run loop in the default mode.
/// - parameter: ti The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead
/// - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires.
/// - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)interval repeats:(BOOL)repeats block:(void (^)(NSTimer *timer))block API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/// Initializes a new NSTimer object using the block as the main body of execution for the timer. This timer needs to be scheduled on a run loop (via -[NSRunLoop addTimer:]) before it will fire.
/// - parameter: fireDate The time at which the timer should first fire.
/// - parameter: interval The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead
/// - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires.
/// - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references
- (instancetype)initWithFireDate:(NSDate *)date interval:(NSTimeInterval)interval repeats:(BOOL)repeats block:(void (^)(NSTimer *timer))block API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
- (instancetype)initWithFireDate:(NSDate *)date interval:(NSTimeInterval)ti target:(id)t selector:(SEL)s userInfo:(nullable id)ui repeats:(BOOL)rep NS_DESIGNATED_INITIALIZER;
- (void)fire;
@property (copy) NSDate *fireDate;
@property (readonly) NSTimeInterval timeInterval;
// Setting a tolerance for a timer allows it to fire later than the scheduled fire date, improving the ability of the system to optimize for increased power savings and responsiveness. The timer may fire at any time between its scheduled fire date and the scheduled fire date plus the tolerance. The timer will not fire before the scheduled fire date. For repeating timers, the next fire date is calculated from the original fire date regardless of tolerance applied at individual fire times, to avoid drift. The default value is zero, which means no additional tolerance is applied. The system reserves the right to apply a small amount of tolerance to certain timers regardless of the value of this property.
// As the user of the timer, you will have the best idea of what an appropriate tolerance for a timer may be. A general rule of thumb, though, is to set the tolerance to at least 10% of the interval, for a repeating timer. Even a small amount of tolerance will have a significant positive impact on the power usage of your application. The system may put a maximum value of the tolerance.
@property NSTimeInterval tolerance API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0));
- (void)invalidate;
@property (readonly, getter=isValid) BOOL valid;
@property (nullable, readonly, retain) id userInfo;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSScriptCommand.h | /*
NSScriptCommand.h
Copyright (c) 1997-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
@class NSAppleEventDescriptor, NSDictionary<KeyType, ObjectType>, NSMutableDictionary, NSScriptObjectSpecifier, NSScriptCommandDescription, NSString;
NS_ASSUME_NONNULL_BEGIN
// Error codes for general command execution problems (not typedef'd to allow subclasses to define their own values)
NS_ENUM(NSInteger) {
NSNoScriptError = 0,
NSReceiverEvaluationScriptError, // Problem evaluating receiver specifier
NSKeySpecifierEvaluationScriptError, // Problem evaluating key specifier (for commands that have them)
NSArgumentEvaluationScriptError, // Problem evaluating an argument specifier
NSReceiversCantHandleCommandScriptError, // The receivers dont support the command
NSRequiredArgumentsMissingScriptError, // One or more required arguments are missing
NSArgumentsWrongScriptError, // One or more arguments are of wrong type or are otherwise invalid
NSUnknownKeyScriptError, // Other miscellaneous internal error
NSInternalScriptError, // Other miscellaneous internal error
NSOperationNotSupportedForKeyScriptError,
NSCannotCreateScriptCommandError
};
@interface NSScriptCommand : NSObject <NSCoding> {
// All instance variables are private.
@private
NSScriptCommandDescription *_commandDescription;
id _directParameter;
NSScriptObjectSpecifier *_receiversSpecifier;
id _evaluatedReceivers;
NSDictionary *_arguments;
NSMutableDictionary *_evaluatedArguments;
struct {
unsigned int hasEvaluatedReceivers:1;
unsigned int hasEvaluatedArguments:1;
unsigned int RESERVED:30;
} _flags;
id _moreVars;
void *_reserved;
}
- (instancetype)initWithCommandDescription:(NSScriptCommandDescription *)commandDef NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder *)inCoder;
@property (readonly, retain) NSScriptCommandDescription *commandDescription;
// The command description is immutable once the command is created.
@property (nullable, retain) id directParameter;
// Accessors for the object that corresponds to the keyDirectObject parameter of the Apple event from which this command derives.
@property (nullable, retain) NSScriptObjectSpecifier *receiversSpecifier;
// Accessors for the specifier of the object(s) that will be given a chance to handle the command, if the direct parameter of the original event was an object specifier. For backwards compatibility, -[NSScriptCommand setDirectParameter:] sends a [self setReceiversSpecifier:] message if the direct parameter is an object specifier.
// Some types of commands may treat this somewhat specially. For instance, the Set command backs off the innermost component of this specifier and uses the innermost component as the key to be set within that specifiers container specifier.
@property (nullable, readonly, retain) id evaluatedReceivers;
// If the direct parameter of the original event was an object specifier, and that object specifier can be (or already has been) evaluated successfully, return the specified object(s). Return nil otherwise.
@property (nullable, copy) NSDictionary<NSString *, id> *arguments;
@property (nullable, readonly, copy) NSDictionary<NSString *, id> *evaluatedArguments;
// Arguments can be either normal objects or object specifiers. If they are object specifiers they will be evaluated before being used.
@property (getter=isWellFormed, readonly) BOOL wellFormed;
// This checks the command against the command's description. It makes sure there is a defined command and that the number of arguments and the types of non-specifier arguments is well formed with respect to the command description.
// Given that the command has no receivers that explicitly handle the command, do some appropriate action. -[NSScriptCommand executeCommand] invokes this method, and it is not meant to be invoked from anywhere else. You can override this method when creating a new kind of command class that is not handled by the receivers of the command.
// If -suspend is invoked during the invocation of this method, its return value is ignored by Cocoa Scripting's built-in Apple event handling.
- (nullable id)performDefaultImplementation;
// Evaluate the receiver specifier and any argument specifiers there may be, and validate using -isWellFormed. If the command is invalid set the error number and possibly the error string and return. If the command is valid, and there are receivers, and if a handling method for this command is declared for the class of the receivers, invoke the handler method on each receiver. If there are multiple receivers the results of invoking the receivers' handlers methods are placed in an array and the array is returned; if there is a single receiver the result of invoking its handler method for this command is returned. If the command is valid but there are no receivers, or if there are but a handler method for this command is not declared for their class, invoke -performDefaultImplementation on self and return the result. You should not have to override this method.
// If -suspend is invoked during the invocation of this method, its return value is ignored by Cocoa Scripting's built-in Apple event handling.
- (nullable id)executeCommand;
// Set the error number, offending object descriptor, type descriptor, or message, respectively, that will be put in the reply to the Apple event from which this command was constructed, when execution of the command is completed, if the sender of the event requested a reply. If -setScriptErrorNumber: is invoked during an invocation of -executeCommand, the invocation of -executeCommand may stop invoking command handling methods in the receiver and return early.
@property NSInteger scriptErrorNumber;
@property (nullable, retain) NSAppleEventDescriptor *scriptErrorOffendingObjectDescriptor API_AVAILABLE(macos(10.5)) API_UNAVAILABLE(ios, watchos, tvos);
@property (nullable, retain) NSAppleEventDescriptor *scriptErrorExpectedTypeDescriptor API_AVAILABLE(macos(10.5)) API_UNAVAILABLE(ios, watchos, tvos);
@property (nullable, copy) NSString *scriptErrorString;
// If a command is being executed in the current thread by Cocoa Scripting's built-in Apple event handling (i.e., an instance of NSScriptCommand is handling an -executeCommand message at this instant, as the result of the dispatch of an Apple event), return the command. Return nil otherwise. -setScriptErrorNumber: and -setScriptErrorString: messages sent to the returned command object will affect the reply event sent to the sender of the event from which the command was constructed, if the sender has requested a reply.
+ (nullable NSScriptCommand *)currentCommand;
// If the receiver was constructed by Cocoa Scripting's built-in Apple event handling, the Apple event descriptor from which it was constructed. The effects of mutating or retaining this descriptor are undefined, though it may be copied.
@property (nullable, readonly, copy) NSAppleEventDescriptor *appleEvent;
// If the receiver is being executed in the current thread by Cocoa Scripting's built-in Apple event handling (i.e., would be returned by [NSScriptCommand currentCommand]), suspend the execution of the command. Otherwise, do nothing. A matching invocation of -resumeExecutionWithResult: must be made.
- (void)suspendExecution;
// If a successful, unmatched, invocation -suspendExecution has been made, resume the execution of the command. Otherwise, do nothing. The result is for the segment of command execution that was suspended:
// - If -suspendExecution was invoked from within a command handler of one the command's receivers, the result is considered to be the return value of the handler. Unless the command has received a -setScriptErrorNumber: message with a nonzero error number, execution of the command will continue and the command handlers of other receivers will be invoked.
// - If -suspendExecution was invoked from within an override of -performDefaultImplementation the result is treated as if it were the return value of the invocation of -performDefaultImplementation.
// This method may be invoked in any thread, not just the one in which the corresponding invocation of -suspendExecution occurred.
- (void)resumeExecutionWithResult:(nullable id)result;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSInflectionRule.h | /* NSMorphology.h
Copyright (c) 2021, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
@class NSMorphology;
NS_ASSUME_NONNULL_BEGIN
API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0))
NS_REFINED_FOR_SWIFT
@interface NSInflectionRule: NSObject <NSCopying, NSSecureCoding>
- (id)init NS_UNAVAILABLE; // This class is abstract. Use +automaticRule, or instantiate a subclass instead.
@property (class, readonly) NSInflectionRule *automaticRule;
@end
API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0))
NS_REFINED_FOR_SWIFT
@interface NSInflectionRuleExplicit: NSInflectionRule
- (instancetype)initWithMorphology:(NSMorphology *)morphology NS_DESIGNATED_INITIALIZER;
@property (readonly, copy) NSMorphology *morphology;
@end
// -----
@interface NSInflectionRule (NSInflectionAvailability)
// Whether inflection will work in the specified language code.
+ (BOOL)canInflectLanguage:(NSString *)language
API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
// Whether inflection will work in the language of the main bundle's first preferred localization.
@property (class, readonly) BOOL canInflectPreferredLocalization
API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSError.h | /* NSError.h
Copyright (c) 2003-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
@class NSDictionary<KeyType, ObjectType>, NSArray<ObjectType>, NSString;
typedef NSString *NSErrorDomain;
NS_ASSUME_NONNULL_BEGIN
// Predefined domain for errors from most AppKit and Foundation APIs.
FOUNDATION_EXPORT NSErrorDomain const NSCocoaErrorDomain;
// Other predefined domains; value of "code" will correspond to preexisting values in these domains.
FOUNDATION_EXPORT NSErrorDomain const NSPOSIXErrorDomain;
FOUNDATION_EXPORT NSErrorDomain const NSOSStatusErrorDomain;
FOUNDATION_EXPORT NSErrorDomain const NSMachErrorDomain;
typedef NSString *NSErrorUserInfoKey;
// Key in userInfo. A recommended standard way to embed NSErrors from underlying calls. The value of this key should be an NSError.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSUnderlyingErrorKey;
// Key in userInfo. A recommended standard way to embed a list of several NSErrors from underlying calls. The value of this key should be an NSArray of NSError. This value is independent from the value of `NSUnderlyingErrorKey` - neither, one, or both may be set.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSMultipleUnderlyingErrorsKey API_AVAILABLE(macos(11.3), ios(14.5), watchos(7.4), tvos(14.5));
// Keys in userInfo, for subsystems wishing to provide their error messages up-front. Note that NSError will also consult the userInfoValueProvider for the domain when these values are not present in the userInfo dictionary.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSLocalizedDescriptionKey; // NSString, a complete sentence (or more) describing ideally both what failed and why it failed.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSLocalizedFailureReasonErrorKey; // NSString, a complete sentence (or more) describing why the operation failed.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSLocalizedRecoverySuggestionErrorKey; // NSString, a complete sentence (or more) describing what the user can do to fix the problem.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSLocalizedRecoveryOptionsErrorKey; // NSArray of NSStrings corresponding to button titles.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSRecoveryAttempterErrorKey; // Instance of a subclass of NSObject that conforms to the NSErrorRecoveryAttempting informal protocol
FOUNDATION_EXPORT NSErrorUserInfoKey const NSHelpAnchorErrorKey; // NSString containing a help anchor
FOUNDATION_EXPORT NSErrorUserInfoKey const NSDebugDescriptionErrorKey API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // NSString. This provides a string which will be shown when constructing the debugDescription of the NSError, to be used when debugging or when formatting the error with %@. This string will never be used in localizedDescription, so will not be shown to the user.
FOUNDATION_EXPORT NSErrorUserInfoKey const NSLocalizedFailureErrorKey API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0)); // NSString, a complete sentence (or more) describing what failed. Setting a value for this key in userInfo dictionary of errors received from framework APIs is a good way to customize and fine tune the localizedDescription of an NSError. As an example, for Foundation error code NSFileWriteOutOfSpaceError, setting the value of this key to "The image library could not be saved." will allow the localizedDescription of the error to come out as "The image library could not be saved. The volume Macintosh HD is out of space." rather than the default (say) “You can't save the file ImgDatabaseV2 because the volume Macintosh HD is out of space."
// Other standard keys in userInfo, for various error codes
FOUNDATION_EXPORT NSErrorUserInfoKey const NSStringEncodingErrorKey ; // NSNumber containing NSStringEncoding
FOUNDATION_EXPORT NSErrorUserInfoKey const NSURLErrorKey; // NSURL
FOUNDATION_EXPORT NSErrorUserInfoKey const NSFilePathErrorKey; // NSString
@interface NSError : NSObject <NSCopying, NSSecureCoding> {
@private
void *_reserved;
NSInteger _code;
NSString *_domain;
NSDictionary *_userInfo;
}
/* Domain cannot be nil; dict may be nil if no userInfo desired.
*/
- (instancetype)initWithDomain:(NSErrorDomain)domain code:(NSInteger)code userInfo:(nullable NSDictionary<NSErrorUserInfoKey, id> *)dict NS_DESIGNATED_INITIALIZER;
+ (instancetype)errorWithDomain:(NSErrorDomain)domain code:(NSInteger)code userInfo:(nullable NSDictionary<NSErrorUserInfoKey, id> *)dict;
/* These define the error. Domains are described by names that are arbitrary strings used to differentiate groups of codes; for custom domain using reverse-DNS naming will help avoid conflicts. Codes are domain-specific.
*/
@property (readonly, copy) NSErrorDomain domain;
@property (readonly) NSInteger code;
/* Additional info which may be used to describe the error further. Examples of keys that might be included in here are "Line Number", "Failed URL", etc. Embedding other errors in here can also be used as a way to communicate underlying reasons for failures; for instance "File System Error" embedded in the userInfo of an NSError returned from a higher level document object. If the embedded error information is itself NSError, the standard key NSUnderlyingErrorKey can be used.
*/
@property (readonly, copy) NSDictionary<NSErrorUserInfoKey, id> *userInfo;
/* The primary user-presentable message for the error, for instance for NSFileReadNoPermissionError: "The file "File Name" couldn't be opened because you don't have permission to view it.". This message should ideally indicate what failed and why it failed. This value either comes from NSLocalizedDescriptionKey, or NSLocalizedFailureErrorKey+NSLocalizedFailureReasonErrorKey, or NSLocalizedFailureErrorKey. The steps this takes to construct the description include:
1. Look for NSLocalizedDescriptionKey in userInfo, use value as-is if present.
2. Look for NSLocalizedFailureErrorKey in userInfo. If present, use, combining with value for NSLocalizedFailureReasonErrorKey if available.
3. Fetch NSLocalizedDescriptionKey from userInfoValueProvider, use value as-is if present.
4. Fetch NSLocalizedFailureErrorKey from userInfoValueProvider. If present, use, combining with value for NSLocalizedFailureReasonErrorKey if available.
5. Look for NSLocalizedFailureReasonErrorKey in userInfo or from userInfoValueProvider; combine with generic "Operation failed" message.
6. Last resort localized but barely-presentable string manufactured from domain and code. The result is never nil.
*/
@property (readonly, copy) NSString *localizedDescription;
/* Return a complete sentence which describes why the operation failed. For instance, for NSFileReadNoPermissionError: "You don't have permission.". In many cases this will be just the "because" part of the error message (but as a complete sentence, which makes localization easier). Default implementation of this picks up the value of NSLocalizedFailureReasonErrorKey from the userInfo dictionary. If not present, it consults the userInfoValueProvider for the domain, and if that returns nil, this also returns nil.
*/
@property (nullable, readonly, copy) NSString *localizedFailureReason;
/* Return the string that can be displayed as the "informative" (aka "secondary") message on an alert panel. For instance, for NSFileReadNoPermissionError: "To view or change permissions, select the item in the Finder and choose File > Get Info.". Default implementation of this picks up the value of NSLocalizedRecoverySuggestionErrorKey from the userInfo dictionary. If not present, it consults the userInfoValueProvider for the domain, and if that returns nil, this also returns nil.
*/
@property (nullable, readonly, copy) NSString *localizedRecoverySuggestion;
/* Return titles of buttons that are appropriate for displaying in an alert. These should match the string provided as a part of localizedRecoverySuggestion. The first string would be the title of the right-most and default button, the second one next to it, and so on. If used in an alert the corresponding default return values are NSAlertFirstButtonReturn + n. Default implementation of this picks up the value of NSLocalizedRecoveryOptionsErrorKey from the userInfo dictionary. If not present, it consults the userInfoValueProvider for the domain, and if that returns nil, this also returns nil. nil return usually implies no special suggestion, which would imply a single "OK" button.
*/
@property (nullable, readonly, copy) NSArray<NSString *> *localizedRecoveryOptions;
/* Return an object that conforms to the NSErrorRecoveryAttempting informal protocol. The recovery attempter must be an object that can correctly interpret an index into the array returned by localizedRecoveryOptions. The default implementation of this picks up the value of NSRecoveryAttempterErrorKey from the userInfo dictionary. If not present, it consults the userInfoValueProvider for the domain. If that returns nil, this also returns nil.
*/
@property (nullable, readonly, strong) id recoveryAttempter;
/* Return the help anchor that can be used to create a help button to accompany the error when it's displayed to the user. This is done automatically by +[NSAlert alertWithError:], which the presentError: variants in NSApplication go through. The default implementation of this picks up the value of the NSHelpAnchorErrorKey from the userInfo dictionary. If not present, it consults the userInfoValueProvider for the domain. If that returns nil, this also returns nil.
*/
@property (nullable, readonly, copy) NSString *helpAnchor;
/* Return a list of underlying errors, if any. It includes the values of both NSUnderlyingErrorKey and NSMultipleUnderlyingErrorsKey. If there are no underlying errors, returns an empty array.
*/
@property (readonly, copy) NSArray<NSError *> *underlyingErrors API_AVAILABLE(macos(11.3), ios(14.5), watchos(7.4), tvos(14.5));
/* Specify a block which will be called from the implementations of localizedDescription, localizedFailureReason, localizedRecoverySuggestion, localizedRecoveryOptions, recoveryAttempter, helpAnchor, and debugDescription when the underlying value for these is not present in the userInfo dictionary of NSError instances with the specified domain. The provider will be called with the userInfo key corresponding to the queried property: For instance, NSLocalizedDescriptionKey for localizedDescription. The provider should return nil for any keys it is not able to provide and, very importantly, any keys it does not recognize (since we may extend the list of keys in future releases).
The specified block will be called synchronously at the time when the above properties are queried. The results are not cached.
This provider is optional. It enables localization and formatting of error messages to be done lazily; rather than populating the userInfo at NSError creation time, these keys will be fetched on-demand when asked for.
It is expected that only the “owner” of an NSError domain specifies the provider for the domain, and this is done once. This facility is not meant for consumers of errors to customize the userInfo entries. This facility should not be used to customize the behaviors of error domains provided by the system.
If an appropriate result for the requested key cannot be provided, return nil rather than choosing to manufacture a generic fallback response such as "Operation could not be completed, error 42." NSError will take care of the fallback cases.
*/
+ (void)setUserInfoValueProviderForDomain:(NSErrorDomain)errorDomain provider:(id _Nullable (^ _Nullable)(NSError *err, NSErrorUserInfoKey userInfoKey))provider API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
+ (id _Nullable (^ _Nullable)(NSError *err, NSErrorUserInfoKey userInfoKey))userInfoValueProviderForDomain:(NSErrorDomain)errorDomain API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
@end
@interface NSObject(NSErrorRecoveryAttempting)
/* Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate. The option index is an index into the error's array of localized recovery options. The method selected by didRecoverSelector must have the same signature as:
- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo;
The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise.
*/
- (void)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex delegate:(nullable id)delegate didRecoverSelector:(nullable SEL)didRecoverSelector contextInfo:(nullable void *)contextInfo;
/* Given that an error alert has been presented applicaton-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and return YES if error recovery was completely successful, NO otherwise. The recovery option index is an index into the error's array of localized recovery options.
*/
- (BOOL)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSXMLElement.h | /* NSXMLElement.h
Copyright (c) 2004-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSXMLNode.h>
@class NSArray<ObjectType>, NSDictionary<KeyType, ObjectType>, NSMutableArray, NSEnumerator, NSString;
NS_ASSUME_NONNULL_BEGIN
/*!
@class NSXMLElement
@abstract An XML element
@discussion Note: Trying to add a document, namespace, attribute, or node with a parent throws an exception. To add a node with a parent first detach or create a copy of it.
*/
@interface NSXMLElement : NSXMLNode {
@protected
NSString *_name;
id _attributes;
id _namespaces;
NSArray *_children;
BOOL _childrenHaveMutated;
BOOL _zeroOrOneAttributes;
BOOL _zeroOrOneNamespaces;
uint8_t _padding;
NSString *_URI;
NSInteger _prefixIndex;
}
/*!
@method initWithName:
@abstract Returns an element <tt><name></name></tt>.
*/
- (instancetype)initWithName:(NSString *)name;
/*!
@method initWithName:URI:
@abstract Returns an element whose full QName is specified.
*/
- (instancetype)initWithName:(NSString *)name URI:(nullable NSString *)URI NS_DESIGNATED_INITIALIZER; //primitive
/*!
@method initWithName:stringValue:
@abstract Returns an element with a single text node child <tt><name>string</name></tt>.
*/
- (instancetype)initWithName:(NSString *)name stringValue:(nullable NSString *)string;
/*!
@method initWithXMLString:error:
@abstract Returns an element created from a string. Parse errors are collected in <tt>error</tt>.
*/
- (nullable instancetype)initWithXMLString:(NSString *)string error:(NSError **)error NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithKind:(NSXMLNodeKind)kind options:(NSXMLNodeOptions)options;
#if 0
#pragma mark --- Elements by name ---
#endif
/*!
@method elementsForName:
@abstract Returns all of the child elements that match this name.
*/
- (NSArray<NSXMLElement *> *)elementsForName:(NSString *)name;
/*!
@method elementsForLocalName:URI
@abstract Returns all of the child elements that match this localname URI pair.
*/
- (NSArray<NSXMLElement *> *)elementsForLocalName:(NSString *)localName URI:(nullable NSString *)URI;
#if 0
#pragma mark --- Attributes ---
#endif
/*!
@method addAttribute:
@abstract Adds an attribute. Attributes with duplicate names are not added.
*/
- (void)addAttribute:(NSXMLNode *)attribute; //primitive
/*!
@method removeAttributeForName:
@abstract Removes an attribute based on its name.
*/
- (void)removeAttributeForName:(NSString *)name; //primitive
/*!
@abstract Set the attributes. In the case of duplicate names, the first attribute with the name is used.
*/
@property (nullable, copy) NSArray<NSXMLNode *> *attributes;
/*!
@method setAttributesWithDictionary:
@abstract Set the attributes based on a name-value dictionary.
*/
- (void)setAttributesWithDictionary:(NSDictionary<NSString *, NSString *> *)attributes;
/*!
@method attributeForName:
@abstract Returns an attribute matching this name.
*/
- (nullable NSXMLNode *)attributeForName:(NSString *)name;
/*!
@method attributeForLocalName:URI:
@abstract Returns an attribute matching this localname URI pair.
*/
- (nullable NSXMLNode *)attributeForLocalName:(NSString *)localName URI:(nullable NSString *)URI; //primitive
#if 0
#pragma mark --- Namespaces ---
#endif
/*!
@method addNamespace:URI:
@abstract Adds a namespace. Namespaces with duplicate names are not added.
*/
- (void)addNamespace:(NSXMLNode *)aNamespace; //primitive
/*!
@method addNamespace:URI:
@abstract Removes a namespace with a particular name.
*/
- (void)removeNamespaceForPrefix:(NSString *)name; //primitive
/*!
@abstract Set the namespaces. In the case of duplicate names, the first namespace with the name is used.
*/
@property (nullable, copy) NSArray<NSXMLNode *> *namespaces; //primitive
/*!
@method namespaceForPrefix:
@abstract Returns the namespace matching this prefix.
*/
- (nullable NSXMLNode *)namespaceForPrefix:(NSString *)name;
/*!
@method resolveNamespaceForName:
@abstract Returns the namespace who matches the prefix of the name given. Looks in the entire namespace chain.
*/
- (nullable NSXMLNode *)resolveNamespaceForName:(NSString *)name;
/*!
@method resolvePrefixForNamespaceURI:
@abstract Returns the URI of this prefix. Looks in the entire namespace chain.
*/
- (nullable NSString *)resolvePrefixForNamespaceURI:(NSString *)namespaceURI;
#if 0
#pragma mark --- Children ---
#endif
/*!
@method insertChild:atIndex:
@abstract Inserts a child at a particular index.
*/
- (void)insertChild:(NSXMLNode *)child atIndex:(NSUInteger)index; //primitive
/*!
@method insertChildren:atIndex:
@abstract Insert several children at a particular index.
*/
- (void)insertChildren:(NSArray<NSXMLNode *> *)children atIndex:(NSUInteger)index;
/*!
@method removeChildAtIndex:atIndex:
@abstract Removes a child at a particular index.
*/
- (void)removeChildAtIndex:(NSUInteger)index; //primitive
/*!
@method setChildren:
@abstract Removes all existing children and replaces them with the new children. Set children to nil to simply remove all children.
*/
- (void)setChildren:(nullable NSArray<NSXMLNode *> *)children; //primitive
/*!
@method addChild:
@abstract Adds a child to the end of the existing children.
*/
- (void)addChild:(NSXMLNode *)child;
/*!
@method replaceChildAtIndex:withNode:
@abstract Replaces a child at a particular index with another child.
*/
- (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode *)node;
/*!
@method normalizeAdjacentTextNodesPreservingCDATA:
@abstract Adjacent text nodes are coalesced. If the node's value is the empty string, it is removed. This should be called with a value of NO before using XQuery or XPath.
*/
- (void)normalizeAdjacentTextNodesPreservingCDATA:(BOOL)preserve;
@end
@interface NSXMLElement (NSDeprecated)
/*!
@method setAttributesAsDictionary:
@abstract Set the attributes base on a name-value dictionary.
@discussion This method is deprecated and does not function correctly. Use -setAttributesWithDictionary: instead.
*/
- (void)setAttributesAsDictionary:(NSDictionary *)attributes API_DEPRECATED_WITH_REPLACEMENT("setAttributesWithDictionary:", macos(10.0, API_TO_BE_DEPRECATED), ios(2.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED));
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h | /* FoundationErrors.h
Copyright (c) 2004-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSError.h>
/* NSError codes in NSCocoaErrorDomain. Note that other frameworks (such as AppKit and CoreData) also provide additional NSCocoaErrorDomain error codes.
*/
NS_ERROR_ENUM(NSCocoaErrorDomain) {
// File system and file I/O related errors, with NSFilePathErrorKey or NSURLErrorKey containing path or URL
NSFileNoSuchFileError = 4, // Attempt to do a file system operation on a non-existent file
NSFileLockingError = 255, // Couldn't get a lock on file
NSFileReadUnknownError = 256, // Read error (reason unknown)
NSFileReadNoPermissionError = 257, // Read error (permission problem)
NSFileReadInvalidFileNameError = 258, // Read error (invalid file name)
NSFileReadCorruptFileError = 259, // Read error (file corrupt, bad format, etc)
NSFileReadNoSuchFileError = 260, // Read error (no such file)
NSFileReadInapplicableStringEncodingError = 261, // Read error (string encoding not applicable) also NSStringEncodingErrorKey
NSFileReadUnsupportedSchemeError = 262, // Read error (unsupported URL scheme)
NSFileReadTooLargeError API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 263, // Read error (file too large)
NSFileReadUnknownStringEncodingError API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 264, // Read error (string encoding of file contents could not be determined)
NSFileWriteUnknownError = 512, // Write error (reason unknown)
NSFileWriteNoPermissionError = 513, // Write error (permission problem)
NSFileWriteInvalidFileNameError = 514, // Write error (invalid file name)
NSFileWriteFileExistsError API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0)) = 516, // Write error (file exists)
NSFileWriteInapplicableStringEncodingError = 517, // Write error (string encoding not applicable) also NSStringEncodingErrorKey
NSFileWriteUnsupportedSchemeError = 518, // Write error (unsupported URL scheme)
NSFileWriteOutOfSpaceError = 640, // Write error (out of disk space)
NSFileWriteVolumeReadOnlyError API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = 642, // Write error (readonly volume)
// NSFileManager unmount errors
NSFileManagerUnmountUnknownError API_AVAILABLE(macos(10.11)) API_UNAVAILABLE(ios, watchos, tvos) = 768, // The volume could not be unmounted (reason unknown)
NSFileManagerUnmountBusyError API_AVAILABLE(macos(10.11)) API_UNAVAILABLE(ios, watchos, tvos) = 769, // The volume could not be unmounted because it is in use
// Other errors
NSKeyValueValidationError = 1024, // KVC validation error
NSFormattingError = 2048, // Formatting error
NSUserCancelledError = 3072, // User cancelled operation (this one often doesn't deserve a panel and might be a good one to special case)
NSFeatureUnsupportedError API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0)) = 3328, // Feature unsupported error
// Executable loading errors
NSExecutableNotLoadableError API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 3584, // Executable is of a type that is not loadable in the current process
NSExecutableArchitectureMismatchError API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 3585, // Executable does not provide an architecture compatible with the current process
NSExecutableRuntimeMismatchError API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 3586, // Executable has Objective C runtime information incompatible with the current process
NSExecutableLoadError API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 3587, // Executable cannot be loaded for some other reason, such as a problem with a library it depends on
NSExecutableLinkError API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 3588, // Executable fails due to linking issues
// Inclusive error range definitions, for checking future error codes
NSFileErrorMinimum = 0,
NSFileErrorMaximum = 1023,
NSValidationErrorMinimum = 1024,
NSValidationErrorMaximum = 2047,
NSExecutableErrorMinimum API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 3584,
NSExecutableErrorMaximum API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)) = 3839,
NSFormattingErrorMinimum = 2048,
NSFormattingErrorMaximum = 2559,
NSPropertyListReadCorruptError API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = 3840, // Error parsing a property list
NSPropertyListReadUnknownVersionError API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = 3841, // The version number in the property list is unknown
NSPropertyListReadStreamError API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = 3842, // Stream error reading a property list
NSPropertyListWriteStreamError API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = 3851, // Stream error writing a property list
NSPropertyListWriteInvalidError API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0)) = 3852, // Invalid property list object or invalid property list type specified when writing
NSPropertyListErrorMinimum API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = 3840,
NSPropertyListErrorMaximum API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) = 4095,
NSXPCConnectionInterrupted API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0)) = 4097,
NSXPCConnectionInvalid API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0)) = 4099,
NSXPCConnectionReplyInvalid API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0)) = 4101,
NSXPCConnectionErrorMinimum API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0)) = 4096,
NSXPCConnectionErrorMaximum API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0)) = 4224,
NSUbiquitousFileUnavailableError API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 4353, // NSURLUbiquitousItemDownloadingErrorKey contains an error with this code when the item has not been uploaded to iCloud by the other devices yet
NSUbiquitousFileNotUploadedDueToQuotaError API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 4354, // NSURLUbiquitousItemUploadingErrorKey contains an error with this code when the item has not been uploaded to iCloud because it would make the account go over-quota
NSUbiquitousFileUbiquityServerNotAvailable API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 4355, // NSURLUbiquitousItemDownloadingErrorKey and NSURLUbiquitousItemUploadingErrorKey contain an error with this code when connecting to the iCloud servers failed
NSUbiquitousFileErrorMinimum API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 4352,
NSUbiquitousFileErrorMaximum API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 4607,
NSUserActivityHandoffFailedError API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0)) = 4608, // The data for the user activity was not available (e.g. if the remote device became unavailable.)
NSUserActivityConnectionUnavailableError API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0)) = 4609, // The user activity could not be continued because a required connection was not available
NSUserActivityRemoteApplicationTimedOutError API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0)) = 4610, // The remote application failed to send data in time
NSUserActivityHandoffUserInfoTooLargeError API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0)) = 4611, // The NSUserActivity userInfo dictionary was too large to receive
NSUserActivityErrorMinimum API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0)) = 4608,
NSUserActivityErrorMaximum API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0)) = 4863,
NSCoderReadCorruptError API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4864, // Error parsing data during decode
NSCoderValueNotFoundError API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4865, // Data requested was not found
NSCoderInvalidValueError API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0)) = 4866, // Data was not valid to encode
NSCoderErrorMinimum API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4864,
NSCoderErrorMaximum API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4991,
NSBundleErrorMinimum API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4992,
NSBundleErrorMaximum API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 5119,
NSBundleOnDemandResourceOutOfSpaceError API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4992, // There was not enough space available to download the requested On Demand Resources.
NSBundleOnDemandResourceExceededMaximumSizeError API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4993, // The application exceeded the amount of On Demand Resources content in use at one time
NSBundleOnDemandResourceInvalidTagError API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) = 4994, // The application specified a tag which the system could not find in the application tag manifest
NSCloudSharingNetworkFailureError API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5120, // Sharing failed due to a network failure.
NSCloudSharingQuotaExceededError API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5121, // The user doesn't have enough storage space available to share the requested items.
NSCloudSharingTooManyParticipantsError API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5122, // Additional participants could not be added to the share, because the limit was reached.
NSCloudSharingConflictError API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5123, // A conflict occurred while trying to save changes to the CKShare and/or root CKRecord. Respond to this error by first fetching the server's changes to the records, then either handle the conflict manually or present it, which will instruct the user to try the operation again.
NSCloudSharingNoPermissionError API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5124, // The current user doesn't have permission to perform the requested actions.
NSCloudSharingOtherError API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5375, // These errors may require application-specific responses. For CloudKit sharing, use the NSUnderlyingErrorKey, which is a CKErrorDomain error, to discover the specific error and refer to the CloudKit documentation for the proper response to these errors.
NSCloudSharingErrorMinimum API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5120,
NSCloudSharingErrorMaximum API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos) = 5375,
NSCompressionFailedError API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0)) = 5376,
NSDecompressionFailedError API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0)) = 5377,
NSCompressionErrorMinimum API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0)) = 5376,
NSCompressionErrorMaximum API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0)) = 5503,
};
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h | /* NSObjCRuntime.h
Copyright (c) 1994-2019, Apple Inc. All rights reserved.
*/
#include <TargetConditionals.h>
#include <Availability.h>
#if TARGET_OS_OSX || TARGET_OS_IPHONE
#include <objc/NSObjCRuntime.h>
#include <stdarg.h>
#include <stdint.h>
#include <limits.h>
#include <AvailabilityMacros.h>
#endif
#if defined(__cplusplus)
#define FOUNDATION_EXTERN extern "C"
#else
#define FOUNDATION_EXTERN extern
#endif
#define FOUNDATION_EXPORT FOUNDATION_EXTERN
#define FOUNDATION_IMPORT FOUNDATION_EXTERN
#if !defined(NS_INLINE)
#if defined(__GNUC__)
#define NS_INLINE static __inline__ __attribute__((always_inline))
#elif defined(__MWERKS__) || defined(__cplusplus)
#define NS_INLINE static inline
#elif defined(_MSC_VER)
#define NS_INLINE static __inline
#endif
#endif
#if !defined(FOUNDATION_STATIC_INLINE)
#define FOUNDATION_STATIC_INLINE static __inline__
#endif
#if !defined(FOUNDATION_EXTERN_INLINE)
#define FOUNDATION_EXTERN_INLINE extern __inline__
#endif
#if !defined(NS_REQUIRES_NIL_TERMINATION)
#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 5549)
#define NS_REQUIRES_NIL_TERMINATION __attribute__((sentinel(0,1)))
#else
#define NS_REQUIRES_NIL_TERMINATION __attribute__((sentinel))
#endif
#endif
#if !defined(NS_BLOCKS_AVAILABLE)
#if __BLOCKS__ && (MAC_OS_X_VERSION_10_6 <= MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_4_0 <= __IPHONE_OS_VERSION_MAX_ALLOWED)
#define NS_BLOCKS_AVAILABLE 1
#else
#define NS_BLOCKS_AVAILABLE 0
#endif
#endif
// Marks APIs whose iOS versions are nonatomic, that is cannot be set/get from multiple threads safely without additional synchronization
#if __clang_tapi__
#if !defined(NS_NONATOMIC_IOSONLY)
#if TARGET_OS_OSX || TARGET_OS_MACCATALYST
#if __has_feature(objc_property_explicit_atomic)
#define NS_NONATOMIC_IOSONLY atomic
#else
#define NS_NONATOMIC_IOSONLY
#endif
#else
#define NS_NONATOMIC_IOSONLY nonatomic
#endif
#endif
#else
#if !defined(NS_NONATOMIC_IOSONLY)
#if TARGET_OS_IPHONE
#define NS_NONATOMIC_IOSONLY nonatomic
#else
#if __has_feature(objc_property_explicit_atomic)
#define NS_NONATOMIC_IOSONLY atomic
#else
#define NS_NONATOMIC_IOSONLY
#endif
#endif
#endif
#endif
// Use NS_NONATOMIC_IOSONLY instead of this older macro
#if !defined(NS_NONATOMIC_IPHONEONLY)
#define NS_NONATOMIC_IPHONEONLY NS_NONATOMIC_IOSONLY
#endif
// Marks APIs which format strings by taking a format string and optional varargs as arguments
#if !defined(NS_FORMAT_FUNCTION)
#if (__GNUC__*10+__GNUC_MINOR__ >= 42)
#define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A)))
#else
#define NS_FORMAT_FUNCTION(F,A)
#endif
#endif
// Marks APIs which are often used to process (take and return) format strings, so they can be used in place of a constant format string parameter in APIs
#if !defined(NS_FORMAT_ARGUMENT)
#if defined(__clang__)
#define NS_FORMAT_ARGUMENT(A) __attribute__ ((format_arg(A)))
#else
#define NS_FORMAT_ARGUMENT(A)
#endif
#endif
// Some compilers provide the capability to test if certain features are available. This macro provides a compatibility path for other compilers.
#ifndef __has_feature
#define __has_feature(x) 0
#endif
#ifndef __has_extension
#define __has_extension(x) 0
#endif
// Some compilers provide the capability to test if certain attributes are available. This macro provides a compatibility path for other compilers.
#ifndef __has_attribute
#define __has_attribute(x) 0
#endif
// Marks methods and functions which return an object that needs to be released by the caller but whose names are not consistent with Cocoa naming rules. The recommended fix to this is to rename the methods or functions, but this macro can be used to let the clang static analyzer know of any exceptions that cannot be fixed.
// This macro is ONLY to be used in exceptional circumstances, not to annotate functions which conform to the Cocoa naming rules.
#if __has_feature(attribute_ns_returns_retained)
#define NS_RETURNS_RETAINED __attribute__((ns_returns_retained))
#else
#define NS_RETURNS_RETAINED
#endif
// Marks methods and functions which return an object that may need to be retained by the caller but whose names are not consistent with Cocoa naming rules. The recommended fix to this is to rename the methods or functions, but this macro can be used to let the clang static analyzer know of any exceptions that cannot be fixed.
// This macro is ONLY to be used in exceptional circumstances, not to annotate functions which conform to the Cocoa naming rules.
#if __has_feature(attribute_ns_returns_not_retained)
#define NS_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained))
#else
#define NS_RETURNS_NOT_RETAINED
#endif
#ifndef NS_RETURNS_INNER_POINTER
#if __has_attribute(objc_returns_inner_pointer)
#define NS_RETURNS_INNER_POINTER __attribute__((objc_returns_inner_pointer))
#else
#define NS_RETURNS_INNER_POINTER
#endif
#endif
// Marks methods and functions which cannot be used when compiling in automatic reference counting mode.
#if __has_feature(objc_arc)
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode")))
#else
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE
#endif
// Marks classes which cannot participate in the ARC weak reference feature.
#if __has_attribute(objc_arc_weak_reference_unavailable)
#define NS_AUTOMATED_REFCOUNT_WEAK_UNAVAILABLE __attribute__((objc_arc_weak_reference_unavailable))
#else
#define NS_AUTOMATED_REFCOUNT_WEAK_UNAVAILABLE
#endif
// Marks classes that must specify @dynamic or @synthesize for properties in their @implementation (property getters & setters will not be synthesized unless the @synthesize directive is used)
#if __has_attribute(objc_requires_property_definitions)
#define NS_REQUIRES_PROPERTY_DEFINITIONS __attribute__((objc_requires_property_definitions))
#else
#define NS_REQUIRES_PROPERTY_DEFINITIONS
#endif
// Decorates methods in which the receiver may be replaced with the result of the method.
#if __has_feature(attribute_ns_consumes_self)
#define NS_REPLACES_RECEIVER __attribute__((ns_consumes_self)) NS_RETURNS_RETAINED
#else
#define NS_REPLACES_RECEIVER
#endif
#if __has_feature(attribute_ns_consumed)
#define NS_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
#define NS_RELEASES_ARGUMENT
#endif
// Mark local variables of type 'id' or pointer-to-ObjC-object-type so that values stored into that local variable are not aggressively released by the compiler during optimization, but are held until either the variable is assigned to again, or the end of the scope (such as a compound statement, or method definition) of the local variable.
#ifndef NS_VALID_UNTIL_END_OF_SCOPE
#if __has_attribute(objc_precise_lifetime)
#define NS_VALID_UNTIL_END_OF_SCOPE __attribute__((objc_precise_lifetime))
#else
#define NS_VALID_UNTIL_END_OF_SCOPE
#endif
#endif
// Annotate classes which are root classes as really being root classes
#ifndef NS_ROOT_CLASS
#if __has_attribute(objc_root_class)
#define NS_ROOT_CLASS __attribute__((objc_root_class))
#else
#define NS_ROOT_CLASS
#endif
#endif
#ifndef NS_REQUIRES_SUPER
#if __has_attribute(objc_requires_super)
#define NS_REQUIRES_SUPER __attribute__((objc_requires_super))
#else
#define NS_REQUIRES_SUPER
#endif
#endif
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
#ifndef NS_PROTOCOL_REQUIRES_EXPLICIT_IMPLEMENTATION
#if __has_attribute(objc_protocol_requires_explicit_implementation)
#define NS_PROTOCOL_REQUIRES_EXPLICIT_IMPLEMENTATION __attribute__((objc_protocol_requires_explicit_implementation))
#else
#define NS_PROTOCOL_REQUIRES_EXPLICIT_IMPLEMENTATION
#endif
#endif
#if __has_attribute(not_tail_called)
#define NS_NO_TAIL_CALL __attribute__((not_tail_called))
#else
#define NS_NO_TAIL_CALL
#endif
#if !__has_feature(objc_instancetype)
#undef instancetype
#define instancetype id
#endif
#if __has_attribute(swift_async)
# define NS_SWIFT_DISABLE_ASYNC __attribute__((swift_async(none)))
# define NS_SWIFT_ASYNC(COMPLETION_BLOCK_INDEX) __attribute__((swift_async(not_swift_private, COMPLETION_BLOCK_INDEX)))
# define NS_REFINED_FOR_SWIFT_ASYNC(COMPLETION_BLOCK_INDEX) __attribute__((swift_async(swift_private, COMPLETION_BLOCK_INDEX)))
#else
# define NS_SWIFT_DISABLE_ASYNC
# define NS_SWIFT_ASYNC(COMPLETION_BLOCK_INDEX)
# define NS_REFINED_FOR_SWIFT_ASYNC(COMPLETION_BLOCK_INDEX)
#endif
#if __has_attribute(swift_async_name)
# define NS_SWIFT_ASYNC_NAME(NAME) __attribute__((swift_async_name(#NAME)))
#else
# define NS_SWIFT_ASYNC_NAME(NAME)
#endif
#if __has_attribute(swift_attr)
# define NS_SWIFT_UI_ACTOR __attribute__((swift_attr("@UIActor")))
#else
# define NS_SWIFT_UI_ACTOR
#endif
#if __has_attribute(swift_async_error)
# define NS_SWIFT_ASYNC_NOTHROW __attribute__((swift_async_error(none)))
# define NS_SWIFT_ASYNC_THROWS_ON_TRUE(TRUE_PARAMETER_INDEX) __attribute__((swift_async_error(nonzero_argument, TRUE_PARAMETER_INDEX)))
# define NS_SWIFT_ASYNC_THROWS_ON_FALSE(FALSE_PARAMETER_INDEX) __attribute__((swift_async_error(zero_argument, FALSE_PARAMETER_INDEX)))
#else
# define NS_SWIFT_ASYNC_NOTHROW
# define NS_SWIFT_ASYNC_THROWS_ON_TRUE(TRUE_PARAMETER_INDEX)
# define NS_SWIFT_ASYNC_THROWS_ON_FALSE(FALSE_PARAMETER_INDEX)
#endif
#if !defined(NS_UNAVAILABLE)
#define NS_UNAVAILABLE UNAVAILABLE_ATTRIBUTE
#endif
#if !defined(__unsafe_unretained)
#define __unsafe_unretained
#endif
#include <CoreFoundation/CFAvailability.h>
#define NS_AVAILABLE(_mac, _ios) CF_AVAILABLE(_mac, _ios)
#define NS_AVAILABLE_MAC(_mac) CF_AVAILABLE_MAC(_mac)
#define NS_AVAILABLE_IOS(_ios) CF_AVAILABLE_IOS(_ios)
#define NS_DEPRECATED(_macIntro, _macDep, _iosIntro, _iosDep, ...) CF_DEPRECATED(_macIntro, _macDep, _iosIntro, _iosDep, __VA_ARGS__)
#define NS_DEPRECATED_MAC(_macIntro, _macDep, ...) CF_DEPRECATED_MAC(_macIntro, _macDep, __VA_ARGS__)
#define NS_DEPRECATED_IOS(_iosIntro, _iosDep, ...) CF_DEPRECATED_IOS(_iosIntro, _iosDep, __VA_ARGS__)
#define NS_DEPRECATED_WITH_REPLACEMENT_MAC(_rep, _macIntroduced, _macDeprecated) API_DEPRECATED_WITH_REPLACEMENT(_rep, macosx(_macIntroduced, _macDeprecated)) API_UNAVAILABLE(ios, watchos, tvos)
#define NS_ENUM_AVAILABLE(_mac, _ios) CF_ENUM_AVAILABLE(_mac, _ios)
#define NS_ENUM_AVAILABLE_MAC(_mac) CF_ENUM_AVAILABLE_MAC(_mac)
#define NS_ENUM_AVAILABLE_IOS(_ios) CF_ENUM_AVAILABLE_IOS(_ios)
#define NS_ENUM_DEPRECATED(_macIntro, _macDep, _iosIntro, _iosDep, ...) CF_ENUM_DEPRECATED(_macIntro, _macDep, _iosIntro, _iosDep, __VA_ARGS__)
#define NS_ENUM_DEPRECATED_MAC(_macIntro, _macDep, ...) CF_ENUM_DEPRECATED_MAC(_macIntro, _macDep, __VA_ARGS__)
#define NS_ENUM_DEPRECATED_IOS(_iosIntro, _iosDep, ...) CF_ENUM_DEPRECATED_IOS(_iosIntro, _iosDep, __VA_ARGS__)
#define NS_AVAILABLE_IPHONE(_ios) CF_AVAILABLE_IOS(_ios)
#define NS_DEPRECATED_IPHONE(_iosIntro, _iosDep) CF_DEPRECATED_IOS(_iosIntro, _iosDep)
/* NS_ENUM supports the use of one or two arguments. The first argument is always the integer type used for the values of the enum. The second argument is an optional type name for the macro. When specifying a type name, you must precede the macro with 'typedef' like so:
typedef NS_ENUM(NSInteger, NSComparisonResult) {
...
};
If you do not specify a type name, do not use 'typedef'. For example:
NS_ENUM(NSInteger) {
...
};
*/
#define NS_ENUM(...) CF_ENUM(__VA_ARGS__)
#define NS_OPTIONS(_type, _name) CF_OPTIONS(_type, _name)
/* NS_CLOSED_ENUM is only for enums which are guaranteed to never gain an additional case.
Usually, this is because the enum represents a mathematically complete set. For example: NSComparisonResult. Once an enum is marked as closed, it is a binary and source incompatible change to add a new value. If there is any doubt about an enum gaining a private or additional public case in the future, use NS_ENUM instead.
*/
#define NS_CLOSED_ENUM(_type, _name) CF_CLOSED_ENUM(_type, _name)
/* */
#define _NS_TYPED_ENUM _CF_TYPED_ENUM
#define _NS_TYPED_EXTENSIBLE_ENUM _CF_TYPED_EXTENSIBLE_ENUM
// Note: NS_TYPED_ENUM is preferred to NS_STRING_ENUM
#define NS_STRING_ENUM _NS_TYPED_ENUM
// Note: NS_TYPED_EXTENSIBLE_ENUM is preferred to NS_EXTENSIBLE_STRING_ENUM
#define NS_EXTENSIBLE_STRING_ENUM _NS_TYPED_EXTENSIBLE_ENUM
#define NS_TYPED_ENUM _NS_TYPED_ENUM
#define NS_TYPED_EXTENSIBLE_ENUM _NS_TYPED_EXTENSIBLE_ENUM
#define __NS_ERROR_ENUM_GET_MACRO(_1, _2, NAME, ...) NAME
#if ((__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && __has_feature(objc_fixed_enum))) && __has_attribute(ns_error_domain)
#define __NS_NAMED_ERROR_ENUM(_domain, _name) enum _name : NSInteger _name; enum __attribute__((ns_error_domain(_domain))) _name : NSInteger
#define __NS_ANON_ERROR_ENUM(_domain) enum __attribute__((ns_error_domain(_domain))) : NSInteger
#else
#define __NS_NAMED_ERROR_ENUM(_domain, _name) NS_ENUM(NSInteger, _name)
#define __NS_ANON_ERROR_ENUM(_domain) NS_ENUM(NSInteger)
#endif
/* NS_ERROR_ENUM supports the use of one or two arguments. The first argument is always the domain specifier for the enum. The second argument is an optional name of the typedef for the macro. When specifying a name for of the typedef, you must precede the macro with 'typedef' like so:
typedef NS_ERROR_ENUM(MyErrorDomain, SomeErrorCodes) {
...
};
If you do not specify a typedef name, do not use 'typedef', like so:
NS_ERROR_ENUM(MyErrorDomain) {
...
};
*/
#define NS_ERROR_ENUM(...) __NS_ERROR_ENUM_GET_MACRO(__VA_ARGS__, __NS_NAMED_ERROR_ENUM, __NS_ANON_ERROR_ENUM)(__VA_ARGS__)
#define NS_SWIFT_BRIDGED_TYPEDEF CF_SWIFT_BRIDGED_TYPEDEF
// This macro is to be used by system frameworks to support the weak linking of classes. Weak linking is supported on iOS 3.1 and Mac OS X 10.6.8 or later.
#if (__MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_6 || __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_3_1) && \
((__has_feature(objc_weak_class) || \
(defined(__llvm__) && defined(__APPLE_CC__) && (__APPLE_CC__ >= 5658)) || \
(defined(__APPLE_CC__) && (__APPLE_CC__ >= 5666))))
#define NS_CLASS_AVAILABLE(_mac, _ios) __attribute__((visibility("default"))) NS_AVAILABLE(_mac, _ios)
#define NS_CLASS_DEPRECATED(_mac, _macDep, _ios, _iosDep, ...) __attribute__((visibility("default"))) NS_DEPRECATED(_mac, _macDep, _ios, _iosDep, __VA_ARGS__)
#else
// class weak import is not supported
#define NS_CLASS_AVAILABLE(_mac, _ios)
#define NS_CLASS_DEPRECATED(_mac, _macDep, _ios, _iosDep, ...)
#endif
#define NS_CLASS_AVAILABLE_IOS(_ios) NS_CLASS_AVAILABLE(NA, _ios)
#define NS_CLASS_AVAILABLE_MAC(_mac) NS_CLASS_AVAILABLE(_mac, NA)
#define NS_CLASS_DEPRECATED_MAC(_macIntro, _macDep, ...) NS_CLASS_DEPRECATED(_macIntro, _macDep, NA, NA, __VA_ARGS__)
#define NS_CLASS_DEPRECATED_IOS(_iosIntro, _iosDep, ...) NS_CLASS_DEPRECATED(NA, NA, _iosIntro, _iosDep, __VA_ARGS__)
#define NS_EXTENSION_UNAVAILABLE(_msg) __OS_EXTENSION_UNAVAILABLE(_msg)
#define NS_EXTENSION_UNAVAILABLE_MAC(_msg) __OSX_EXTENSION_UNAVAILABLE(_msg)
#define NS_EXTENSION_UNAVAILABLE_IOS(_msg) __IOS_EXTENSION_UNAVAILABLE(_msg)
#define NS_SWIFT_UNAVAILABLE(_msg) CF_SWIFT_UNAVAILABLE(_msg)
#ifndef NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
#endif
#ifndef NS_ASSUME_NONNULL_END
#define NS_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
#endif
#define NS_REFINED_FOR_SWIFT CF_REFINED_FOR_SWIFT
#define NS_SWIFT_NAME(_name) CF_SWIFT_NAME(_name)
#define NS_NOESCAPE CF_NOESCAPE
#if __has_attribute(swift_error)
#define NS_SWIFT_NOTHROW __attribute__((swift_error(none)))
#else
#define NS_SWIFT_NOTHROW
#endif
#define NS_WARN_UNUSED_RESULT CF_WARN_UNUSED_RESULT
// There is no need to use this macro any longer, the last Foundation epoch
// was 8 and that is now assumed to be the final version.
#define FOUNDATION_SWIFT_SDK_EPOCH_AT_LEAST(__epoch__) (!defined(SWIFT_CLASS_EXTRA))
NS_ASSUME_NONNULL_BEGIN
FOUNDATION_EXPORT double NSFoundationVersionNumber;
#if TARGET_OS_MAC
#define NSFoundationVersionNumber10_0 397.40
#define NSFoundationVersionNumber10_1 425.00
#define NSFoundationVersionNumber10_1_1 425.00
#define NSFoundationVersionNumber10_1_2 425.00
#define NSFoundationVersionNumber10_1_3 425.00
#define NSFoundationVersionNumber10_1_4 425.00
#define NSFoundationVersionNumber10_2 462.00
#define NSFoundationVersionNumber10_2_1 462.00
#define NSFoundationVersionNumber10_2_2 462.00
#define NSFoundationVersionNumber10_2_3 462.00
#define NSFoundationVersionNumber10_2_4 462.00
#define NSFoundationVersionNumber10_2_5 462.00
#define NSFoundationVersionNumber10_2_6 462.00
#define NSFoundationVersionNumber10_2_7 462.70
#define NSFoundationVersionNumber10_2_8 462.70
#define NSFoundationVersionNumber10_3 500.00
#define NSFoundationVersionNumber10_3_1 500.00
#define NSFoundationVersionNumber10_3_2 500.30
#define NSFoundationVersionNumber10_3_3 500.54
#define NSFoundationVersionNumber10_3_4 500.56
#define NSFoundationVersionNumber10_3_5 500.56
#define NSFoundationVersionNumber10_3_6 500.56
#define NSFoundationVersionNumber10_3_7 500.56
#define NSFoundationVersionNumber10_3_8 500.56
#define NSFoundationVersionNumber10_3_9 500.58
#define NSFoundationVersionNumber10_4 567.00
#define NSFoundationVersionNumber10_4_1 567.00
#define NSFoundationVersionNumber10_4_2 567.12
#define NSFoundationVersionNumber10_4_3 567.21
#define NSFoundationVersionNumber10_4_4_Intel 567.23
#define NSFoundationVersionNumber10_4_4_PowerPC 567.21
#define NSFoundationVersionNumber10_4_5 567.25
#define NSFoundationVersionNumber10_4_6 567.26
#define NSFoundationVersionNumber10_4_7 567.27
#define NSFoundationVersionNumber10_4_8 567.28
#define NSFoundationVersionNumber10_4_9 567.29
#define NSFoundationVersionNumber10_4_10 567.29
#define NSFoundationVersionNumber10_4_11 567.36
#define NSFoundationVersionNumber10_5 677.00
#define NSFoundationVersionNumber10_5_1 677.10
#define NSFoundationVersionNumber10_5_2 677.15
#define NSFoundationVersionNumber10_5_3 677.19
#define NSFoundationVersionNumber10_5_4 677.19
#define NSFoundationVersionNumber10_5_5 677.21
#define NSFoundationVersionNumber10_5_6 677.22
#define NSFoundationVersionNumber10_5_7 677.24
#define NSFoundationVersionNumber10_5_8 677.26
#define NSFoundationVersionNumber10_6 751.00
#define NSFoundationVersionNumber10_6_1 751.00
#define NSFoundationVersionNumber10_6_2 751.14
#define NSFoundationVersionNumber10_6_3 751.21
#define NSFoundationVersionNumber10_6_4 751.29
#define NSFoundationVersionNumber10_6_5 751.42
#define NSFoundationVersionNumber10_6_6 751.53
#define NSFoundationVersionNumber10_6_7 751.53
#define NSFoundationVersionNumber10_6_8 751.62
#define NSFoundationVersionNumber10_7 833.10
#define NSFoundationVersionNumber10_7_1 833.10
#define NSFoundationVersionNumber10_7_2 833.20
#define NSFoundationVersionNumber10_7_3 833.24
#define NSFoundationVersionNumber10_7_4 833.25
#define NSFoundationVersionNumber10_8 945.00
#define NSFoundationVersionNumber10_8_1 945.00
#define NSFoundationVersionNumber10_8_2 945.11
#define NSFoundationVersionNumber10_8_3 945.16
#define NSFoundationVersionNumber10_8_4 945.18
#define NSFoundationVersionNumber10_9 1056
#define NSFoundationVersionNumber10_9_1 1056
#define NSFoundationVersionNumber10_9_2 1056.13
#define NSFoundationVersionNumber10_10 1151.16
#define NSFoundationVersionNumber10_10_1 1151.16
#define NSFoundationVersionNumber10_10_2 1152.14
#define NSFoundationVersionNumber10_10_3 1153.20
#define NSFoundationVersionNumber10_10_4 1153.20
#define NSFoundationVersionNumber10_10_5 1154
#define NSFoundationVersionNumber10_10_Max 1199
#define NSFoundationVersionNumber10_11 1252
#define NSFoundationVersionNumber10_11_1 1255.1
#define NSFoundationVersionNumber10_11_2 1256.1
#define NSFoundationVersionNumber10_11_3 1256.1
#define NSFoundationVersionNumber10_11_4 1258
#define NSFoundationVersionNumber10_11_Max 1299
#endif
#if TARGET_OS_IPHONE
#define NSFoundationVersionNumber_iPhoneOS_2_0 678.24
#define NSFoundationVersionNumber_iPhoneOS_2_1 678.26
#define NSFoundationVersionNumber_iPhoneOS_2_2 678.29
#define NSFoundationVersionNumber_iPhoneOS_3_0 678.47
#define NSFoundationVersionNumber_iPhoneOS_3_1 678.51
#define NSFoundationVersionNumber_iPhoneOS_3_2 678.60
#define NSFoundationVersionNumber_iOS_4_0 751.32
#define NSFoundationVersionNumber_iOS_4_1 751.37
#define NSFoundationVersionNumber_iOS_4_2 751.49
#define NSFoundationVersionNumber_iOS_4_3 751.49
#define NSFoundationVersionNumber_iOS_5_0 881.00
#define NSFoundationVersionNumber_iOS_5_1 890.10
#define NSFoundationVersionNumber_iOS_6_0 992.00
#define NSFoundationVersionNumber_iOS_6_1 993.00
#define NSFoundationVersionNumber_iOS_7_0 1047.20
#define NSFoundationVersionNumber_iOS_7_1 1047.25
#define NSFoundationVersionNumber_iOS_8_0 1140.11
#define NSFoundationVersionNumber_iOS_8_1 1141.1
#define NSFoundationVersionNumber_iOS_8_2 1142.14
#define NSFoundationVersionNumber_iOS_8_3 1144.17
#define NSFoundationVersionNumber_iOS_8_4 1144.17
#define NSFoundationVersionNumber_iOS_8_x_Max 1199
#define NSFoundationVersionNumber_iOS_9_0 1240.1
#define NSFoundationVersionNumber_iOS_9_1 1241.14
#define NSFoundationVersionNumber_iOS_9_2 1242.12
#define NSFoundationVersionNumber_iOS_9_3 1242.12
#define NSFoundationVersionNumber_iOS_9_4 1280.25
#define NSFoundationVersionNumber_iOS_9_x_Max 1299
#endif
@class NSString, Protocol;
typedef NSString * NSExceptionName NS_TYPED_EXTENSIBLE_ENUM;
typedef NSString * NSRunLoopMode NS_TYPED_EXTENSIBLE_ENUM;
FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
FOUNDATION_EXPORT SEL NSSelectorFromString(NSString *aSelectorName);
FOUNDATION_EXPORT NSString *NSStringFromClass(Class aClass);
FOUNDATION_EXPORT Class _Nullable NSClassFromString(NSString *aClassName);
FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT const char *NSGetSizeAndAlignment(const char *typePtr, NSUInteger * _Nullable sizep, NSUInteger * _Nullable alignp);
FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL;
FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL;
/*
These constants are used to indicate how items in a request are ordered, from the first one given in a method invocation or function call to the last (that is, left to right in code).
Given the function:
NSComparisonResult f(int a, int b)
If:
a < b then return NSOrderedAscending. The left operand is smaller than the right operand.
a > b then return NSOrderedDescending. The left operand is greater than the right operand.
a == b then return NSOrderedSame. The operands are equal.
*/
typedef NS_CLOSED_ENUM(NSInteger, NSComparisonResult) {
NSOrderedAscending = -1L,
NSOrderedSame,
NSOrderedDescending
};
typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
typedef NS_OPTIONS(NSUInteger, NSEnumerationOptions) {
NSEnumerationConcurrent = (1UL << 0),
NSEnumerationReverse = (1UL << 1),
};
typedef NS_OPTIONS(NSUInteger, NSSortOptions) {
NSSortConcurrent = (1UL << 0),
NSSortStable = (1UL << 4),
};
typedef NS_ENUM(NSInteger, NSQualityOfService) {
NSQualityOfServiceUserInteractive = 0x21,
NSQualityOfServiceUserInitiated = 0x19,
NSQualityOfServiceUtility = 0x11,
NSQualityOfServiceBackground = 0x09,
NSQualityOfServiceDefault = -1
} API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
static const NSInteger NSNotFound = NSIntegerMax;
NS_ASSUME_NONNULL_END
#if !defined(YES)
#define YES (BOOL)1
#endif
#if !defined(NO)
#define NO (BOOL)0
#endif
#if !defined(NS_SUPPRESS_MIN_MAX_ABS)
#if (defined(__GNUC__) || defined(__clang__)) && !defined(__STRICT_ANSI__)
#if __clang__
#define __NSX_PASTE__(A,B) A##B
#if !defined(MIN)
#define __NSMIN_IMPL__(A,B,L) ({ __typeof__(A) __NSX_PASTE__(__a,L) = (A); __typeof__(B) __NSX_PASTE__(__b,L) = (B); (__NSX_PASTE__(__a,L) < __NSX_PASTE__(__b,L)) ? __NSX_PASTE__(__a,L) : __NSX_PASTE__(__b,L); })
#define MIN(A,B) __NSMIN_IMPL__(A,B,__COUNTER__)
#endif
#if !defined(MAX)
#define __NSMAX_IMPL__(A,B,L) ({ __typeof__(A) __NSX_PASTE__(__a,L) = (A); __typeof__(B) __NSX_PASTE__(__b,L) = (B); (__NSX_PASTE__(__a,L) < __NSX_PASTE__(__b,L)) ? __NSX_PASTE__(__b,L) : __NSX_PASTE__(__a,L); })
#define MAX(A,B) __NSMAX_IMPL__(A,B,__COUNTER__)
#endif
#if !defined(ABS)
#define __NSABS_IMPL__(A,L) ({ __typeof__(A) __NSX_PASTE__(__a,L) = (A); (__NSX_PASTE__(__a,L) < 0) ? - __NSX_PASTE__(__a,L) : __NSX_PASTE__(__a,L); })
#define ABS(A) __NSABS_IMPL__(A,__COUNTER__)
#endif
#else
#if !defined(MIN)
#define MIN(A,B) ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __a : __b; })
#endif
#if !defined(MAX)
#define MAX(A,B) ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __b : __a; })
#endif
#if !defined(ABS)
#define ABS(A) ({ __typeof__(A) __a = (A); __a < 0 ? -__a : __a; })
#endif
#endif
#else
#if !defined(MIN)
#define MIN(A,B) ((A) < (B) ? (A) : (B))
#endif
#if !defined(MAX)
#define MAX(A,B) ((A) > (B) ? (A) : (B))
#endif
#if !defined(ABS)
#define ABS(A) ((A) < 0 ? (-(A)) : (A))
#endif
#endif
#if __has_include(<ptrauth.h>)
#include <ptrauth.h>
#endif
#ifndef __ptrauth_objc_isa_pointer
#define __ptrauth_objc_isa_pointer
#endif
#endif
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h | /* NSLengthFormatter.h
Copyright (c) 2014-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, NSLengthFormatterUnit) {
NSLengthFormatterUnitMillimeter = 8,
NSLengthFormatterUnitCentimeter = 9,
NSLengthFormatterUnitMeter = 11,
NSLengthFormatterUnitKilometer = 14,
NSLengthFormatterUnitInch = (5 << 8) + 1,
NSLengthFormatterUnitFoot = (5 << 8) + 2,
NSLengthFormatterUnitYard = (5 << 8) + 3,
NSLengthFormatterUnitMile = (5 << 8) + 4,
} API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
@interface NSLengthFormatter : NSFormatter {
@private
void *_formatter;
BOOL _isForPersonHeight;
void *_reserved[2];
}
@property (null_resettable, copy) NSNumberFormatter *numberFormatter; // default is NSNumberFormatter with NSNumberFormatterDecimalStyle
@property NSFormattingUnitStyle unitStyle; // default is NSFormattingUnitStyleMedium
@property (getter = isForPersonHeightUse) BOOL forPersonHeightUse; // default is NO; if it is set to YES, the number argument for -stringFromMeters: and -unitStringFromMeters: is considered as a person's height
// Format a combination of a number and an unit to a localized string.
- (NSString *)stringFromValue:(double)value unit:(NSLengthFormatterUnit)unit;
// Format a number in meters to a localized string with the locale-appropriate unit and an appropriate scale (e.g. 4.3m = 14.1ft in the US locale).
- (NSString *)stringFromMeters:(double)numberInMeters;
// Return a localized string of the given unit, and if the unit is singular or plural is based on the given number.
- (NSString *)unitStringFromValue:(double)value unit:(NSLengthFormatterUnit)unit;
// Return the locale-appropriate unit, the same unit used by -stringFromMeters:.
- (NSString *)unitStringFromMeters:(double)numberInMeters usedUnit:(nullable NSLengthFormatterUnit *)unitp;
// No parsing is supported. This method will return NO.
- (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString *)string errorDescription:(out NSString * _Nullable * _Nullable)error;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h | /* NSStream.h
Copyright (c) 2003-2019, Apple Inc. All rights reserved
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSError.h>
@class NSData, NSDictionary, NSError, NSHost, NSInputStream, NSOutputStream, NSRunLoop, NSString, NSURL;
@protocol NSStreamDelegate;
typedef NSString * NSStreamPropertyKey NS_TYPED_EXTENSIBLE_ENUM;
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, NSStreamStatus) {
NSStreamStatusNotOpen = 0,
NSStreamStatusOpening = 1,
NSStreamStatusOpen = 2,
NSStreamStatusReading = 3,
NSStreamStatusWriting = 4,
NSStreamStatusAtEnd = 5,
NSStreamStatusClosed = 6,
NSStreamStatusError = 7
};
typedef NS_OPTIONS(NSUInteger, NSStreamEvent) {
NSStreamEventNone = 0,
NSStreamEventOpenCompleted = 1UL << 0,
NSStreamEventHasBytesAvailable = 1UL << 1,
NSStreamEventHasSpaceAvailable = 1UL << 2,
NSStreamEventErrorOccurred = 1UL << 3,
NSStreamEventEndEncountered = 1UL << 4
};
// NSStream is an abstract class encapsulating the common API to NSInputStream and NSOutputStream.
// Subclassers of NSInputStream and NSOutputStream must also implement these methods.
@interface NSStream : NSObject
- (void)open;
- (void)close;
@property (nullable, assign) id <NSStreamDelegate> delegate;
// By default, a stream is its own delegate, and subclassers of NSInputStream and NSOutputStream must maintain this contract. [someStream setDelegate:nil] must restore this behavior. As usual, delegates are not retained.
- (nullable id)propertyForKey:(NSStreamPropertyKey)key;
- (BOOL)setProperty:(nullable id)property forKey:(NSStreamPropertyKey)key;
- (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSRunLoopMode)mode;
- (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSRunLoopMode)mode;
@property (readonly) NSStreamStatus streamStatus;
@property (nullable, readonly, copy) NSError *streamError;
@end
// NSInputStream is an abstract class representing the base functionality of a read stream.
// Subclassers are required to implement these methods.
@interface NSInputStream : NSStream
- (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len;
// reads up to length bytes into the supplied buffer, which must be at least of size len. Returns the actual number of bytes read.
- (BOOL)getBuffer:(uint8_t * _Nullable * _Nonnull)buffer length:(NSUInteger *)len;
// returns in O(1) a pointer to the buffer in 'buffer' and by reference in 'len' how many bytes are available. This buffer is only valid until the next stream operation. Subclassers may return NO for this if it is not appropriate for the stream type. This may return NO if the buffer is not available.
@property (readonly) BOOL hasBytesAvailable;
// returns YES if the stream has bytes available or if it impossible to tell without actually doing the read.
- (instancetype)initWithData:(NSData *)data NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithURL:(NSURL *)url API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) NS_DESIGNATED_INITIALIZER;
@end
// NSOutputStream is an abstract class representing the base functionality of a write stream.
// Subclassers are required to implement these methods.
@interface NSOutputStream : NSStream
- (NSInteger)write:(const uint8_t *)buffer maxLength:(NSUInteger)len;
// writes the bytes from the specified buffer to the stream up to len bytes. Returns the number of bytes actually written.
@property (readonly) BOOL hasSpaceAvailable;
// returns YES if the stream can be written to or if it is impossible to tell without actually doing the write.
- (instancetype)initToMemory NS_DESIGNATED_INITIALIZER;
- (instancetype)initToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithURL:(NSURL *)url append:(BOOL)shouldAppend API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)) NS_DESIGNATED_INITIALIZER;
@end
@interface NSStream (NSSocketStreamCreationExtensions)
+ (void)getStreamsToHostWithName:(NSString *)hostname port:(NSInteger)port inputStream:(NSInputStream * _Nullable * _Nullable)inputStream outputStream:(NSOutputStream * _Nullable * _Nullable)outputStream API_DEPRECATED("Use nw_connection_t in Network framework instead", macos(10.10, API_TO_BE_DEPRECATED), ios(8.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos);
#if TARGET_OS_OSX
+ (void)getStreamsToHost:(NSHost *)host port:(NSInteger)port inputStream:(NSInputStream * _Nullable * _Nullable)inputStream outputStream:(NSOutputStream * _Nullable * _Nullable)outputStream API_DEPRECATED("Use nw_connection_t in Network framework instead", macos(10.3,10.10)) API_UNAVAILABLE(ios, watchos, tvos);
#endif
@end
@interface NSStream (NSStreamBoundPairCreationExtensions)
+ (void)getBoundStreamsWithBufferSize:(NSUInteger)bufferSize inputStream:(NSInputStream * _Nullable * _Nullable)inputStream outputStream:(NSOutputStream * _Nullable * _Nullable)outputStream API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
@end
// The NSInputStreamExtensions category contains additional initializers and convenience routines for dealing with NSInputStreams.
@interface NSInputStream (NSInputStreamExtensions)
- (nullable instancetype)initWithFileAtPath:(NSString *)path;
+ (nullable instancetype)inputStreamWithData:(NSData *)data;
+ (nullable instancetype)inputStreamWithFileAtPath:(NSString *)path;
+ (nullable instancetype)inputStreamWithURL:(NSURL *)url API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
@end
// The NSOutputStreamExtensions category contains additional initializers and convenience routines for dealing with NSOutputStreams.
@interface NSOutputStream (NSOutputStreamExtensions)
- (nullable instancetype)initToFileAtPath:(NSString *)path append:(BOOL)shouldAppend;
+ (instancetype)outputStreamToMemory;
+ (instancetype)outputStreamToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity;
+ (instancetype)outputStreamToFileAtPath:(NSString *)path append:(BOOL)shouldAppend;
+ (nullable instancetype)outputStreamWithURL:(NSURL *)url append:(BOOL)shouldAppend API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
@end
@protocol NSStreamDelegate <NSObject>
@optional
- (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)eventCode;
@end
// NSString constants for the propertyForKey/setProperty:forKey: API
// String constants for the setting of the socket security level.
FOUNDATION_EXPORT NSStreamPropertyKey const NSStreamSocketSecurityLevelKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0)); // use this as the key for setting one of the following values for the security level of the target stream.
typedef NSString * NSStreamSocketSecurityLevel NS_TYPED_ENUM;
FOUNDATION_EXPORT NSStreamSocketSecurityLevel const NSStreamSocketSecurityLevelNone API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamSocketSecurityLevel const NSStreamSocketSecurityLevelSSLv2 API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamSocketSecurityLevel const NSStreamSocketSecurityLevelSSLv3 API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamSocketSecurityLevel const NSStreamSocketSecurityLevelTLSv1 API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamSocketSecurityLevel const NSStreamSocketSecurityLevelNegotiatedSSL API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamPropertyKey const NSStreamSOCKSProxyConfigurationKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0)); // Value is an NSDictionary containing the key/value pairs below. The dictionary returned from SystemConfiguration for SOCKS proxies will work without alteration.
typedef NSString * NSStreamSOCKSProxyConfiguration NS_TYPED_ENUM;
FOUNDATION_EXPORT NSStreamSOCKSProxyConfiguration const NSStreamSOCKSProxyHostKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value is an NSString
FOUNDATION_EXPORT NSStreamSOCKSProxyConfiguration const NSStreamSOCKSProxyPortKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value is an NSNumber
FOUNDATION_EXPORT NSStreamSOCKSProxyConfiguration const NSStreamSOCKSProxyVersionKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value is one of NSStreamSOCKSProxyVersion4 or NSStreamSOCKSProxyVersion5
FOUNDATION_EXPORT NSStreamSOCKSProxyConfiguration const NSStreamSOCKSProxyUserKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value is an NSString
FOUNDATION_EXPORT NSStreamSOCKSProxyConfiguration const NSStreamSOCKSProxyPasswordKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value is an NSString
typedef NSString * NSStreamSOCKSProxyVersion NS_TYPED_ENUM;
FOUNDATION_EXPORT NSStreamSOCKSProxyVersion const NSStreamSOCKSProxyVersion4 API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value for NSStreamSOCKProxyVersionKey
FOUNDATION_EXPORT NSStreamSOCKSProxyVersion const NSStreamSOCKSProxyVersion5 API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value for NSStreamSOCKProxyVersionKey
FOUNDATION_EXPORT NSStreamPropertyKey const NSStreamDataWrittenToMemoryStreamKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Key for obtaining the data written to a memory stream.
FOUNDATION_EXPORT NSStreamPropertyKey const NSStreamFileCurrentOffsetKey API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Value is an NSNumber representing the current absolute offset of the stream.
// NSString constants for error domains.
FOUNDATION_EXPORT NSErrorDomain const NSStreamSocketSSLErrorDomain API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// SSL errors are to be interpreted via <Security/SecureTransport.h>
FOUNDATION_EXPORT NSErrorDomain const NSStreamSOCKSErrorDomain API_AVAILABLE(macos(10.3), ios(2.0), watchos(2.0), tvos(9.0));
// Property key to specify the type of service for the stream. This
// allows the system to properly handle the request with respect to
// routing, suspension behavior and other networking related attributes
// appropriate for the given service type. The service types supported
// are documented below.
FOUNDATION_EXPORT NSStreamPropertyKey const NSStreamNetworkServiceType API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
typedef NSString * NSStreamNetworkServiceTypeValue NS_TYPED_ENUM;
// Supported network service types:
FOUNDATION_EXPORT NSStreamNetworkServiceTypeValue const NSStreamNetworkServiceTypeVoIP API_AVAILABLE(macos(10.7), ios(4.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamNetworkServiceTypeValue const NSStreamNetworkServiceTypeVideo API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamNetworkServiceTypeValue const NSStreamNetworkServiceTypeBackground API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamNetworkServiceTypeValue const NSStreamNetworkServiceTypeVoice API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
FOUNDATION_EXPORT NSStreamNetworkServiceTypeValue const NSStreamNetworkServiceTypeCallSignaling API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h | /*
NSURLProtectionSpace.h
Copyright (c) 2003-2019, Apple Inc. All rights reserved.
Public header file.
*/
#import <Foundation/NSObject.h>
#import <Security/Security.h>
@class NSString;
@class NSArray<ObjectType>;
@class NSData;
NS_ASSUME_NONNULL_BEGIN
/*!
@const NSURLProtectionSpaceHTTP
@abstract The protocol for HTTP
*/
FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceHTTP API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLProtectionSpaceHTTPS
@abstract The protocol for HTTPS
*/
FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceHTTPS API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLProtectionSpaceFTP
@abstract The protocol for FTP
*/
FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceFTP API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLProtectionSpaceHTTPProxy
@abstract The proxy type for http proxies
*/
FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceHTTPProxy API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLProtectionSpaceHTTPSProxy
@abstract The proxy type for https proxies
*/
FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceHTTPSProxy API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLProtectionSpaceFTPProxy
@abstract The proxy type for ftp proxies
*/
FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceFTPProxy API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLProtectionSpaceSOCKSProxy
@abstract The proxy type for SOCKS proxies
*/
FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceSOCKSProxy API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodDefault
@abstract The default authentication method for a protocol
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodDefault API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodHTTPBasic
@abstract HTTP basic authentication. Equivalent to
NSURLAuthenticationMethodDefault for http.
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodHTTPBasic API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodHTTPDigest
@abstract HTTP digest authentication.
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodHTTPDigest API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodHTMLForm
@abstract HTML form authentication. Applies to any protocol.
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodHTMLForm API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodNTLM
@abstract NTLM authentication.
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodNTLM API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodNegotiate
@abstract Negotiate authentication.
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodNegotiate API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodClientCertificate
@abstract SSL Client certificate. Applies to any protocol.
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodClientCertificate API_AVAILABLE(macos(10.6), ios(3.0), watchos(2.0), tvos(9.0));
/*!
@const NSURLAuthenticationMethodServerTrust
@abstract SecTrustRef validation required. Applies to any protocol.
*/
FOUNDATION_EXPORT NSString * const NSURLAuthenticationMethodServerTrust API_AVAILABLE(macos(10.6), ios(3.0), watchos(2.0), tvos(9.0));
@class NSURLProtectionSpaceInternal;
/*!
@class NSURLProtectionSpace
@discussion This class represents a protection space requiring authentication.
*/
API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
@interface NSURLProtectionSpace : NSObject <NSSecureCoding, NSCopying>
{
@private
NSURLProtectionSpaceInternal *_internal;
}
/*!
@method initWithHost:port:protocol:realm:authenticationMethod:
@abstract Initialize a protection space representing an origin server, or a realm on one
@param host The hostname of the server
@param port The port for the server
@param protocol The sprotocol for this server - e.g. "http", "ftp", "https"
@param realm A string indicating a protocol-specific subdivision
of a single host. For http and https, this maps to the realm
string in http authentication challenges. For many other protocols
it is unused.
@param authenticationMethod The authentication method to use to access this protection space -
valid values include nil (default method), @"digest" and @"form".
@result The initialized object.
*/
- (instancetype)initWithHost:(NSString *)host port:(NSInteger)port protocol:(nullable NSString *)protocol realm:(nullable NSString *)realm authenticationMethod:(nullable NSString *)authenticationMethod;
/*!
@method initWithProxyHost:port:type:realm:authenticationMethod:
@abstract Initialize a protection space representing a proxy server, or a realm on one
@param host The hostname of the proxy server
@param port The port for the proxy server
@param type The type of proxy - e.g. "http", "ftp", "SOCKS"
@param realm A string indicating a protocol-specific subdivision
of a single host. For http and https, this maps to the realm
string in http authentication challenges. For many other protocols
it is unused.
@param authenticationMethod The authentication method to use to access this protection space -
valid values include nil (default method) and @"digest"
@result The initialized object.
*/
- (instancetype)initWithProxyHost:(NSString *)host port:(NSInteger)port type:(nullable NSString *)type realm:(nullable NSString *)realm authenticationMethod:(nullable NSString *)authenticationMethod;
/*!
@abstract Get the authentication realm for which the protection space that
needs authentication
@discussion This is generally only available for http
authentication, and may be nil otherwise.
@result The realm string
*/
@property (nullable, readonly, copy) NSString *realm;
/*!
@abstract Determine if the password for this protection space can be sent securely
@result YES if a secure authentication method or protocol will be used, NO otherwise
*/
@property (readonly) BOOL receivesCredentialSecurely;
/*!
@abstract Determine if this authenticating protection space is a proxy server
@result YES if a proxy, NO otherwise
*/
@property (readonly) BOOL isProxy;
/*!
@abstract Get the proxy host if this is a proxy authentication, or the host from the URL.
@result The host for this protection space.
*/
@property (readonly, copy) NSString *host;
/*!
@abstract Get the proxy port if this is a proxy authentication, or the port from the URL.
@result The port for this protection space, or 0 if not set.
*/
@property (readonly) NSInteger port;
/*!
@abstract Get the type of this protection space, if a proxy
@result The type string, or nil if not a proxy.
*/
@property (nullable, readonly, copy) NSString *proxyType;
/*!
@abstract Get the protocol of this protection space, if not a proxy
@result The type string, or nil if a proxy.
*/
@property (nullable, readonly, copy) NSString *protocol;
/*!
@abstract Get the authentication method to be used for this protection space
@result The authentication method
*/
@property (readonly, copy) NSString *authenticationMethod;
@end
/*!
@discussion This category supplies additional information for use when a client certificate is required by the server in order to complete authentication.
*/
@interface NSURLProtectionSpace(NSClientCertificateSpace)
/*!
@abstract Returns an array of acceptable certificate issuing authorities for client certification authentication. Issuers are identified by their distinguished name and returned as a DER encoded data.
@result An array of NSData objects. (Nil if the authenticationMethod is not NSURLAuthenticationMethodClientCertificate)
*/
@property (nullable, readonly, copy) NSArray<NSData *> *distinguishedNames API_AVAILABLE(macos(10.6), ios(3.0), watchos(2.0), tvos(9.0));
@end
/*!
@discussion This category supplies additional information for use by the client to evaluate whether to trust a given server during a security handshake.
*/
@interface NSURLProtectionSpace(NSServerTrustValidationSpace)
/*!
@abstract Returns a SecTrustRef which represents the state of the servers SSL transaction state
@result A SecTrustRef from Security.framework. (Nil if the authenticationMethod is not NSURLAuthenticationMethodServerTrust)
*/
@property (nullable, readonly) SecTrustRef serverTrust API_AVAILABLE(macos(10.6), ios(3.0), watchos(2.0), tvos(9.0));
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h | /* NSNull.h
Copyright (c) 1994-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSNull : NSObject <NSCopying, NSSecureCoding>
+ (NSNull *)null;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h | /* NSNetServices.h
Copyright (c) 2002-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSDate.h>
#import <Foundation/NSError.h>
#import <Foundation/NSRunLoop.h>
@class NSArray<ObjectType>, NSData, NSDictionary<KeyType, ObjectType>, NSInputStream, NSNumber, NSOutputStream, NSRunLoop, NSString;
@protocol NSNetServiceDelegate, NSNetServiceBrowserDelegate;
NS_ASSUME_NONNULL_BEGIN
#pragma mark Error constants
FOUNDATION_EXPORT NSString * const NSNetServicesErrorCode API_AVAILABLE(macos(10.2), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
FOUNDATION_EXPORT NSErrorDomain const NSNetServicesErrorDomain API_AVAILABLE(macos(10.2), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
typedef NS_ENUM(NSInteger, NSNetServicesError) {
/* An unknown error occured during resolution or publication.
*/
NSNetServicesUnknownError = -72000L,
/* An NSNetService with the same domain, type and name was already present when the publication request was made.
*/
NSNetServicesCollisionError = -72001L,
/* The NSNetService was not found when a resolution request was made.
*/
NSNetServicesNotFoundError = -72002L,
/* A publication or resolution request was sent to an NSNetService instance which was already published or a search request was made of an NSNetServiceBrowser instance which was already searching.
*/
NSNetServicesActivityInProgress = -72003L,
/* An required argument was not provided when initializing the NSNetService instance.
*/
NSNetServicesBadArgumentError = -72004L,
/* The operation being performed by the NSNetService or NSNetServiceBrowser instance was cancelled.
*/
NSNetServicesCancelledError = -72005L,
/* An invalid argument was provided when initializing the NSNetService instance or starting a search with an NSNetServiceBrowser instance.
*/
NSNetServicesInvalidError = -72006L,
/* Resolution of an NSNetService instance failed because the timeout was reached.
*/
NSNetServicesTimeoutError = -72007L,
/* Missing required configuration for local network access.
*
* NSBonjourServices and NSLocalNetworkUsageDescription are required in Info.plist
*/
NSNetServicesMissingRequiredConfigurationError API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0)) API_UNAVAILABLE(watchos) = -72008L,
};
typedef NS_OPTIONS(NSUInteger, NSNetServiceOptions) {
/* When passed to -publishWithOptions:, this suppresses the auto-renaming of an
* NSNetService in the event of a name collision. The collision is reported to the
* instance's delegate on the -netService:didNotPublish: method.
*/
NSNetServiceNoAutoRename = 1UL << 0,
/* When passed to -publishWithOptions:, in addition to publishing the service, a
* TCP listener is started for both IPv4 and IPv6 on the port specified by the
* NSNetService. If the listening port can't be opened, an error is reported using
* -netService:didNotPublish:. Specify a port number of zero to use a random port.
* When -netServiceDidPublish: is called, -port will return the actual listening
* port number. Since the listener only supports TCP, the publish will fail with
* NSNetServicesBadArgumentError if the NSNetService type does not end with "_tcp".
* New incoming connections will be delivered in the form of NSStreams via the
* -netService:didAcceptConnectionWithInputStream:outputStream: delegate method.
*/
NSNetServiceListenForConnections API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0)) = 1UL << 1
};
#pragma mark -
API_DEPRECATED("Use nw_connection_t or nw_listener_t in Network framework instead", macos(10.2, API_TO_BE_DEPRECATED), ios(2.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos)
@interface NSNetService : NSObject {
@private
id _netService;
id _delegate;
id _reserved;
}
/* This is the initializer for publishing. You should use this initializer if you are going to announce the availability of a service on the network. To publish a service in all available domains, pass the empty string as the domain.
*/
- (instancetype)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name port:(int)port NS_DESIGNATED_INITIALIZER;
/* This is the initializer for resolution. If you know the domain, type and name of the service for which you wish to discover addresses, you should initialize an NSNetService instance using this method and call resolve: on the result. If you wish to connect to this service immediately, you should call getInputStream:getOutputStream: on the result and forego the resolution step entirely.
If publish: is called on an NSNetService instance initialized with this method, an NSNetServicesBadArgumentError will be sent in the error dictionary to the delegate's netService:didNotPublish: method.
*/
- (instancetype)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name;
/* NSNetService instances may be scheduled on NSRunLoops to operate in different modes, or in other threads. It is generally not necessary to schedule NSNetServices in other threads. NSNetServices are scheduled in the current thread's NSRunLoop in the NSDefaultRunLoopMode when they are created.
*/
- (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSRunLoopMode)mode;
- (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSRunLoopMode)mode;
/* Set a delegate to receive publish, resolve, or monitor events.
*/
@property (nullable, assign) id <NSNetServiceDelegate> delegate;
/* Initially set to NO. Set to YES to also publish, resolve, or monitor this service over peer to peer Wi-Fi (if available). Must be set before operation starts.
*/
@property BOOL includesPeerToPeer API_AVAILABLE(macos(10.10), ios(7.0), watchos(2.0), tvos(9.0));
/* Returns the name of the discovered or published service.
*/
@property (readonly, copy) NSString *name;
/* Returns the type of the discovered or published service.
*/
@property (readonly, copy) NSString *type;
/* Returns the domain of the discovered or published service.
*/
@property (readonly, copy) NSString *domain;
/* Returns the DNS host name of the computer hosting the discovered or published service. If a successful resolve has not yet occurred, this method will return nil.
*/
@property (nullable, readonly, copy) NSString *hostName;
/* The addresses of the service. This is an NSArray of NSData instances, each of which contains a single struct sockaddr suitable for use with connect(2). In the event that no addresses are resolved for the service or the service has not yet been resolved, an empty NSArray is returned.
*/
@property (nullable, readonly, copy) NSArray<NSData *> *addresses;
/* The port of a resolved service. This returns -1 if the service has not been resolved.
*/
@property (readonly) NSInteger port API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
/* Advertises a given service on the network. This method returns immediately. Success or failure is indicated by callbacks to the NSNetService instance's delegate.
If the name of the service is the default name (@""), then the service will be renamed automatically. If the name of the service has been specified, then the service will not be renamed automatically. If more control over renaming is required, then -[NSNetService publishWithOptions:] is available.
*/
- (void)publish;
/* Advertises a given service on the network. This method returns immediately. Success or failure is indicated by callbacks to the NSNetService instance's delegate.
See the notes above for NSNetServiceNoAutoRename for information about controlling the auto-renaming behavior using this method.
*/
- (void)publishWithOptions:(NSNetServiceOptions)options API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
/* Attempts to determine at least one address for the NSNetService instance. For applications linked on or after Mac OS X 10.4 "Tiger", this method calls -resolveWithTimeout: with a value of 5.0. Applications linked prior to Mac OS X 10.4 "Tiger" must call -stop on the instance after an appropriate (short) amount of time to avoid causing unnecessary network traffic.
*/
- (void)resolve API_DEPRECATED("Not supported", macos(10.2,10.4), ios(2.0,2.0), watchos(2.0,2.0), tvos(9.0,9.0));
/* Halts a service which is either publishing or resolving.
*/
- (void)stop;
/* Returns an NSDictionary created from the provided NSData. The keys will be UTF8-encoded NSStrings. The values are NSDatas. The caller is responsible for interpreting these as types appropriate to the keys. If the NSData cannot be converted into an appropriate NSDictionary, this method will return nil. For applications linked on or after Mac OS X 10.5, this method will throw an NSInvalidException if it is passed nil as the argument.
*/
+ (NSDictionary<NSString *, NSData *> *)dictionaryFromTXTRecordData:(NSData *)txtData;
/* Returns an NSData created from the provided dictionary. The keys in the provided dictionary must be NSStrings, and the values must be NSDatas. If the dictionary cannot be converted into an NSData suitable for a TXT record, this method will return nil. For applications linked on or after Mac OS X 10.5, this method will throw an NSInvalidArgumentException if it is passed nil as the argument.
*/
+ (NSData *)dataFromTXTRecordDictionary:(NSDictionary<NSString *, NSData *> *)txtDictionary;
/* Starts a resolve for the NSNetService instance of the specified duration. If the delegate's -netServiceDidResolveAddress: method is called before the timeout expires, the resolve is successful. If the timeout is reached, the delegate's -netService:didNotResolve: method will be called. The value of the NSNetServicesErrorCode key in the error dictionary will be NSNetServicesTimeoutError.
*/
- (void)resolveWithTimeout:(NSTimeInterval)timeout;
/* Retrieves streams from the NSNetService instance. The instance's delegate methods are not called. Returns YES if the streams requested are created successfully. Returns NO if or any reason the stream could not be created. If only one stream is desired, pass NULL for the address of the other stream. The streams that are created are not open, and are not scheduled in any run loop for any mode.
*/
- (BOOL)getInputStream:(out __strong NSInputStream * _Nullable * _Nullable)inputStream outputStream:(out __strong NSOutputStream * _Nullable * _Nullable)outputStream;
/* Sets the TXT record of the NSNetService instance that has been or will be published. Pass nil to remove the TXT record from the instance.
*/
- (BOOL)setTXTRecordData:(nullable NSData *)recordData;
/* Returns the raw TXT record of the NSNetService instance. If the instance has not been resolved, or the delegate's -netService:didUpdateTXTRecordData: has not been called, this will return nil. It is permitted to have a zero-length TXT record.
*/
- (nullable NSData *)TXTRecordData;
/* Starts monitoring the NSNetService instance for events. In Mac OS X 10.4 Tiger, monitored NSNetService instances inform their delegates of changes to the instance's TXT record by calling the delegate's -netService:didUpdateTXTRecordData: method.
*/
- (void)startMonitoring;
/* Stops monitoring the NSNetService instance for events.
*/
- (void)stopMonitoring;
@end
#pragma mark -
API_DEPRECATED("Use nw_browser_t in Network framework instead", macos(10.2, API_TO_BE_DEPRECATED), ios(2.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos)
@interface NSNetServiceBrowser : NSObject {
@private
id _netServiceBrowser;
id _delegate;
void * _reserved;
}
- (instancetype)init;
/* Set a delegate to receive discovery events.
*/
@property (nullable, assign) id <NSNetServiceBrowserDelegate> delegate;
/* Initially set to NO. Set to YES to also browse over peer to peer Wi-Fi (if available). Must be set before starting to search.
*/
@property BOOL includesPeerToPeer API_AVAILABLE(macos(10.10), ios(7.0), watchos(2.0), tvos(9.0));
/* NSNetServiceBrowser instances may be scheduled on NSRunLoops to operate in different modes, or in other threads. It is generally not necessary to schedule NSNetServiceBrowsers in other threads. NSNetServiceBrowsers are scheduled in the current thread's NSRunLoop in the NSDefaultRunLoopMode when they are created.
*/
- (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSRunLoopMode)mode;
- (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSRunLoopMode)mode;
/* Starts a search for domains that are browsable via Bonjour and the computer's network configuration. Discovered domains are reported to the delegate's -netServiceBrowser:didFindDomain:moreComing: method. There may be more than one browsable domain.
*/
- (void)searchForBrowsableDomains;
/* Starts a search for domains in which the network configuration allows registration (i.e. publishing). Most NSNetServiceBrowser clients do not need to use this API, as it is sufficient to publish an NSNetService instance with the empty string (see -[NSNetService initWithDomain:type:name:port:]). Discovered domains are reported to the delegate's -netServiceBrowser:didFindDomain:moreComing: method. There may be more than one registration domain.
*/
- (void)searchForRegistrationDomains;
/* Starts a search for services of the specified type in the domain indicated by domainString. For each service discovered, a -netServiceBrowser:foundService:moreComing: message is sent to the NSNetServiceBrowser instance's delegate.
*/
- (void)searchForServicesOfType:(NSString *)type inDomain:(NSString *)domainString;
/* Stops the currently running search.
*/
- (void)stop;
@end
#pragma mark -
API_AVAILABLE(macos(10.2), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
@protocol NSNetServiceDelegate <NSObject>
@optional
/* Sent to the NSNetService instance's delegate prior to advertising the service on the network. If for some reason the service cannot be published, the delegate will not receive this message, and an error will be delivered to the delegate via the delegate's -netService:didNotPublish: method.
*/
- (void)netServiceWillPublish:(NSNetService *)sender;
/* Sent to the NSNetService instance's delegate when the publication of the instance is complete and successful.
*/
- (void)netServiceDidPublish:(NSNetService *)sender;
/* Sent to the NSNetService instance's delegate when an error in publishing the instance occurs. The error dictionary will contain two key/value pairs representing the error domain and code (see the NSNetServicesError enumeration above for error code constants). It is possible for an error to occur after a successful publication.
*/
- (void)netService:(NSNetService *)sender didNotPublish:(NSDictionary<NSString *, NSNumber *> *)errorDict;
/* Sent to the NSNetService instance's delegate prior to resolving a service on the network. If for some reason the resolution cannot occur, the delegate will not receive this message, and an error will be delivered to the delegate via the delegate's -netService:didNotResolve: method.
*/
- (void)netServiceWillResolve:(NSNetService *)sender;
/* Sent to the NSNetService instance's delegate when one or more addresses have been resolved for an NSNetService instance. Some NSNetService methods will return different results before and after a successful resolution. An NSNetService instance may get resolved more than once; truly robust clients may wish to resolve again after an error, or to resolve more than once.
*/
- (void)netServiceDidResolveAddress:(NSNetService *)sender;
/* Sent to the NSNetService instance's delegate when an error in resolving the instance occurs. The error dictionary will contain two key/value pairs representing the error domain and code (see the NSNetServicesError enumeration above for error code constants).
*/
- (void)netService:(NSNetService *)sender didNotResolve:(NSDictionary<NSString *, NSNumber *> *)errorDict;
/* Sent to the NSNetService instance's delegate when the instance's previously running publication or resolution request has stopped.
*/
- (void)netServiceDidStop:(NSNetService *)sender;
/* Sent to the NSNetService instance's delegate when the instance is being monitored and the instance's TXT record has been updated. The new record is contained in the data parameter.
*/
- (void)netService:(NSNetService *)sender didUpdateTXTRecordData:(NSData *)data;
/* Sent to a published NSNetService instance's delegate when a new connection is
* received. Before you can communicate with the connecting client, you must -open
* and schedule the streams. To reject a connection, just -open both streams and
* then immediately -close them.
* To enable TLS on the stream, set the various TLS settings using
* kCFStreamPropertySSLSettings before calling -open. You must also specify
* kCFBooleanTrue for kCFStreamSSLIsServer in the settings dictionary along with
* a valid SecIdentityRef as the first entry of kCFStreamSSLCertificates.
*/
- (void)netService:(NSNetService *)sender didAcceptConnectionWithInputStream:(NSInputStream *)inputStream outputStream:(NSOutputStream *)outputStream API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0));
@end
#pragma mark -
API_AVAILABLE(macos(10.2), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
@protocol NSNetServiceBrowserDelegate <NSObject>
@optional
/* Sent to the NSNetServiceBrowser instance's delegate before the instance begins a search. The delegate will not receive this message if the instance is unable to begin a search. Instead, the delegate will receive the -netServiceBrowser:didNotSearch: message.
*/
- (void)netServiceBrowserWillSearch:(NSNetServiceBrowser *)browser;
/* Sent to the NSNetServiceBrowser instance's delegate when the instance's previous running search request has stopped.
*/
- (void)netServiceBrowserDidStopSearch:(NSNetServiceBrowser *)browser;
/* Sent to the NSNetServiceBrowser instance's delegate when an error in searching for domains or services has occurred. The error dictionary will contain two key/value pairs representing the error domain and code (see the NSNetServicesError enumeration above for error code constants). It is possible for an error to occur after a search has been started successfully.
*/
- (void)netServiceBrowser:(NSNetServiceBrowser *)browser didNotSearch:(NSDictionary<NSString *, NSNumber *> *)errorDict;
/* Sent to the NSNetServiceBrowser instance's delegate for each domain discovered. If there are more domains, moreComing will be YES. If for some reason handling discovered domains requires significant processing, accumulating domains until moreComing is NO and then doing the processing in bulk fashion may be desirable.
*/
- (void)netServiceBrowser:(NSNetServiceBrowser *)browser didFindDomain:(NSString *)domainString moreComing:(BOOL)moreComing;
/* Sent to the NSNetServiceBrowser instance's delegate for each service discovered. If there are more services, moreComing will be YES. If for some reason handling discovered services requires significant processing, accumulating services until moreComing is NO and then doing the processing in bulk fashion may be desirable.
*/
- (void)netServiceBrowser:(NSNetServiceBrowser *)browser didFindService:(NSNetService *)service moreComing:(BOOL)moreComing;
/* Sent to the NSNetServiceBrowser instance's delegate when a previously discovered domain is no longer available.
*/
- (void)netServiceBrowser:(NSNetServiceBrowser *)browser didRemoveDomain:(NSString *)domainString moreComing:(BOOL)moreComing;
/* Sent to the NSNetServiceBrowser instance's delegate when a previously discovered service is no longer published.
*/
- (void)netServiceBrowser:(NSNetServiceBrowser *)browser didRemoveService:(NSNetService *)service moreComing:(BOOL)moreComing;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h | /*
NSURLResponse.h
Copyright (c) 2003-2019, Apple Inc. All rights reserved.
Public header file.
*/
#import <Foundation/NSObject.h>
@class NSDictionary<KeyType, ObjectType>;
@class NSString;
@class NSURL;
@class NSURLRequest;
@class NSURLResponseInternal;
NS_ASSUME_NONNULL_BEGIN
#define NSURLResponseUnknownLength ((long long)-1)
/*!
@class NSURLResponse
@abstract An NSURLResponse object represents a URL load response in a
manner independent of protocol and URL scheme.
@discussion NSURLResponse encapsulates the metadata associated
with a URL load. Note that NSURLResponse objects do not contain
the actual bytes representing the content of a URL. See
NSURLConnection and NSURLConnectionDelegate for more information
about receiving the content data for a URL load.
*/
API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
@interface NSURLResponse : NSObject <NSSecureCoding, NSCopying>
{
@package
NSURLResponseInternal *_internal;
}
/*!
@method initWithURL:MIMEType:expectedContentLength:textEncodingName:
@abstract Initialize an NSURLResponse with the provided values.
@param URL the URL
@param MIMEType the MIME content type of the response
@param length the expected content length of the associated data
@param name the name of the text encoding for the associated data, if applicable, else nil
@result The initialized NSURLResponse.
@discussion This is the designated initializer for NSURLResponse.
*/
- (instancetype)initWithURL:(NSURL *)URL MIMEType:(nullable NSString *)MIMEType expectedContentLength:(NSInteger)length textEncodingName:(nullable NSString *)name NS_DESIGNATED_INITIALIZER;
/*!
@abstract Returns the URL of the receiver.
@result The URL of the receiver.
*/
@property (nullable, readonly, copy) NSURL *URL;
/*!
@abstract Returns the MIME type of the receiver.
@discussion The MIME type is based on the information provided
from an origin source. However, that value may be changed or
corrected by a protocol implementation if it can be determined
that the origin server or source reported the information
incorrectly or imprecisely. An attempt to guess the MIME type may
be made if the origin source did not report any such information.
@result The MIME type of the receiver.
*/
@property (nullable, readonly, copy) NSString *MIMEType;
/*!
@abstract Returns the expected content length of the receiver.
@discussion Some protocol implementations report a content length
as part of delivering load metadata, but not all protocols
guarantee the amount of data that will be delivered in actuality.
Hence, this method returns an expected amount. Clients should use
this value as an advisory, and should be prepared to deal with
either more or less data.
@result The expected content length of the receiver, or -1 if
there is no expectation that can be arrived at regarding expected
content length.
*/
@property (readonly) long long expectedContentLength;
/*!
@abstract Returns the name of the text encoding of the receiver.
@discussion This name will be the actual string reported by the
origin source during the course of performing a protocol-specific
URL load. Clients can inspect this string and convert it to an
NSStringEncoding or CFStringEncoding using the methods and
functions made available in the appropriate framework.
@result The name of the text encoding of the receiver, or nil if no
text encoding was specified.
*/
@property (nullable, readonly, copy) NSString *textEncodingName;
/*!
@abstract Returns a suggested filename if the resource were saved to disk.
@discussion The method first checks if the server has specified a filename using the
content disposition header. If no valid filename is specified using that mechanism,
this method checks the last path component of the URL. If no valid filename can be
obtained using the last path component, this method uses the URL's host as the filename.
If the URL's host can't be converted to a valid filename, the filename "unknown" is used.
In mose cases, this method appends the proper file extension based on the MIME type.
This method always returns a valid filename.
@result A suggested filename to use if saving the resource to disk.
*/
@property (nullable, readonly, copy) NSString *suggestedFilename;
@end
@class NSHTTPURLResponseInternal;
/*!
@class NSHTTPURLResponse
@abstract An NSHTTPURLResponse object represents a response to an
HTTP URL load. It is a specialization of NSURLResponse which
provides conveniences for accessing information specific to HTTP
protocol responses.
*/
API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0))
@interface NSHTTPURLResponse : NSURLResponse
{
@package
NSHTTPURLResponseInternal *_httpInternal;
}
/*!
@method initWithURL:statusCode:HTTPVersion:headerFields:
@abstract initializer for NSHTTPURLResponse objects.
@param url the URL from which the response was generated.
@param statusCode an HTTP status code.
@param HTTPVersion The version of the HTTP response as represented by the server. This is typically represented as "HTTP/1.1".
@param headerFields A dictionary representing the header keys and values of the server response.
@result the instance of the object, or NULL if an error occurred during initialization.
@discussion This API was introduced in Mac OS X 10.7.2 and iOS 5.0 and is not available prior to those releases.
*/
- (nullable instancetype)initWithURL:(NSURL *)url statusCode:(NSInteger)statusCode HTTPVersion:(nullable NSString *)HTTPVersion headerFields:(nullable NSDictionary<NSString *, NSString *> *)headerFields API_AVAILABLE(macos(10.7), ios(5.0), watchos(2.0), tvos(9.0));
/*!
@abstract Returns the HTTP status code of the receiver.
@result The HTTP status code of the receiver.
*/
@property (readonly) NSInteger statusCode;
/*!
@abstract Returns a dictionary containing all the HTTP header fields
of the receiver.
@discussion By examining this header dictionary, clients can see
the "raw" header information which was reported to the protocol
implementation by the HTTP server. This may be of use to
sophisticated or special-purpose HTTP clients.
@result A dictionary containing all the HTTP header fields of the
receiver.
*/
@property (readonly, copy) NSDictionary *allHeaderFields;
/*!
@method valueForHTTPHeaderField:
@abstract Returns the value which corresponds to the given header
field. Note that, in keeping with the HTTP RFC, HTTP header field
names are case-insensitive.
@param field the header field name to use for the lookup
(case-insensitive).
@result the value associated with the given header field, or nil if
there is no value associated with the given header field.
*/
- (nullable NSString *)valueForHTTPHeaderField:(NSString *)field API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0), tvos(13.0));
/*!
@method localizedStringForStatusCode:
@abstract Convenience method which returns a localized string
corresponding to the status code for this response.
@param statusCode the status code to use to produce a localized string.
@result A localized string corresponding to the given status code.
*/
+ (NSString *)localizedStringForStatusCode:(NSInteger)statusCode;
@end
NS_ASSUME_NONNULL_END
|
0 | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework | repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h | /* NSDateComponentsFormatter.h
Copyright (c) 2014-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSFormatter.h>
#import <Foundation/NSCalendar.h>
#import <Foundation/NSNumberFormatter.h>
NS_ASSUME_NONNULL_BEGIN
API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
typedef NS_ENUM(NSInteger, NSDateComponentsFormatterUnitsStyle) {
NSDateComponentsFormatterUnitsStylePositional = 0, // "1:10; may fall back to abbreviated units in some cases, e.g. 3d"
NSDateComponentsFormatterUnitsStyleAbbreviated, // "1h 10m"
NSDateComponentsFormatterUnitsStyleShort, // "1 hr, 10 min"
NSDateComponentsFormatterUnitsStyleFull, // "1 hour, 10 minutes"
NSDateComponentsFormatterUnitsStyleSpellOut, // "One hour, ten minutes"
NSDateComponentsFormatterUnitsStyleBrief API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) // "1hr 10min" - Brief is shorter than Short (e.g. in English, it removes the comma)
};
API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
typedef NS_OPTIONS(NSUInteger, NSDateComponentsFormatterZeroFormattingBehavior) {
NSDateComponentsFormatterZeroFormattingBehaviorNone = (0), //drop none, pad none
NSDateComponentsFormatterZeroFormattingBehaviorDefault = (1 << 0), //Positional units: drop leading zeros, pad other zeros. All others: drop all zeros.
NSDateComponentsFormatterZeroFormattingBehaviorDropLeading = (1 << 1), // Off: "0h 10m", On: "10m"
NSDateComponentsFormatterZeroFormattingBehaviorDropMiddle = (1 << 2), // Off: "1h 0m 10s", On: "1h 10s"
NSDateComponentsFormatterZeroFormattingBehaviorDropTrailing = (1 << 3), // Off: "1h 0m", On: "1h"
NSDateComponentsFormatterZeroFormattingBehaviorDropAll = (NSDateComponentsFormatterZeroFormattingBehaviorDropLeading | NSDateComponentsFormatterZeroFormattingBehaviorDropMiddle | NSDateComponentsFormatterZeroFormattingBehaviorDropTrailing),
NSDateComponentsFormatterZeroFormattingBehaviorPad = (1 << 16), // Off: "1:0:10", On: "01:00:10"
};
/* NSDateComponentsFormatter provides locale-correct and flexible string formatting of quantities of time, such as "1 day" or "1h 10m", as specified by NSDateComponents. For formatting intervals of time (such as "2PM to 5PM"), see NSDateIntervalFormatter. NSDateComponentsFormatter is thread-safe, in that calling methods on it from multiple threads will not cause crashes or incorrect results, but it makes no attempt to prevent confusion when one thread sets something and another thread isn't expecting it to change.
*/
API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
@interface NSDateComponentsFormatter : NSFormatter {
@private
pthread_mutex_t _lock;
void *_fmt;
void *_unused;
NSString *_fmtLocaleIdent;
NSCalendar *_calendar;
NSDate *_referenceDate;
NSNumberFormatter *_unitFormatter;
NSCalendarUnit _allowedUnits;
NSFormattingContext _formattingContext;
NSDateComponentsFormatterUnitsStyle _unitsStyle;
NSDateComponentsFormatterZeroFormattingBehavior _zeroFormattingBehavior;
NSInteger _maximumUnitCount;
BOOL _allowsFractionalUnits;
BOOL _collapsesLargestUnit;
BOOL _includesApproximationPhrase;
BOOL _includesTimeRemainingPhrase;
void *_reserved;
}
/* 'obj' must be an instance of NSDateComponents.
*/
- (nullable NSString *)stringForObjectValue:(nullable id)obj;
/* Convenience method for formatting an NSDateComponents object. This calculates the count of the unit(s) starting from referenceDate.
*/
- (nullable NSString *)stringFromDateComponents:(NSDateComponents *)components;
/* Normally, NSDateComponentsFormatter will calculate as though counting from referenceDate (e.g. in February, 1 month formatted as a number of days will be 28). -stringFromDate:toDate: calculates from the passed-in startDate instead.
See 'allowedUnits' for how the default set of allowed units differs from -stringFromDateComponents:.
Note that this is still formatting the quantity of time between the dates, not the pair of dates itself. For strings like "Feb 22nd - Feb 28th", use NSDateIntervalFormatter.
*/
- (nullable NSString *)stringFromDate:(NSDate *)startDate toDate:(NSDate *)endDate;
/* Convenience method for formatting a number of seconds. See 'allowedUnits' for how the default set of allowed units differs from -stringFromDateComponents:. This calculates the count of the unit(s) from referenceDate to the passed-in time interval.
*/
- (nullable NSString *)stringFromTimeInterval:(NSTimeInterval)ti;
+ (nullable NSString *)localizedStringFromDateComponents:(NSDateComponents *)components unitsStyle:(NSDateComponentsFormatterUnitsStyle) unitsStyle;
/* Choose how to indicate units. For example, 1h 10m vs 1:10. Default is NSDateComponentsFormatterUnitsStylePositional.
*/
@property NSDateComponentsFormatterUnitsStyle unitsStyle;
/* Bitmask of units to include. Set to 0 to get the default behavior. Note that, especially if the maximum number of units is low, unit collapsing is on, or zero dropping is on, not all allowed units may actually be used for a given NSDateComponents. Default value is the components of the passed-in NSDateComponents object, or years | months | weeks | days | hours | minutes | seconds if passed an NSTimeInterval or pair of NSDates.
Allowed units are:
NSCalendarUnitYear
NSCalendarUnitMonth
NSCalendarUnitWeekOfMonth (used to mean "quantity of weeks")
NSCalendarUnitDay
NSCalendarUnitHour
NSCalendarUnitMinute
NSCalendarUnitSecond
Specifying any other NSCalendarUnits will result in an exception.
*/
@property NSCalendarUnit allowedUnits;
/* Bitmask specifying how to handle zeros in units. This includes both padding and dropping zeros so that a consistent number digits are displayed, causing updating displays to remain more stable. Default is NSDateComponentsFormatterZeroFormattingBehaviorDefault.
If the combination of zero formatting behavior and style would lead to ambiguous date formats (for example, 1:10 meaning 1 hour, 10 seconds), NSDateComponentsFormatter will throw an exception.
*/
@property NSDateComponentsFormatterZeroFormattingBehavior zeroFormattingBehavior;
/* Specifies the locale and calendar to use for formatting date components that do not themselves have calendars. Defaults to NSAutoupdatingCurrentCalendar. If set to nil, uses the gregorian calendar with the en_US_POSIX locale.
*/
@property (nullable, copy) NSCalendar *calendar;
/* Where units have variable length (number of days in a month, number of hours in a day, etc...), NSDateComponentsFormatter will calculate as though counting from the date specified by the referenceDate in the appropriate calendar. Defaults to [NSDate dateWithTimeIntervalSinceReferenceDate:0] at the time of the -stringForObjectValue: call if not set. Set to nil to get the default behavior.
*/
@property (nullable, copy) NSDate *referenceDate API_AVAILABLE(macosx(10.13), ios(11.0), watchos(4.0), tvos(11.0));
/* Choose whether non-integer units should be used to handle display of values that can't be exactly represented with the allowed units. For example, if minutes aren't allowed, then "1h 30m" could be formatted as "1.5h". Default is NO.
*/
@property BOOL allowsFractionalUnits;
/* Choose whether or not, and at which point, to round small units in large values to zero.
Examples:
1h 10m 30s, maximumUnitCount set to 0: "1h 10m 30s"
1h 10m 30s, maximumUnitCount set to 2: "1h 10m"
10m 30s, maximumUnitCount set to 0: "10m 30s"
10m 30s, maximumUnitCount set to 2: "10m 30s"
Default is 0, which is interpreted as unlimited.
*/
@property NSInteger maximumUnitCount;
/* Choose whether to express largest units just above the threshold for the next lowest unit as a larger quantity of the lower unit. For example: "1m 3s" vs "63s". Default is NO.
*/
@property BOOL collapsesLargestUnit;
/* Choose whether to indicate that the allowed units/insignificant units choices lead to inexact results. In some languages, simply prepending "about " to the string will produce incorrect results; this handles those cases correctly. Default is NO.
*/
@property BOOL includesApproximationPhrase;
/* Choose whether to produce strings like "35 minutes remaining". Default is NO.
*/
@property BOOL includesTimeRemainingPhrase;
/*
Not yet supported.
*/
@property NSFormattingContext formattingContext;
/* NSDateComponentsFormatter currently only implements formatting, not parsing. Until it implements parsing, this will always return NO.
*/
- (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString *)string errorDescription:(out NSString * _Nullable * _Nullable)error;
@end
NS_ASSUME_NONNULL_END
|
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.