00001 #ifndef ___SRC_BLOCXX_BLOCXX_CONFIG_H
00002 #define ___SRC_BLOCXX_BLOCXX_CONFIG_H 1
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00045
00046
00047
00048
00049
00050
00051
00052 #ifndef BLOCXX_NO_SSL
00053 #define BLOCXX_NO_SSL 1
00054 #endif
00055
00056
00057 #ifndef BLOCXX_DEFAULT_SYSCONF_DIR
00058 #define BLOCXX_DEFAULT_SYSCONF_DIR "/etc"
00059 #endif
00060 #ifndef BLOCXX_DEFAULT_STATE_DIR
00061 #define BLOCXX_DEFAULT_STATE_DIR "/var"
00062 #endif
00063 #ifndef BLOCXX_DEFAULT_LIB_DIR
00064 #define BLOCXX_DEFAULT_LIB_DIR "/usr/lib"
00065 #endif
00066 #ifndef BLOCXX_DEFAULT_LIBEXEC_DIR
00067 #define BLOCXX_DEFAULT_LIBEXEC_DIR "/usr/lib"
00068 #endif
00069
00070
00071 #ifndef BLOCXX_PACKAGE_PREFIX
00072 #define BLOCXX_PACKAGE_PREFIX ""
00073 #endif
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085 #ifndef BLOCXX_USE_PTHREAD
00086 #define BLOCXX_USE_PTHREAD 1
00087 #endif
00088
00089
00090
00091
00092
00093
00094
00095
00096 #ifndef BLOCXX_CHECK_NULL_REFERENCES
00097 #define BLOCXX_CHECK_NULL_REFERENCES 1
00098 #endif
00099
00100
00101 #ifndef BLOCXX_CHECK_ARRAY_INDEXING
00102 #define BLOCXX_CHECK_ARRAY_INDEXING 1
00103 #endif
00104
00105
00106 #ifndef BLOCXX_GNU_LINUX
00107 #define BLOCXX_GNU_LINUX 1
00108 #endif
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119 #ifndef BLOCXX_HAVE_SOCKLEN_T
00120 #define BLOCXX_HAVE_SOCKLEN_T 1
00121 #endif
00122
00123 #ifndef BLOCXX_HAVE_PTHREAD_MUTEXATTR_SETTYPE
00124 #define BLOCXX_HAVE_PTHREAD_MUTEXATTR_SETTYPE 1
00125 #endif
00126 #ifndef BLOCXX_HAVE_PTHREAD_SPIN_LOCK
00127 #define BLOCXX_HAVE_PTHREAD_SPIN_LOCK 1
00128 #endif
00129 #ifndef BLOCXX_HAVE_PTHREAD_BARRIER
00130 #define BLOCXX_HAVE_PTHREAD_BARRIER 1
00131 #endif
00132
00133
00134 #ifndef BLOCXX_USE_DL
00135 #define BLOCXX_USE_DL 1
00136 #endif
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165 #ifndef BLOCXX_ARCH_X86
00166 #define BLOCXX_ARCH_X86 1
00167 #endif
00168
00169
00170
00171
00172
00173 #ifndef BLOCXX_FALSE_PATHNAME
00174 #define BLOCXX_FALSE_PATHNAME "/bin/false"
00175 #endif
00176
00177
00178 #ifndef BLOCXX_GETHOSTBYNAME_R_ARGUMENTS
00179 #define BLOCXX_GETHOSTBYNAME_R_ARGUMENTS 6
00180 #endif
00181
00182
00183
00184
00185
00186 #ifndef BLOCXX_HAVE_ALLOCA_H
00187 #define BLOCXX_HAVE_ALLOCA_H 1
00188 #endif
00189
00190
00191 #ifndef BLOCXX_HAVE_ASCTIME_R
00192 #define BLOCXX_HAVE_ASCTIME_R 1
00193 #endif
00194
00195
00196 #ifndef BLOCXX_HAVE_BACKTRACE
00197 #define BLOCXX_HAVE_BACKTRACE 1
00198 #endif
00199
00200
00201 #ifndef BLOCXX_HAVE_BYTESWAP_H
00202 #define BLOCXX_HAVE_BYTESWAP_H 1
00203 #endif
00204
00205
00206 #ifndef BLOCXX_HAVE_C99_UUFUNCUU
00207 #define BLOCXX_HAVE_C99_UUFUNCUU 1
00208 #endif
00209
00210
00211 #ifndef BLOCXX_HAVE_CXXABI_H
00212 #define BLOCXX_HAVE_CXXABI_H 1
00213 #endif
00214
00215
00216
00217 #ifndef BLOCXX_HAVE_DECL_SYS_SIGLIST
00218 #define BLOCXX_HAVE_DECL_SYS_SIGLIST 1
00219 #endif
00220
00221
00222 #ifndef BLOCXX_HAVE_DIRENT_H
00223 #define BLOCXX_HAVE_DIRENT_H 1
00224 #endif
00225
00226
00227
00228
00229
00230
00231
00232
00233 #ifndef BLOCXX_HAVE_EXT_HASH_MAP
00234 #define BLOCXX_HAVE_EXT_HASH_MAP 1
00235 #endif
00236
00237
00238 #ifndef BLOCXX_HAVE_FCNTL_H
00239 #define BLOCXX_HAVE_FCNTL_H 1
00240 #endif
00241
00242
00243 #ifndef BLOCXX_HAVE_GETHOSTBYNAME_R
00244 #define BLOCXX_HAVE_GETHOSTBYNAME_R 1
00245 #endif
00246
00247
00248 #ifndef BLOCXX_HAVE_GETOPT_H
00249 #define BLOCXX_HAVE_GETOPT_H 1
00250 #endif
00251
00252
00253 #ifndef BLOCXX_HAVE_GETOPT_LONG
00254 #define BLOCXX_HAVE_GETOPT_LONG 1
00255 #endif
00256
00257
00258 #ifndef BLOCXX_HAVE_GETPAGESIZE
00259 #define BLOCXX_HAVE_GETPAGESIZE 1
00260 #endif
00261
00262
00263 #ifndef BLOCXX_HAVE_GETPWNAM_R
00264 #define BLOCXX_HAVE_GETPWNAM_R 1
00265 #endif
00266
00267
00268 #ifndef BLOCXX_HAVE_GETPWUID_R
00269 #define BLOCXX_HAVE_GETPWUID_R 1
00270 #endif
00271
00272
00273 #ifndef BLOCXX_HAVE_GETTIMEOFDAY
00274 #define BLOCXX_HAVE_GETTIMEOFDAY 1
00275 #endif
00276
00277
00278 #ifndef BLOCXX_HAVE_GMTIME_R
00279 #define BLOCXX_HAVE_GMTIME_R 1
00280 #endif
00281
00282
00283
00284
00285
00286 #ifndef BLOCXX_HAVE_ICONV_H
00287 #define BLOCXX_HAVE_ICONV_H 1
00288 #endif
00289
00290
00291 #ifndef BLOCXX_HAVE_INTTYPES_H
00292 #define BLOCXX_HAVE_INTTYPES_H 1
00293 #endif
00294
00295
00296 #ifndef BLOCXX_HAVE_ISTREAM
00297 #define BLOCXX_HAVE_ISTREAM 1
00298 #endif
00299
00300
00301 #ifndef BLOCXX_HAVE_ISTREAM_H
00302 #define BLOCXX_HAVE_ISTREAM_H 1
00303 #endif
00304
00305
00306 #ifndef BLOCXX_HAVE_LIMITS_H
00307 #define BLOCXX_HAVE_LIMITS_H 1
00308 #endif
00309
00310
00311 #ifndef BLOCXX_HAVE_LOCALTIME_R
00312 #define BLOCXX_HAVE_LOCALTIME_R 1
00313 #endif
00314
00315
00316 #ifndef BLOCXX_HAVE_MEMORY_H
00317 #define BLOCXX_HAVE_MEMORY_H 1
00318 #endif
00319
00320
00321 #ifndef BLOCXX_HAVE_MKSTEMP
00322 #define BLOCXX_HAVE_MKSTEMP 1
00323 #endif
00324
00325
00326 #ifndef BLOCXX_HAVE_MMAP
00327 #define BLOCXX_HAVE_MMAP 1
00328 #endif
00329
00330
00331 #ifndef BLOCXX_HAVE_NANOSLEEP
00332 #define BLOCXX_HAVE_NANOSLEEP 1
00333 #endif
00334
00335
00336 #ifndef BLOCXX_HAVE_NETINET_IN_H
00337 #define BLOCXX_HAVE_NETINET_IN_H 1
00338 #endif
00339
00340
00341
00342
00343
00344 #ifndef BLOCXX_HAVE_OSTREAM
00345 #define BLOCXX_HAVE_OSTREAM 1
00346 #endif
00347
00348
00349 #ifndef BLOCXX_HAVE_OSTREAM_H
00350 #define BLOCXX_HAVE_OSTREAM_H 1
00351 #endif
00352
00353
00354 #ifndef BLOCXX_HAVE_PCRE
00355 #define BLOCXX_HAVE_PCRE 1
00356 #endif
00357
00358
00359 #ifndef BLOCXX_HAVE_PCRE_H
00360 #define BLOCXX_HAVE_PCRE_H 1
00361 #endif
00362
00363
00364
00365
00366
00367 #ifndef BLOCXX_HAVE_PTHREAD_H
00368 #define BLOCXX_HAVE_PTHREAD_H 1
00369 #endif
00370
00371
00372
00373
00374
00375 #ifndef BLOCXX_HAVE_PWD_H
00376 #define BLOCXX_HAVE_PWD_H 1
00377 #endif
00378
00379
00380 #ifndef BLOCXX_HAVE_RANDOM
00381 #define BLOCXX_HAVE_RANDOM 1
00382 #endif
00383
00384
00385 #ifndef BLOCXX_HAVE_REGEX
00386 #define BLOCXX_HAVE_REGEX 1
00387 #endif
00388
00389
00390 #ifndef BLOCXX_HAVE_REGEX_H
00391 #define BLOCXX_HAVE_REGEX_H 1
00392 #endif
00393
00394
00395 #ifndef BLOCXX_HAVE_SCHED_YIELD
00396 #define BLOCXX_HAVE_SCHED_YIELD 1
00397 #endif
00398
00399
00400 #ifndef BLOCXX_HAVE_SETRLIMIT
00401 #define BLOCXX_HAVE_SETRLIMIT 1
00402 #endif
00403
00404
00405 #ifndef BLOCXX_HAVE_SIGHANDLER_T
00406 #define BLOCXX_HAVE_SIGHANDLER_T 1
00407 #endif
00408
00409
00410 #ifndef BLOCXX_HAVE_SIGINFO_T_SI_FD
00411 #define BLOCXX_HAVE_SIGINFO_T_SI_FD 1
00412 #endif
00413
00414
00415
00416
00417
00418
00419
00420
00421
00422
00423
00424 #ifndef BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT
00425 #define BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT 1
00426 #endif
00427
00428
00429 #ifndef BLOCXX_HAVE_SNPRINTF
00430 #define BLOCXX_HAVE_SNPRINTF 1
00431 #endif
00432
00433
00434 #ifndef BLOCXX_HAVE_SRANDOM
00435 #define BLOCXX_HAVE_SRANDOM 1
00436 #endif
00437
00438
00439 #ifndef BLOCXX_HAVE_STDINT_H
00440 #define BLOCXX_HAVE_STDINT_H 1
00441 #endif
00442
00443
00444 #ifndef BLOCXX_HAVE_STDLIB_H
00445 #define BLOCXX_HAVE_STDLIB_H 1
00446 #endif
00447
00448
00449 #ifndef BLOCXX_HAVE_STREAMBUF
00450 #define BLOCXX_HAVE_STREAMBUF 1
00451 #endif
00452
00453
00454 #ifndef BLOCXX_HAVE_STREAMBUF_H
00455 #define BLOCXX_HAVE_STREAMBUF_H 1
00456 #endif
00457
00458
00459 #ifndef BLOCXX_HAVE_STRERROR
00460 #define BLOCXX_HAVE_STRERROR 1
00461 #endif
00462
00463
00464 #ifndef BLOCXX_HAVE_STRINGS_H
00465 #define BLOCXX_HAVE_STRINGS_H 1
00466 #endif
00467
00468
00469 #ifndef BLOCXX_HAVE_STRING_H
00470 #define BLOCXX_HAVE_STRING_H 1
00471 #endif
00472
00473
00474 #ifndef BLOCXX_HAVE_STROPTS_H
00475 #define BLOCXX_HAVE_STROPTS_H 1
00476 #endif
00477
00478
00479 #ifndef BLOCXX_HAVE_STRSIGNAL
00480 #define BLOCXX_HAVE_STRSIGNAL 1
00481 #endif
00482
00483
00484 #ifndef BLOCXX_HAVE_STRTOF
00485 #define BLOCXX_HAVE_STRTOF 1
00486 #endif
00487
00488
00489 #ifndef BLOCXX_HAVE_STRTOLL
00490 #define BLOCXX_HAVE_STRTOLL 1
00491 #endif
00492
00493
00494 #ifndef BLOCXX_HAVE_STRTOULL
00495 #define BLOCXX_HAVE_STRTOULL 1
00496 #endif
00497
00498
00499
00500
00501
00502
00503
00504
00505 #ifndef BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE
00506 #define BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE 1
00507 #endif
00508
00509
00510
00511 #ifndef BLOCXX_HAVE_ST_BLKSIZE
00512 #define BLOCXX_HAVE_ST_BLKSIZE 1
00513 #endif
00514
00515
00516 #ifndef BLOCXX_HAVE_SYS_CDEFS_H
00517 #define BLOCXX_HAVE_SYS_CDEFS_H 1
00518 #endif
00519
00520
00521 #ifndef BLOCXX_HAVE_SYS_EPOLL_H
00522 #define BLOCXX_HAVE_SYS_EPOLL_H 1
00523 #endif
00524
00525
00526 #ifndef BLOCXX_HAVE_SYS_FILE_H
00527 #define BLOCXX_HAVE_SYS_FILE_H 1
00528 #endif
00529
00530
00531
00532
00533
00534 #ifndef BLOCXX_HAVE_SYS_IPC_H
00535 #define BLOCXX_HAVE_SYS_IPC_H 1
00536 #endif
00537
00538
00539 #ifndef BLOCXX_HAVE_SYS_PARAM_H
00540 #define BLOCXX_HAVE_SYS_PARAM_H 1
00541 #endif
00542
00543
00544 #ifndef BLOCXX_HAVE_SYS_POLL_H
00545 #define BLOCXX_HAVE_SYS_POLL_H 1
00546 #endif
00547
00548
00549 #ifndef BLOCXX_HAVE_SYS_QUEUE_H
00550 #define BLOCXX_HAVE_SYS_QUEUE_H 1
00551 #endif
00552
00553
00554 #ifndef BLOCXX_HAVE_SYS_RESOURCE_H
00555 #define BLOCXX_HAVE_SYS_RESOURCE_H 1
00556 #endif
00557
00558
00559 #ifndef BLOCXX_HAVE_SYS_SELECT_H
00560 #define BLOCXX_HAVE_SYS_SELECT_H 1
00561 #endif
00562
00563
00564 #ifndef BLOCXX_HAVE_SYS_SEM_H
00565 #define BLOCXX_HAVE_SYS_SEM_H 1
00566 #endif
00567
00568
00569 #ifndef BLOCXX_HAVE_SYS_SOCKET_H
00570 #define BLOCXX_HAVE_SYS_SOCKET_H 1
00571 #endif
00572
00573
00574
00575
00576
00577 #ifndef BLOCXX_HAVE_SYS_STAT_H
00578 #define BLOCXX_HAVE_SYS_STAT_H 1
00579 #endif
00580
00581
00582 #ifndef BLOCXX_HAVE_SYS_TIME_H
00583 #define BLOCXX_HAVE_SYS_TIME_H 1
00584 #endif
00585
00586
00587 #ifndef BLOCXX_HAVE_SYS_TYPES_H
00588 #define BLOCXX_HAVE_SYS_TYPES_H 1
00589 #endif
00590
00591
00592 #ifndef BLOCXX_HAVE_SYS_UN_H
00593 #define BLOCXX_HAVE_SYS_UN_H 1
00594 #endif
00595
00596
00597 #ifndef BLOCXX_HAVE_SYS_WAIT_H
00598 #define BLOCXX_HAVE_SYS_WAIT_H 1
00599 #endif
00600
00601
00602 #ifndef BLOCXX_HAVE_TIMEGM
00603 #define BLOCXX_HAVE_TIMEGM 1
00604 #endif
00605
00606
00607 #ifndef BLOCXX_HAVE_UNION_SIGVAL
00608 #define BLOCXX_HAVE_UNION_SIGVAL 1
00609 #endif
00610
00611
00612
00613
00614
00615 #ifndef BLOCXX_HAVE_UNISTD_H
00616 #define BLOCXX_HAVE_UNISTD_H 1
00617 #endif
00618
00619
00620 #ifndef BLOCXX_HAVE_UUPRETTY_FUNCTIONUU
00621 #define BLOCXX_HAVE_UUPRETTY_FUNCTIONUU 1
00622 #endif
00623
00624
00625 #ifndef BLOCXX_HAVE_VPRINTF
00626 #define BLOCXX_HAVE_VPRINTF 1
00627 #endif
00628
00629
00630
00631
00632
00633 #ifndef BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI
00634 #define BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI 1
00635 #endif
00636
00637
00638 #ifndef BLOCXX_LIBRARY_VERSION
00639 #define BLOCXX_LIBRARY_VERSION 4
00640 #endif
00641
00642
00643 #ifndef BLOCXX_MAJOR_VERSION
00644 #define BLOCXX_MAJOR_VERSION 1
00645 #endif
00646
00647
00648 #ifndef BLOCXX_MICRO_VERSION
00649 #define BLOCXX_MICRO_VERSION 0
00650 #endif
00651
00652
00653 #ifndef BLOCXX_MINOR_VERSION
00654 #define BLOCXX_MINOR_VERSION 0
00655 #endif
00656
00657
00658
00659
00660
00661 #ifndef BLOCXX_PACKAGE
00662 #define BLOCXX_PACKAGE "blocxx"
00663 #endif
00664
00665
00666 #ifndef BLOCXX_PACKAGE_BUGREPORT
00667 #define BLOCXX_PACKAGE_BUGREPORT "bwhiteley@novell.com"
00668 #endif
00669
00670
00671 #ifndef BLOCXX_PACKAGE_NAME
00672 #define BLOCXX_PACKAGE_NAME "BloCxx"
00673 #endif
00674
00675
00676 #ifndef BLOCXX_PACKAGE_STRING
00677 #define BLOCXX_PACKAGE_STRING "BloCxx 1.0.0"
00678 #endif
00679
00680
00681 #ifndef BLOCXX_PACKAGE_TARNAME
00682 #define BLOCXX_PACKAGE_TARNAME "blocxx"
00683 #endif
00684
00685
00686 #ifndef BLOCXX_PACKAGE_VERSION
00687 #define BLOCXX_PACKAGE_VERSION "1.0.0"
00688 #endif
00689
00690
00691 #ifndef BLOCXX_SIGVAL_TYPE
00692 #define BLOCXX_SIGVAL_TYPE union sigval
00693 #endif
00694
00695
00696 #ifndef BLOCXX_SIZEOF_CHAR
00697 #define BLOCXX_SIZEOF_CHAR 1
00698 #endif
00699
00700
00701 #ifndef BLOCXX_SIZEOF_CHAR_P
00702 #define BLOCXX_SIZEOF_CHAR_P 4
00703 #endif
00704
00705
00706 #ifndef BLOCXX_SIZEOF_DOUBLE
00707 #define BLOCXX_SIZEOF_DOUBLE 8
00708 #endif
00709
00710
00711 #ifndef BLOCXX_SIZEOF_FLOAT
00712 #define BLOCXX_SIZEOF_FLOAT 4
00713 #endif
00714
00715
00716 #ifndef BLOCXX_SIZEOF_INT
00717 #define BLOCXX_SIZEOF_INT 4
00718 #endif
00719
00720
00721 #ifndef BLOCXX_SIZEOF_LONG_DOUBLE
00722 #define BLOCXX_SIZEOF_LONG_DOUBLE 12
00723 #endif
00724
00725
00726 #ifndef BLOCXX_SIZEOF_LONG_INT
00727 #define BLOCXX_SIZEOF_LONG_INT 4
00728 #endif
00729
00730
00731 #ifndef BLOCXX_SIZEOF_LONG_LONG_INT
00732 #define BLOCXX_SIZEOF_LONG_LONG_INT 8
00733 #endif
00734
00735
00736 #ifndef BLOCXX_SIZEOF_PTHREAD_T
00737 #define BLOCXX_SIZEOF_PTHREAD_T 4
00738 #endif
00739
00740
00741 #ifndef BLOCXX_SIZEOF_SHORT_INT
00742 #define BLOCXX_SIZEOF_SHORT_INT 2
00743 #endif
00744
00745
00746
00747
00748
00749 #ifndef BLOCXX_STDC_HEADERS
00750 #define BLOCXX_STDC_HEADERS 1
00751 #endif
00752
00753
00754 #ifndef BLOCXX_TRUE_PATHNAME
00755 #define BLOCXX_TRUE_PATHNAME "/bin/true"
00756 #endif
00757
00758
00759
00760
00761
00762 #ifndef BLOCXX_VERSION
00763 #define BLOCXX_VERSION "1.0.0"
00764 #endif
00765
00766
00767 #ifndef BLOCXX_WIFEXITED_NEEDS_WAIT_H
00768 #define BLOCXX_WIFEXITED_NEEDS_WAIT_H 1
00769 #endif
00770
00771
00772
00773
00774
00775 #ifndef BLOCXX_WITH_LARGEFILE
00776 #define BLOCXX_WITH_LARGEFILE 1
00777 #endif
00778
00779
00780
00781
00782
00783
00784
00785
00786
00787
00788 #ifndef BLOCXX__FILE_OFFSET_BITS
00789 #define BLOCXX__FILE_OFFSET_BITS 64
00790 #endif
00791
00792
00793
00794
00795
00796
00797
00798
00799
00800
00801
00802
00803
00804
00805
00806
00807
00808
00809
00810
00811
00815 #if defined(BLOCXX__FILE_OFFSET_BITS) && \
00816 !defined(_FILE_OFFSET_BITS)
00817 #define \
00818 _FILE_OFFSET_BITS BLOCXX__FILE_OFFSET_BITS
00819 #endif
00820
00821 #if defined(BLOCXX__LARGE_FILES) && \
00822 !defined(_LARGE_FILES)
00823 #define \
00824 _LARGE_FILES BLOCXX__LARGE_FILES
00825 #endif
00826
00827
00859 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)
00860 #ifndef BLOCXX_DEPRECATED
00861 #define BLOCXX_DEPRECATED __attribute__ ((deprecated))
00862 #endif
00863 #else
00864 #ifndef BLOCXX_DEPRECATED
00865 #define BLOCXX_DEPRECATED
00866 #endif
00867 #endif
00868
00869 #ifdef BLOCXX_WIN32
00870 #ifndef BLOCXX_EXPORT
00871 #define BLOCXX_EXPORT __declspec(dllexport)
00872 #endif
00873 #ifndef BLOCXX_IMPORT
00874 #define BLOCXX_IMPORT __declspec(dllimport)
00875 #endif
00876 #else
00877 #ifndef BLOCXX_EXPORT
00878 #define BLOCXX_EXPORT
00879 #endif
00880 #ifndef BLOCXX_IMPORT
00881 #define BLOCXX_IMPORT
00882 #endif
00883 #endif
00884
00885 #ifdef BLOCXX_COMMON_BUILD
00886 #ifndef BLOCXX_COMMON_API
00887 #define BLOCXX_COMMON_API BLOCXX_EXPORT
00888 #endif
00889 #else
00890 #ifndef BLOCXX_COMMON_API
00891 #define BLOCXX_COMMON_API BLOCXX_IMPORT
00892 #endif
00893 #endif
00894
00895 #ifdef BLOCXX_WIN32
00896 #ifndef BLOCXX_EXPORT_TEMPLATE
00897 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X) template class API TMPL< X >
00898 #endif
00899 #else
00900 #ifndef BLOCXX_EXPORT_TEMPLATE
00901 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X)
00902 #endif
00903 #endif
00904
00905
00906 #ifdef __cplusplus
00907
00908
00909 #ifndef BLOCXX_NAMESPACE_CAT
00910 #define BLOCXX_NAMESPACE_CAT(blocxx, ver) blocxx ## ver
00911 #endif
00912 #ifndef BLOCXX_NAMESPACE_AUX
00913 #define BLOCXX_NAMESPACE_AUX(ver) BLOCXX_NAMESPACE_CAT(blocxx, ver)
00914 #endif
00915 #ifndef BLOCXX_NAMESPACE
00916 #define BLOCXX_NAMESPACE BLOCXX_NAMESPACE_AUX(BLOCXX_LIBRARY_VERSION)
00917 #endif
00918
00919
00920 namespace BLOCXX_NAMESPACE
00921 {
00922 }
00923
00924 namespace blocxx = BLOCXX_NAMESPACE;
00925
00926 #ifdef BLOCXX_DEBUG_MEMORY
00927 #include "blocxx/MemTracer.hpp"
00928 #endif
00929
00930
00931 #ifdef BLOCXX_PRINT_FUNC_DEBUG
00932 #include "blocxx/FuncNamePrinter.hpp"
00933
00934 #ifndef BLOCXX_PRINT_FUNC_NAME
00935 #define BLOCXX_PRINT_FUNC_NAME BLOCXX_FuncNamePrinter fnp##__LINE__ (__PRETTY_FUNCTION__)
00936 #endif
00937
00938 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00939 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a)
00940 #endif
00941 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00942 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b)
00943 #endif
00944 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00945 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c)
00946 #endif
00947 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00948 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d)
00949 #endif
00950 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00951 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e)
00952 #endif
00953 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00954 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f)
00955 #endif
00956 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00957 #define BLOCXX_PRINT_FUNC_NAME_ARGS7(a, b, c, d, e, f, g) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g)
00958 #endif
00959 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00960 #define BLOCXX_PRINT_FUNC_NAME_ARGS8(a, b, c, d, e, f, g, h) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g, h)
00961 #endif
00962 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00963 #define BLOCXX_PRINT_FUNC_NAME_ARGS9(a, b, c, d, e, f, g, h, i) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g, h, i)
00964 #endif
00965 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00966 #define BLOCXX_PRINT_FUNC_NAME_ARGS10(a, b, c, d, e, f, g, h, i, j) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g, h, i, j)
00967 #endif
00968 #else
00969 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00970 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a)
00971 #endif
00972 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00973 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b)
00974 #endif
00975 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00976 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c)
00977 #endif
00978 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00979 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d)
00980 #endif
00981 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00982 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e)
00983 #endif
00984 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00985 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f)
00986 #endif
00987 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00988 #define BLOCXX_PRINT_FUNC_NAME_ARGS7(a, b, c, d, e, f, g)
00989 #endif
00990 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00991 #define BLOCXX_PRINT_FUNC_NAME_ARGS8(a, b, c, d, e, f, g, h)
00992 #endif
00993 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00994 #define BLOCXX_PRINT_FUNC_NAME_ARGS9(a, b, c, d, e, f, g, h, i)
00995 #endif
00996 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00997 #define BLOCXX_PRINT_FUNC_NAME_ARGS10(a, b, c, d, e, f, g, h, i, j)
00998 #endif
00999 #ifndef BLOCXX_PRINT_FUNC_NAME
01000 #define BLOCXX_PRINT_FUNC_NAME
01001 #endif
01002 #endif
01003
01004 #endif
01005
01006
01007
01008 #endif