HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Defines.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: UT_Defines.h (C++)
7  *
8  * COMMENTS: Common defines and typedefs for UT_Library
9  *
10  */
11 
12 #ifndef _UT_Defines_
13 #define _UT_Defines_
14 
15 // DEFINES
16 
17 #define UT_GIANTBUF 16384
18 #define UT_BIGBUF 8192
19 #define UT_MIDBUF 4096
20 #define UT_SMALLBUF 1024
21 #define UT_TINYBUF 512
22 // UT_NUMBUF is the maximum number of digits required by itoa()
23 // It is sizeof(int64)*8 + 1 for the terminating '\0'
24 #define UT_NUMBUF 65
25 #define UT_BUFSIZE UT_BIGBUF
26 #define UT_NULL 0
27 #define UT_FALSE 0
28 #define UT_TRUE 1
29 #define UT_MAXORDER 11
30 
31 
32 // A character used for separating the index file path from a section name.
33 #define UT_SECTION_SEPARATOR_CHAR '?'
34 #define UT_SECTION_SEPARATOR_STRING "?"
35 
36 // A file protocol prefix for referencing an OTL library given an operator
37 // type name. Eg, "oplib:/Object/myhda".
38 #define UT_OTL_LIBRARY_PREFIX "oplib:"
39 
40 // A file protocol prefix for referencing an HDA definition given an operator
41 // type name. Eg, "opdef:/Object/myhda".
42 #define UT_HDA_DEFINITION_PREFIX "opdef:"
43 
44 
45 // TYPEDEFS
46 typedef int UT_Bool;
47 #ifdef WIN32
48 typedef int pid_t;
49 #endif
50 
51 #endif
int UT_Bool
Definition: UT_Defines.h:46