]> granicus.if.org Git - python/commitdiff
This file never made it to the repository, somehow.
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 28 Aug 2002 21:19:26 +0000 (21:19 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 28 Aug 2002 21:19:26 +0000 (21:19 +0000)
Mac/Lib/Carbon/CoreFoundation.py [new file with mode: 0644]

diff --git a/Mac/Lib/Carbon/CoreFoundation.py b/Mac/Lib/Carbon/CoreFoundation.py
new file mode 100644 (file)
index 0000000..2907c1d
--- /dev/null
@@ -0,0 +1,28 @@
+# Generated from 'CFBase.h'
+
+def FOUR_CHAR_CODE(x): return x
+kCFCompareLessThan = -1
+kCFCompareEqualTo = 0
+kCFCompareGreaterThan = 1
+kCFNotFound = -1
+kCFPropertyListImmutable = 0
+kCFPropertyListMutableContainers = 1
+kCFPropertyListMutableContainersAndLeaves = 2
+# kCFStringEncodingInvalidId = (long)0xFFFFFFFF
+kCFStringEncodingMacRoman = 0
+kCFStringEncodingWindowsLatin1 = 0x0500
+kCFStringEncodingISOLatin1 = 0x0201
+kCFStringEncodingNextStepLatin = 0x0B01
+kCFStringEncodingASCII = 0x0600
+kCFStringEncodingUnicode = 0x0100
+kCFStringEncodingUTF8 = 0x08000100
+kCFStringEncodingNonLossyASCII = 0x0BFF 
+kCFCompareCaseInsensitive = 1
+kCFCompareBackwards = 4
+kCFCompareAnchored = 8
+kCFCompareNonliteral = 16
+kCFCompareLocalized = 32
+kCFCompareNumerically = 64    
+kCFURLPOSIXPathStyle = 0
+kCFURLHFSPathStyle = 1
+kCFURLWindowsPathStyle = 2