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/lib64"
00065 #endif
00066 #ifndef BLOCXX_DEFAULT_LIBEXEC_DIR
00067 #define BLOCXX_DEFAULT_LIBEXEC_DIR "/usr/lib64"
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 #ifndef BLOCXX_ARCH_UNKNOWN
00163 #define BLOCXX_ARCH_UNKNOWN 1
00164 #endif
00165
00166
00167
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 #ifndef BLOCXX_GETOPT_AND_UNISTD_CONFLICT
00184 #define BLOCXX_GETOPT_AND_UNISTD_CONFLICT 1
00185 #endif
00186
00187
00188 #ifndef BLOCXX_HAVE_ALLOCA_H
00189 #define BLOCXX_HAVE_ALLOCA_H 1
00190 #endif
00191
00192
00193 #ifndef BLOCXX_HAVE_ASCTIME_R
00194 #define BLOCXX_HAVE_ASCTIME_R 1
00195 #endif
00196
00197
00198 #ifndef BLOCXX_HAVE_BACKTRACE
00199 #define BLOCXX_HAVE_BACKTRACE 1
00200 #endif
00201
00202
00203 #ifndef BLOCXX_HAVE_BYTESWAP_H
00204 #define BLOCXX_HAVE_BYTESWAP_H 1
00205 #endif
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215 #ifndef BLOCXX_HAVE_DECL_SYS_SIGLIST
00216 #define BLOCXX_HAVE_DECL_SYS_SIGLIST 1
00217 #endif
00218
00219
00220 #ifndef BLOCXX_HAVE_DIRENT_H
00221 #define BLOCXX_HAVE_DIRENT_H 1
00222 #endif
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234 #ifndef BLOCXX_HAVE_FCNTL_H
00235 #define BLOCXX_HAVE_FCNTL_H 1
00236 #endif
00237
00238
00239 #ifndef BLOCXX_HAVE_GETHOSTBYNAME_R
00240 #define BLOCXX_HAVE_GETHOSTBYNAME_R 1
00241 #endif
00242
00243
00244 #ifndef BLOCXX_HAVE_GETOPT_H
00245 #define BLOCXX_HAVE_GETOPT_H 1
00246 #endif
00247
00248
00249 #ifndef BLOCXX_HAVE_GETOPT_LONG
00250 #define BLOCXX_HAVE_GETOPT_LONG 1
00251 #endif
00252
00253
00254 #ifndef BLOCXX_HAVE_GETPAGESIZE
00255 #define BLOCXX_HAVE_GETPAGESIZE 1
00256 #endif
00257
00258
00259 #ifndef BLOCXX_HAVE_GETPWNAM_R
00260 #define BLOCXX_HAVE_GETPWNAM_R 1
00261 #endif
00262
00263
00264 #ifndef BLOCXX_HAVE_GETPWUID_R
00265 #define BLOCXX_HAVE_GETPWUID_R 1
00266 #endif
00267
00268
00269 #ifndef BLOCXX_HAVE_GETTIMEOFDAY
00270 #define BLOCXX_HAVE_GETTIMEOFDAY 1
00271 #endif
00272
00273
00274 #ifndef BLOCXX_HAVE_GMTIME_R
00275 #define BLOCXX_HAVE_GMTIME_R 1
00276 #endif
00277
00278
00279
00280
00281
00282 #ifndef BLOCXX_HAVE_ICONV_H
00283 #define BLOCXX_HAVE_ICONV_H 1
00284 #endif
00285
00286
00287 #ifndef BLOCXX_HAVE_INTTYPES_H
00288 #define BLOCXX_HAVE_INTTYPES_H 1
00289 #endif
00290
00291
00292
00293
00294
00295
00296
00297
00298 #ifndef BLOCXX_HAVE_LIMITS_H
00299 #define BLOCXX_HAVE_LIMITS_H 1
00300 #endif
00301
00302
00303 #ifndef BLOCXX_HAVE_LOCALTIME_R
00304 #define BLOCXX_HAVE_LOCALTIME_R 1
00305 #endif
00306
00307
00308 #ifndef BLOCXX_HAVE_MEMORY_H
00309 #define BLOCXX_HAVE_MEMORY_H 1
00310 #endif
00311
00312
00313 #ifndef BLOCXX_HAVE_MKSTEMP
00314 #define BLOCXX_HAVE_MKSTEMP 1
00315 #endif
00316
00317
00318 #ifndef BLOCXX_HAVE_MMAP
00319 #define BLOCXX_HAVE_MMAP 1
00320 #endif
00321
00322
00323 #ifndef BLOCXX_HAVE_NANOSLEEP
00324 #define BLOCXX_HAVE_NANOSLEEP 1
00325 #endif
00326
00327
00328 #ifndef BLOCXX_HAVE_NETINET_IN_H
00329 #define BLOCXX_HAVE_NETINET_IN_H 1
00330 #endif
00331
00332
00333
00334
00335
00336
00337
00338
00339
00340
00341
00342
00343
00344
00345
00346
00347
00348
00349
00350
00351 #ifndef BLOCXX_HAVE_PTHREAD_H
00352 #define BLOCXX_HAVE_PTHREAD_H 1
00353 #endif
00354
00355
00356
00357
00358
00359 #ifndef BLOCXX_HAVE_PWD_H
00360 #define BLOCXX_HAVE_PWD_H 1
00361 #endif
00362
00363
00364 #ifndef BLOCXX_HAVE_RANDOM
00365 #define BLOCXX_HAVE_RANDOM 1
00366 #endif
00367
00368
00369 #ifndef BLOCXX_HAVE_REGEX
00370 #define BLOCXX_HAVE_REGEX 1
00371 #endif
00372
00373
00374 #ifndef BLOCXX_HAVE_REGEX_H
00375 #define BLOCXX_HAVE_REGEX_H 1
00376 #endif
00377
00378
00379 #ifndef BLOCXX_HAVE_SCHED_YIELD
00380 #define BLOCXX_HAVE_SCHED_YIELD 1
00381 #endif
00382
00383
00384 #ifndef BLOCXX_HAVE_SETRLIMIT
00385 #define BLOCXX_HAVE_SETRLIMIT 1
00386 #endif
00387
00388
00389 #ifndef BLOCXX_HAVE_SIGHANDLER_T
00390 #define BLOCXX_HAVE_SIGHANDLER_T 1
00391 #endif
00392
00393
00394 #ifndef BLOCXX_HAVE_SIGINFO_T_SI_FD
00395 #define BLOCXX_HAVE_SIGINFO_T_SI_FD 1
00396 #endif
00397
00398
00399
00400
00401
00402
00403
00404
00405
00406
00407
00408 #ifndef BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT
00409 #define BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT 1
00410 #endif
00411
00412
00413 #ifndef BLOCXX_HAVE_SNPRINTF
00414 #define BLOCXX_HAVE_SNPRINTF 1
00415 #endif
00416
00417
00418 #ifndef BLOCXX_HAVE_SRANDOM
00419 #define BLOCXX_HAVE_SRANDOM 1
00420 #endif
00421
00422
00423 #ifndef BLOCXX_HAVE_STDINT_H
00424 #define BLOCXX_HAVE_STDINT_H 1
00425 #endif
00426
00427
00428 #ifndef BLOCXX_HAVE_STDLIB_H
00429 #define BLOCXX_HAVE_STDLIB_H 1
00430 #endif
00431
00432
00433
00434
00435
00436
00437
00438
00439 #ifndef BLOCXX_HAVE_STRERROR
00440 #define BLOCXX_HAVE_STRERROR 1
00441 #endif
00442
00443
00444 #ifndef BLOCXX_HAVE_STRINGS_H
00445 #define BLOCXX_HAVE_STRINGS_H 1
00446 #endif
00447
00448
00449 #ifndef BLOCXX_HAVE_STRING_H
00450 #define BLOCXX_HAVE_STRING_H 1
00451 #endif
00452
00453
00454 #ifndef BLOCXX_HAVE_STROPTS_H
00455 #define BLOCXX_HAVE_STROPTS_H 1
00456 #endif
00457
00458
00459 #ifndef BLOCXX_HAVE_STRSIGNAL
00460 #define BLOCXX_HAVE_STRSIGNAL 1
00461 #endif
00462
00463
00464 #ifndef BLOCXX_HAVE_STRTOF
00465 #define BLOCXX_HAVE_STRTOF 1
00466 #endif
00467
00468
00469 #ifndef BLOCXX_HAVE_STRTOLL
00470 #define BLOCXX_HAVE_STRTOLL 1
00471 #endif
00472
00473
00474 #ifndef BLOCXX_HAVE_STRTOULL
00475 #define BLOCXX_HAVE_STRTOULL 1
00476 #endif
00477
00478
00479
00480
00481
00482
00483
00484
00485 #ifndef BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE
00486 #define BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE 1
00487 #endif
00488
00489
00490
00491 #ifndef BLOCXX_HAVE_ST_BLKSIZE
00492 #define BLOCXX_HAVE_ST_BLKSIZE 1
00493 #endif
00494
00495
00496 #ifndef BLOCXX_HAVE_SYS_CDEFS_H
00497 #define BLOCXX_HAVE_SYS_CDEFS_H 1
00498 #endif
00499
00500
00501 #ifndef BLOCXX_HAVE_SYS_EPOLL_H
00502 #define BLOCXX_HAVE_SYS_EPOLL_H 1
00503 #endif
00504
00505
00506 #ifndef BLOCXX_HAVE_SYS_FILE_H
00507 #define BLOCXX_HAVE_SYS_FILE_H 1
00508 #endif
00509
00510
00511
00512
00513
00514 #ifndef BLOCXX_HAVE_SYS_IPC_H
00515 #define BLOCXX_HAVE_SYS_IPC_H 1
00516 #endif
00517
00518
00519 #ifndef BLOCXX_HAVE_SYS_PARAM_H
00520 #define BLOCXX_HAVE_SYS_PARAM_H 1
00521 #endif
00522
00523
00524 #ifndef BLOCXX_HAVE_SYS_POLL_H
00525 #define BLOCXX_HAVE_SYS_POLL_H 1
00526 #endif
00527
00528
00529 #ifndef BLOCXX_HAVE_SYS_QUEUE_H
00530 #define BLOCXX_HAVE_SYS_QUEUE_H 1
00531 #endif
00532
00533
00534 #ifndef BLOCXX_HAVE_SYS_RESOURCE_H
00535 #define BLOCXX_HAVE_SYS_RESOURCE_H 1
00536 #endif
00537
00538
00539 #ifndef BLOCXX_HAVE_SYS_SELECT_H
00540 #define BLOCXX_HAVE_SYS_SELECT_H 1
00541 #endif
00542
00543
00544 #ifndef BLOCXX_HAVE_SYS_SEM_H
00545 #define BLOCXX_HAVE_SYS_SEM_H 1
00546 #endif
00547
00548
00549 #ifndef BLOCXX_HAVE_SYS_SOCKET_H
00550 #define BLOCXX_HAVE_SYS_SOCKET_H 1
00551 #endif
00552
00553
00554
00555
00556
00557 #ifndef BLOCXX_HAVE_SYS_STAT_H
00558 #define BLOCXX_HAVE_SYS_STAT_H 1
00559 #endif
00560
00561
00562 #ifndef BLOCXX_HAVE_SYS_TIME_H
00563 #define BLOCXX_HAVE_SYS_TIME_H 1
00564 #endif
00565
00566
00567 #ifndef BLOCXX_HAVE_SYS_TYPES_H
00568 #define BLOCXX_HAVE_SYS_TYPES_H 1
00569 #endif
00570
00571
00572 #ifndef BLOCXX_HAVE_SYS_UN_H
00573 #define BLOCXX_HAVE_SYS_UN_H 1
00574 #endif
00575
00576
00577 #ifndef BLOCXX_HAVE_SYS_WAIT_H
00578 #define BLOCXX_HAVE_SYS_WAIT_H 1
00579 #endif
00580
00581
00582 #ifndef BLOCXX_HAVE_TIMEGM
00583 #define BLOCXX_HAVE_TIMEGM 1
00584 #endif
00585
00586
00587 #ifndef BLOCXX_HAVE_UNION_SIGVAL
00588 #define BLOCXX_HAVE_UNION_SIGVAL 1
00589 #endif
00590
00591
00592
00593
00594
00595 #ifndef BLOCXX_HAVE_UNISTD_H
00596 #define BLOCXX_HAVE_UNISTD_H 1
00597 #endif
00598
00599
00600
00601
00602
00603 #ifndef BLOCXX_HAVE_VPRINTF
00604 #define BLOCXX_HAVE_VPRINTF 1
00605 #endif
00606
00607
00608
00609
00610
00611 #ifndef BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI
00612 #define BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI 1
00613 #endif
00614
00615
00616 #ifndef BLOCXX_LIBRARY_VERSION
00617 #define BLOCXX_LIBRARY_VERSION 4
00618 #endif
00619
00620
00621 #ifndef BLOCXX_MAJOR_VERSION
00622 #define BLOCXX_MAJOR_VERSION 1
00623 #endif
00624
00625
00626 #ifndef BLOCXX_MICRO_VERSION
00627 #define BLOCXX_MICRO_VERSION 0
00628 #endif
00629
00630
00631 #ifndef BLOCXX_MINOR_VERSION
00632 #define BLOCXX_MINOR_VERSION 0
00633 #endif
00634
00635
00636
00637
00638
00639 #ifndef BLOCXX_PACKAGE
00640 #define BLOCXX_PACKAGE "blocxx"
00641 #endif
00642
00643
00644 #ifndef BLOCXX_PACKAGE_BUGREPORT
00645 #define BLOCXX_PACKAGE_BUGREPORT "bwhiteley@novell.com"
00646 #endif
00647
00648
00649 #ifndef BLOCXX_PACKAGE_NAME
00650 #define BLOCXX_PACKAGE_NAME "BloCxx"
00651 #endif
00652
00653
00654 #ifndef BLOCXX_PACKAGE_STRING
00655 #define BLOCXX_PACKAGE_STRING "BloCxx 1.0.0"
00656 #endif
00657
00658
00659 #ifndef BLOCXX_PACKAGE_TARNAME
00660 #define BLOCXX_PACKAGE_TARNAME "blocxx"
00661 #endif
00662
00663
00664 #ifndef BLOCXX_PACKAGE_VERSION
00665 #define BLOCXX_PACKAGE_VERSION "1.0.0"
00666 #endif
00667
00668
00669 #ifndef BLOCXX_SIGVAL_TYPE
00670 #define BLOCXX_SIGVAL_TYPE union sigval
00671 #endif
00672
00673
00674 #ifndef BLOCXX_SIZEOF_CHAR
00675 #define BLOCXX_SIZEOF_CHAR 1
00676 #endif
00677
00678
00679 #ifndef BLOCXX_SIZEOF_CHAR_P
00680 #define BLOCXX_SIZEOF_CHAR_P 8
00681 #endif
00682
00683
00684 #ifndef BLOCXX_SIZEOF_DOUBLE
00685 #define BLOCXX_SIZEOF_DOUBLE 8
00686 #endif
00687
00688
00689 #ifndef BLOCXX_SIZEOF_FLOAT
00690 #define BLOCXX_SIZEOF_FLOAT 4
00691 #endif
00692
00693
00694 #ifndef BLOCXX_SIZEOF_INT
00695 #define BLOCXX_SIZEOF_INT 4
00696 #endif
00697
00698
00699 #ifndef BLOCXX_SIZEOF_LONG_DOUBLE
00700 #define BLOCXX_SIZEOF_LONG_DOUBLE 16
00701 #endif
00702
00703
00704 #ifndef BLOCXX_SIZEOF_LONG_INT
00705 #define BLOCXX_SIZEOF_LONG_INT 8
00706 #endif
00707
00708
00709 #ifndef BLOCXX_SIZEOF_LONG_LONG_INT
00710 #define BLOCXX_SIZEOF_LONG_LONG_INT 8
00711 #endif
00712
00713
00714 #ifndef BLOCXX_SIZEOF_PTHREAD_T
00715 #define BLOCXX_SIZEOF_PTHREAD_T 8
00716 #endif
00717
00718
00719 #ifndef BLOCXX_SIZEOF_SHORT_INT
00720 #define BLOCXX_SIZEOF_SHORT_INT 2
00721 #endif
00722
00723
00724
00725
00726
00727 #ifndef BLOCXX_STDC_HEADERS
00728 #define BLOCXX_STDC_HEADERS 1
00729 #endif
00730
00731
00732 #ifndef BLOCXX_TRUE_PATHNAME
00733 #define BLOCXX_TRUE_PATHNAME "/bin/true"
00734 #endif
00735
00736
00737
00738
00739
00740 #ifndef BLOCXX_VERSION
00741 #define BLOCXX_VERSION "1.0.0"
00742 #endif
00743
00744
00745 #ifndef BLOCXX_WIFEXITED_NEEDS_WAIT_H
00746 #define BLOCXX_WIFEXITED_NEEDS_WAIT_H 1
00747 #endif
00748
00749
00750
00751
00752
00753 #ifndef BLOCXX_WITH_LARGEFILE
00754 #define BLOCXX_WITH_LARGEFILE 1
00755 #endif
00756
00757
00758
00759
00760
00761
00762
00763 #ifndef BLOCXX_YYTEXT_POINTER
00764 #define BLOCXX_YYTEXT_POINTER 1
00765 #endif
00766
00767
00768
00769
00770
00771
00772
00773
00774
00775
00776
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786
00787
00788
00789
00793 #if defined(BLOCXX__FILE_OFFSET_BITS) && \
00794 !defined(_FILE_OFFSET_BITS)
00795 #define \
00796 _FILE_OFFSET_BITS BLOCXX__FILE_OFFSET_BITS
00797 #endif
00798
00799 #if defined(BLOCXX__LARGE_FILES) && \
00800 !defined(_LARGE_FILES)
00801 #define \
00802 _LARGE_FILES BLOCXX__LARGE_FILES
00803 #endif
00804
00805
00837 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)
00838 #ifndef BLOCXX_DEPRECATED
00839 #define BLOCXX_DEPRECATED __attribute__ ((deprecated))
00840 #endif
00841 #else
00842 #ifndef BLOCXX_DEPRECATED
00843 #define BLOCXX_DEPRECATED
00844 #endif
00845 #endif
00846
00847 #ifdef BLOCXX_WIN32
00848 #ifndef BLOCXX_EXPORT
00849 #define BLOCXX_EXPORT __declspec(dllexport)
00850 #endif
00851 #ifndef BLOCXX_IMPORT
00852 #define BLOCXX_IMPORT __declspec(dllimport)
00853 #endif
00854 #else
00855 #ifndef BLOCXX_EXPORT
00856 #define BLOCXX_EXPORT
00857 #endif
00858 #ifndef BLOCXX_IMPORT
00859 #define BLOCXX_IMPORT
00860 #endif
00861 #endif
00862
00863 #ifdef BLOCXX_COMMON_BUILD
00864 #ifndef BLOCXX_COMMON_API
00865 #define BLOCXX_COMMON_API BLOCXX_EXPORT
00866 #endif
00867 #else
00868 #ifndef BLOCXX_COMMON_API
00869 #define BLOCXX_COMMON_API BLOCXX_IMPORT
00870 #endif
00871 #endif
00872
00873 #ifdef BLOCXX_WIN32
00874 #ifndef BLOCXX_EXPORT_TEMPLATE
00875 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X) template class API TMPL< X >
00876 #endif
00877 #else
00878 #ifndef BLOCXX_EXPORT_TEMPLATE
00879 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X)
00880 #endif
00881 #endif
00882
00883
00884 #ifdef __cplusplus
00885
00886
00887 #ifndef BLOCXX_NAMESPACE_CAT
00888 #define BLOCXX_NAMESPACE_CAT(blocxx, ver) blocxx ## ver
00889 #endif
00890 #ifndef BLOCXX_NAMESPACE_AUX
00891 #define BLOCXX_NAMESPACE_AUX(ver) BLOCXX_NAMESPACE_CAT(blocxx, ver)
00892 #endif
00893 #ifndef BLOCXX_NAMESPACE
00894 #define BLOCXX_NAMESPACE BLOCXX_NAMESPACE_AUX(BLOCXX_LIBRARY_VERSION)
00895 #endif
00896
00897
00898 namespace BLOCXX_NAMESPACE
00899 {
00900 }
00901
00902 namespace blocxx = BLOCXX_NAMESPACE;
00903
00904 #ifdef BLOCXX_DEBUG_MEMORY
00905 #include "blocxx/MemTracer.hpp"
00906 #endif
00907
00908
00909 #ifdef BLOCXX_PRINT_FUNC_DEBUG
00910 #include "blocxx/FuncNamePrinter.hpp"
00911
00912 #ifndef BLOCXX_PRINT_FUNC_NAME
00913 #define BLOCXX_PRINT_FUNC_NAME BLOCXX_FuncNamePrinter fnp##__LINE__ (__PRETTY_FUNCTION__)
00914 #endif
00915
00916 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00917 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a)
00918 #endif
00919 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00920 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b)
00921 #endif
00922 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00923 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c)
00924 #endif
00925 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00926 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d)
00927 #endif
00928 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00929 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e)
00930 #endif
00931 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00932 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f)
00933 #endif
00934 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00935 #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)
00936 #endif
00937 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00938 #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)
00939 #endif
00940 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00941 #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)
00942 #endif
00943 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00944 #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)
00945 #endif
00946 #else
00947 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00948 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a)
00949 #endif
00950 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00951 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b)
00952 #endif
00953 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00954 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c)
00955 #endif
00956 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00957 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d)
00958 #endif
00959 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00960 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e)
00961 #endif
00962 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00963 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f)
00964 #endif
00965 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00966 #define BLOCXX_PRINT_FUNC_NAME_ARGS7(a, b, c, d, e, f, g)
00967 #endif
00968 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00969 #define BLOCXX_PRINT_FUNC_NAME_ARGS8(a, b, c, d, e, f, g, h)
00970 #endif
00971 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00972 #define BLOCXX_PRINT_FUNC_NAME_ARGS9(a, b, c, d, e, f, g, h, i)
00973 #endif
00974 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00975 #define BLOCXX_PRINT_FUNC_NAME_ARGS10(a, b, c, d, e, f, g, h, i, j)
00976 #endif
00977 #ifndef BLOCXX_PRINT_FUNC_NAME
00978 #define BLOCXX_PRINT_FUNC_NAME
00979 #endif
00980 #endif
00981
00982 #endif
00983
00984
00985
00986 #endif