Changeset 1177:ef6e8872e637
- Timestamp:
- 03/05/09 21:11:50 (3 years ago)
- Branch:
- default
- Files:
-
- 2 added
- 33 edited
- 1 moved
-
docs/data.tpl.processor (modified) (12 diffs)
-
docs/head_inclusion_policy (added)
-
trunk/include/libdodo/cgiFastExchange.h (modified) (2 diffs)
-
trunk/include/libdodo/cgiFastServer.h (modified) (2 diffs)
-
trunk/include/libdodo/dataBaseMysql.h (modified) (2 diffs)
-
trunk/include/libdodo/dataBasePostgresql.h (modified) (3 diffs)
-
trunk/include/libdodo/dataBaseSqlite.h (modified) (2 diffs)
-
trunk/include/libdodo/dataTplProcessor.h (modified) (2 diffs)
-
trunk/include/libdodo/directives.h (modified) (1 diff)
-
trunk/include/libdodo/exceptionBasic.h (modified) (11 diffs)
-
trunk/include/libdodo/graphicsColor.h (modified) (2 diffs)
-
trunk/src/cgi.cc (modified) (1 diff)
-
trunk/src/cgiBasicExchange.cc (modified) (1 diff)
-
trunk/src/cgiBasicServer.cc (modified) (1 diff)
-
trunk/src/cgiDialogue.cc (modified) (1 diff)
-
trunk/src/cgiExchange.cc (modified) (1 diff)
-
trunk/src/cgiFastExchange.cc (modified) (1 diff)
-
trunk/src/cgiFastExchange.inline (modified) (2 diffs)
-
trunk/src/cgiFastServer.cc (modified) (1 diff)
-
trunk/src/cgiServer.cc (modified) (1 diff)
-
trunk/src/dataBaseAccumulator.cc (modified) (1 diff)
-
trunk/src/dataBaseConnector.cc (modified) (1 diff)
-
trunk/src/dataBaseMysql.cc (modified) (3 diffs)
-
trunk/src/dataBasePostgresql.cc (modified) (4 diffs)
-
trunk/src/dataBaseSqlConstructor.cc (modified) (1 diff)
-
trunk/src/dataBaseSqlite.cc (modified) (3 diffs)
-
trunk/src/dataFormatJsonNode.cc (modified) (1 diff)
-
trunk/src/dataFormatJsonProcessor.cc (modified) (2 diffs)
-
trunk/src/dataFormatXmlNode.cc (modified) (1 diff)
-
trunk/src/dataFormatXmlProcessor.cc (modified) (14 diffs)
-
trunk/src/dataMemoryShared.cc (modified) (3 diffs)
-
trunk/src/dataTplProcessor.cc (modified) (1 diff)
-
trunk/src/exceptionBasic.cc (modified) (25 diffs)
-
trunk/src/graphicsColor.cc (modified) (2 diffs)
-
utils/header_checker.sh (moved) (moved from header_checker.sh)
-
utils/shift_inline_comments.sh (added)
Legend:
- Unmodified
- Added
- Removed
-
docs/data.tpl.processor
r989 r1177 21 21 3. hash 22 22 4. array of hashes 23 23 24 24 variable is iterative with `for` loop 25 25 variable member can be accessed directly with `.` operator 26 example: 26 example: 27 27 1. the first symbol of the string: $strVar.0 28 28 2. the second element of the array: $arrVar.1 … … 47 47 <(rof)> 48 48 |<(print $b.one)> 49 <(rof)> 49 <(rof)> 50 50 51 51 blocks: … … 56 56 57 57 <(include template.tpl)> 58 58 59 59 if: 60 60 `if` statement allows to use conditional blocks … … 86 86 `break` block may have a strength - how many loops[in deep] to break => <(break 2)> => breaks 2 loop blocks; if not specified - 1 by default 87 87 `break` and `continue` blocks outside the loop blocks do nothing 88 88 89 89 example: 90 90 //c++ code: 91 91 dodo::data::tpl::processor tp; 92 92 93 93 dodoStringArray arr; 94 94 arr.push_back("one"); … … 96 96 arr.push_back("three"); 97 97 tp.assign("arr",arr); 98 98 99 99 dodoStringMap arr1; 100 100 arr1["one"] = "one"; … … 102 102 arr1["three"] = "three"; 103 103 tp.assign("arr1",arr1); 104 104 105 105 dodoArray<dodoStringMap> arr2; 106 106 arr2.push_back(arr1); … … 108 108 arr2.push_back(arr1); 109 109 tp.assign("arr2",arr2); 110 110 111 111 //template 112 112 <(for $b in $arr)> … … 121 121 |<(print $c)> 122 122 <(rof)> 123 123 124 124 <(for $b in $arr2)> 125 125 <(for $b in $b)> <(* HERE : `$b in $b` and it's OK! *)> … … 128 128 |<(print $b.one)> 129 129 <(rof)> 130 130 131 131 <(for $b in $arr2)> 132 132 <(for $b => $c in $b)> … … 134 134 <(rof)> 135 135 <(rof)> 136 136 137 137 <(for $b in $arr)> 138 138 <(if $b==2 )> … … 145 145 <(print @@@)> 146 146 <(rof)> 147 147 148 148 print: 149 149 print variable value … … 151 151 example: 152 152 <(print {$arr2.{0}.{$one}} )> 153 153 154 154 <(print $arr2.1.{$arr1.{$one}} )> 155 155 156 156 <(print $arr2.1.{$arr1.{$one}} , !!!! , {$arr2.{0}.{$one}})> -
trunk/include/libdodo/cgiFastExchange.h
r1167 r1177 34 34 35 35 #ifdef FASTCGI_EXT 36 37 36 #include <libdodo/cgiExchange.h> 38 37 #include <libdodo/types.h> … … 136 135 }; 137 136 }; 138 139 137 #endif 140 138 -
trunk/include/libdodo/cgiFastServer.h
r1167 r1177 34 34 35 35 #ifdef FASTCGI_EXT 36 37 36 #include <libdodo/pcSyncThreadSection.h> 38 37 … … 113 112 }; 114 113 }; 115 116 114 #endif 117 115 -
trunk/include/libdodo/dataBaseMysql.h
r1167 r1177 34 34 35 35 #ifdef MYSQL_EXT 36 37 36 #include <libdodo/types.h> 38 37 #include <libdodo/dataBaseSqlConstructor.h> … … 194 193 }; 195 194 }; 196 197 195 #endif 198 196 -
trunk/include/libdodo/dataBasePostgresql.h
r1167 r1177 34 34 35 35 #ifdef POSTGRESQL_EXT 36 37 36 #include <libdodo/types.h> 38 37 #include <libdodo/dataBaseSqlConstructor.h> … … 166 165 167 166 #ifdef POSTGRESQL_NO_ENCODINGTOCHAR 168 169 167 #define POSTGRESQL_ENCODINGSTATEMENTS 39 170 168 … … 245 243 }; 246 244 }; 247 248 245 #endif 249 246 -
trunk/include/libdodo/dataBaseSqlite.h
r1167 r1177 34 34 35 35 #ifdef SQLITE3_EXT 36 37 36 #include <libdodo/dataBaseSqlConstructor.h> 38 37 … … 174 173 }; 175 174 }; 176 177 175 #endif 178 176 -
trunk/include/libdodo/dataTplProcessor.h
r1160 r1177 33 33 #include <libdodo/directives.h> 34 34 35 #include <libdodo/dataTplProcessorEx.h>36 35 #include <libdodo/types.h> 37 #include <libdodo/toolsMisc.h>38 #include <libdodo/cgiFastServer.h>39 #include <libdodo/cgiServer.h>40 #include <libdodo/toolsFilesystem.h>41 36 #include <libdodo/ioChannel.h> 42 37 … … 140 135 * example: 141 136 * //c++ code: 142 * cgiProcessor cgip;137 * dodo::data::tpl::processor cgip; 143 138 * 144 139 * dodoStringArray arr; -
trunk/include/libdodo/directives.h
r1131 r1177 48 48 #define _GNU_SOURCE 49 49 #endif 50 51 #include <stdio.h>52 #include <unistd.h>53 50 54 51 /** -
trunk/include/libdodo/exceptionBasic.h
r1166 r1177 33 33 #include <libdodo/directives.h> 34 34 35 #include <exception> 36 35 37 #include <libdodo/types.h> 36 37 #include <exception>38 39 #ifdef DL_EXT40 41 #include <dlfcn.h>42 43 #endif44 45 #ifdef CALLSTACK_EX46 47 #include <dlfcn.h>48 #include <execinfo.h>49 #include <cxxabi.h>50 51 #endif52 53 #ifdef PTHREAD_EXT54 55 #include <pthread.h>56 57 #endif58 59 #include <stdlib.h>60 38 61 39 namespace dodo … … 146 124 147 125 #ifdef DL_EXT 148 149 126 /** 150 127 * @struct __basicMod … … 171 148 */ 172 149 typedef void (*deinitBaseExModule)(); 173 174 150 #endif 175 151 … … 186 162 187 163 #ifdef CALLSTACK_EX 188 189 164 /** 190 165 * @struct __call … … 197 172 void *address; ///< address of the call 198 173 }; 199 200 174 #endif 201 175 … … 254 228 255 229 #ifdef CALLSTACK_EX 256 257 230 /** 258 231 * @return call stack to the exception point 259 232 */ 260 233 virtual dodoString getCallStack(); 261 262 234 #endif 263 235 … … 275 247 276 248 #ifdef CALLSTACK_EX 277 278 249 dodoArray<__call> callStack; ///< call stack of the raised exception 279 280 250 #endif 281 251 … … 310 280 311 281 #ifdef DL_EXT 312 313 282 /** 314 283 * @return information about module … … 341 310 void *data, 342 311 void *toInit = NULL); 343 344 312 #endif 345 313 … … 353 321 354 322 #ifdef DL_EXT 355 356 323 static void *handlesEx[BASEEX_MODULES]; ///< handles to the libraries 357 324 358 325 static bool handlesOpenedEx[BASEEX_MODULES]; ///< map of the opened libraries 359 360 326 #endif 361 327 … … 391 357 392 358 #ifdef PTHREAD_EXT 393 394 359 static pthread_mutex_t keeper; ///< mutex 395 396 360 #endif 397 361 }; -
trunk/include/libdodo/graphicsColor.h
r1160 r1177 34 34 35 35 #ifdef IMAGEMAGICK_EXT 36 37 36 namespace dodo 38 37 { … … 68 67 }; 69 68 }; 70 71 69 #endif 72 70 -
trunk/src/cgi.cc
r1167 r1177 28 28 */ 29 29 30 #include <libdodo/cgi.h>31 32 30 #include <libdodo/directives.h> 33 31 32 #include <libdodo/cgi.h> 34 33 #include <libdodo/types.h> 35 34 -
trunk/src/cgiBasicExchange.cc
r1167 r1177 28 28 */ 29 29 30 #include <libdodo/cgiBasicExchange.h>31 32 30 #include <libdodo/directives.h> 33 31 32 #include <libdodo/cgiBasicExchange.h> 34 33 #include <libdodo/cgiExchange.h> 35 34 #include <libdodo/ioStdio.h> -
trunk/src/cgiBasicServer.cc
r1167 r1177 28 28 */ 29 29 30 #include <libdodo/cgiBasicServer.h>31 32 30 #include <libdodo/directives.h> 33 31 32 #include <libdodo/cgiBasicServer.h> 34 33 #include <libdodo/cgiBasicExchange.h> 35 34 -
trunk/src/cgiDialogue.cc
r1167 r1177 28 28 */ 29 29 30 #include <libdodo/directives.h> 31 30 32 #include <string.h> 31 33 #include <stdlib.h> 32 34 33 35 #include <libdodo/cgiDialogue.h> 34 35 #include <libdodo/directives.h>36 37 36 #include <libdodo/types.h> 38 39 37 #include <libdodo/cgi.h> 40 38 #include <libdodo/cgiExchange.h> 41 39 #include <libdodo/cgiDialogueEx.h> 42 43 40 44 41 using namespace dodo::cgi; -
trunk/src/cgiExchange.cc
r1167 r1177 28 28 */ 29 29 30 #include <libdodo/cgiExchange.h>31 32 30 #include <libdodo/directives.h> 33 31 32 #include <libdodo/cgiExchange.h> 34 33 #include <libdodo/ioChannel.h> 35 34 -
trunk/src/cgiFastExchange.cc
r1167 r1177 31 31 32 32 #ifdef FASTCGI_EXT 33 34 33 #include <fcgiapp.h> 35 34 -
trunk/src/cgiFastExchange.inline
r1167 r1177 34 34 35 35 #ifdef FASTCGI_EXT 36 37 36 #include <fcgiapp.h> 38 37 … … 50 49 }; 51 50 }; 52 53 51 #endif 54 52 -
trunk/src/cgiFastServer.cc
r1167 r1177 31 31 32 32 #ifdef FASTCGI_EXT 33 34 33 #include <fcgiapp.h> 35 34 36 35 #include "cgiFastExchange.inline" 37 36 37 #include <libdodo/cgiFastServer.h> 38 38 #include <libdodo/types.h> 39 #include <libdodo/cgiFastServer.h>40 39 #include <libdodo/cgiFastServerEx.h> 41 40 #include <libdodo/cgiFastExchange.h> -
trunk/src/cgiServer.cc
r1010 r1177 28 28 */ 29 29 30 #include <libdodo/directives.h> 31 30 32 #include <libdodo/cgiServer.h> 31 33 -
trunk/src/dataBaseAccumulator.cc
r1167 r1177 30 30 #include <libdodo/directives.h> 31 31 32 #include <libdodo/dataBaseAccumulator.h> 32 33 #include <libdodo/types.h> 33 #include <libdodo/dataBaseAccumulator.h>34 34 #include <libdodo/toolsString.h> 35 35 #include <libdodo/xexec.h> -
trunk/src/dataBaseConnector.cc
r1167 r1177 30 30 #include <libdodo/directives.h> 31 31 32 #include <libdodo/dataBaseConnector.h> 32 33 #include <libdodo/types.h> 33 #include <libdodo/dataBaseConnector.h>34 34 35 35 using namespace dodo::data::base; -
trunk/src/dataBaseMysql.cc
r1170 r1177 31 31 32 32 #ifdef MYSQL_EXT 33 34 33 #include <mysql.h> 34 #include <errmsg.h> 35 36 #include <libdodo/dataBaseMysql.h> 37 #include <libdodo/dataBaseMysqlEx.h> 35 38 36 39 namespace dodo … … 48 51 }; 49 52 }; 50 51 #include <errmsg.h>52 53 #include <libdodo/dataBaseMysql.h>54 #include <libdodo/dataBaseMysqlEx.h>55 53 56 54 using namespace dodo::data::base; … … 683 681 return rowsFields; 684 682 } 685 686 #endif 687 688 //------------------------------------------------------------------- 689 683 #endif 684 685 //------------------------------------------------------------------- 686 -
trunk/src/dataBasePostgresql.cc
r1170 r1177 31 31 32 32 #ifdef POSTGRESQL_EXT 33 34 33 #include <libpq-fe.h> 35 34 #include <stdlib.h> 35 36 #include <libdodo/dataBasePostgresql.h> 37 #include <libdodo/toolsString.h> 38 #include <libdodo/toolsMisc.h> 39 #include <libdodo/dataBasePostgresqlEx.h> 40 #include <libdodo/xexec.h> 36 41 37 42 namespace dodo … … 51 56 }; 52 57 53 #include <libdodo/toolsString.h>54 #include <libdodo/toolsMisc.h>55 #include <libdodo/dataBasePostgresql.h>56 #include <libdodo/dataBasePostgresqlEx.h>57 #include <libdodo/xexec.h>58 59 58 using namespace dodo::data::base; 60 59 61 60 #ifdef POSTGRESQL_NO_ENCODINGTOCHAR 62 63 61 const dodoString postgresql::encodingStatements[] = 64 62 { … … 103 101 "GB18030" 104 102 }; 105 106 103 #endif 107 104 … … 1025 1022 #endif 1026 1023 } 1027 1028 #endif 1029 1030 //------------------------------------------------------------------- 1024 #endif 1025 1026 //------------------------------------------------------------------- -
trunk/src/dataBaseSqlConstructor.cc
r1167 r1177 30 30 #include <libdodo/directives.h> 31 31 32 #include <libdodo/dataBaseSqlConstructor.h> 32 33 #include <libdodo/types.h> 33 34 #include <libdodo/toolsMisc.h> 34 #include <libdodo/dataBaseSqlConstructor.h>35 35 #include <libdodo/dataBaseSqlConstructorEx.h> 36 36 #include <libdodo/dataBaseAccumulator.h> -
trunk/src/dataBaseSqlite.cc
r1167 r1177 31 31 32 32 #ifdef SQLITE3_EXT 33 34 33 #include <sqlite3.h> 34 35 #include <libdodo/dataBaseSqlite.h> 36 #include <libdodo/toolsMisc.h> 37 #include <libdodo/dataBaseSqliteEx.h> 38 #include <libdodo/xexec.h> 35 39 36 40 namespace dodo … … 48 52 }; 49 53 }; 50 51 #include <libdodo/dataBaseSqlite.h>52 #include <libdodo/toolsMisc.h>53 #include <libdodo/dataBaseSqliteEx.h>54 #include <libdodo/xexec.h>55 54 56 55 using namespace dodo::data::base; … … 1163 1162 return rowsFields; 1164 1163 } 1165 1166 #endif 1167 1168 //------------------------------------------------------------------- 1169 1164 #endif 1165 1166 //------------------------------------------------------------------- 1167 -
trunk/src/dataFormatJsonNode.cc
r1175 r1177 30 30 #include <libdodo/directives.h> 31 31 32 #include <libdodo/dataFormatJsonNode.h> 32 33 #include <libdodo/types.h> 33 34 #include <libdodo/toolsString.h> 34 35 #include <libdodo/dataFormatJsonNodeEx.h> 35 #include <libdodo/dataFormatJsonNode.h>36 36 37 37 using namespace dodo::data::format::json; -
trunk/src/dataFormatJsonProcessor.cc
r1175 r1177 30 30 #include <libdodo/directives.h> 31 31 32 #include <libdodo/dataFormatJsonProcessor.h> 32 33 #include <libdodo/types.h> 33 34 #include <libdodo/toolsString.h> … … 35 36 #include <libdodo/dataFormatJsonProcessorEx.h> 36 37 #include <libdodo/dataFormatJsonNode.h> 37 #include <libdodo/dataFormatJsonProcessor.h>38 38 39 39 using namespace dodo::data::format::json; -
trunk/src/dataFormatXmlNode.cc
r1175 r1177 27 27 * set shiftwidth=4 28 28 */ 29 30 #include <libdodo/directives.h> 29 31 30 32 #include <libdodo/dataFormatXmlNode.h> -
trunk/src/dataFormatXmlProcessor.cc
r1175 r1177 31 31 32 32 #ifdef LIBXML2_EXT 33 34 33 #include <libxml/parser.h> 35 34 #include <libxml/xmlmemory.h> 36 35 #endif 36 37 #include <libdodo/dataFormatXmlProcessor.h> 38 #include <libdodo/dataFormatXmlProcessorEx.h> 39 40 #ifdef LIBXML2_EXT 37 41 namespace dodo 38 42 { … … 49 53 */ 50 54 __node(); 51 52 55 53 56 /** … … 67 70 }; 68 71 }; 69 70 #endif 71 72 #include <libdodo/dataFormatXmlProcessorEx.h> 73 #include <libdodo/dataFormatXmlProcessor.h> 72 #endif 74 73 75 74 using namespace dodo::data::format::xml; … … 140 139 141 140 #ifdef LIBXML2_EXT 142 143 141 void 144 142 errHandler(void *data, … … 146 144 { 147 145 } 148 149 146 #endif 150 147 … … 186 183 187 184 #ifdef LIBXML2_EXT 188 189 185 bool 190 186 processor::isCDATA(const __node &a_xnode) … … 203 199 return false; 204 200 } 205 206 201 #endif 207 202 … … 365 360 366 361 #ifdef LIBXML2_EXT 367 368 362 dodoArray<node> 369 363 processor::parse(const __nodeDef &definition, … … 478 472 return sampleArr; 479 473 } 480 481 #endif 482 483 //------------------------------------------------------------------- 484 485 #ifdef LIBXML2_EXT 486 474 #endif 475 476 //------------------------------------------------------------------- 477 478 #ifdef LIBXML2_EXT 487 479 void 488 480 processor::getAttributes(const __nodeDef &definition, … … 600 592 } 601 593 } 602 603 594 #endif 604 595 … … 674 665 675 666 #ifdef LIBXML2_EXT 676 677 667 dodoArray<node> 678 668 processor::parse(__node xnode) … … 720 710 return sample; 721 711 } 722 723 712 #endif 724 713 … … 840 829 841 830 #ifdef LIBXML2_EXT 842 843 831 __node 844 832 processor::findNode(const __nodeDef &definition, … … 893 881 return __node(NULL); 894 882 } 895 896 883 #endif 897 884 -
trunk/src/dataMemoryShared.cc
r1175 r1177 29 29 30 30 #include <libdodo/directives.h> 31 #include <libdodo/types.h>32 31 33 32 #include <sys/types.h> … … 41 40 #endif 42 41 42 #include <libdodo/dataMemoryShared.h> 43 #include <libdodo/toolsMisc.h> 44 #include <libdodo/types.h> 45 #include <libdodo/toolsCode.h> 46 #include <libdodo/dataMemorySharedEx.h> 47 43 48 namespace dodo 44 49 { … … 58 63 }; 59 64 }; 60 61 #include <libdodo/toolsMisc.h>62 #include <libdodo/toolsCode.h>63 #include <libdodo/dataMemoryShared.h>64 #include <libdodo/dataMemorySharedEx.h>65 65 66 66 using namespace dodo::data::memory; -
trunk/src/dataTplProcessor.cc
r1166 r1177 28 28 */ 29 29 30 #include <libdodo/directives.h> 31 30 32 #include <libdodo/dataTplProcessor.h> 33 #include <libdodo/dataTplProcessorEx.h> 34 #include <libdodo/types.h> 35 #include <libdodo/toolsFilesystem.h> 36 #include <libdodo/toolsMisc.h> 37 #include <libdodo/ioChannel.h> 31 38 32 39 using namespace dodo::data::tpl; -
trunk/src/exceptionBasic.cc
r1162 r1177 28 28 */ 29 29 30 #include <libdodo/directives.h> 31 32 #ifdef DL_EXT 33 #include <dlfcn.h> 34 #endif 35 36 #ifdef CALLSTACK_EX 37 #include <dlfcn.h> 38 #include <execinfo.h> 39 #include <cxxabi.h> 40 #endif 41 42 #ifdef PTHREAD_EXT 43 #include <pthread.h> 44 #endif 45 46 #include <stdlib.h> 47 30 48 #include <libdodo/exceptionBasic.h> 31 49 … … 208 226 209 227 #ifdef DL_EXT 210 211 228 bool basic::handlesOpenedEx[] = 212 229 { … … 319 336 NULL 320 337 }; 321 322 338 #endif 323 339 … … 325 341 326 342 #ifdef PTHREAD_EXT 327 328 343 pthread_mutex_t basic::syncThreadSection::keeper; 329 330 344 #endif 331 345 … … 339 353 { 340 354 #ifdef PTHREAD_EXT 341 342 355 pthread_mutexattr_t attr; 343 356 pthread_mutexattr_init(&attr); … … 347 360 348 361 pthread_mutexattr_destroy(&attr); 349 350 362 #endif 351 363 } … … 356 368 { 357 369 #ifdef PTHREAD_EXT 358 359 370 pthread_mutex_destroy(&keeper); 360 361 371 #endif 362 372 } … … 368 378 { 369 379 #ifdef PTHREAD_EXT 370 371 380 pthread_mutex_lock(&keeper); 372 373 381 #endif 374 382 } … … 380 388 { 381 389 #ifdef PTHREAD_EXT 382 383 390 pthread_mutex_unlock(&keeper); 384 385 391 #endif 386 392 } … … 428 434 429 435 #ifdef CALLSTACK_EX 430 431 436 void *trace[MAXCALLSTACKLEN]; 432 437 … … 472 477 473 478 free(symbols); 474 475 479 #endif 476 480 … … 496 500 { 497 501 #ifdef DL_EXT 498 499 502 deinitBaseExModule deinit; 500 503 … … 518 521 #endif 519 522 } 520 521 523 #endif 522 524 } … … 526 528 527 529 #ifdef CALLSTACK_EX 528 529 530 dodoString 530 531 basic::getCallStack() … … 543 544 return stack; 544 545 } 545 546 #endif 547 548 //------------------------------------------------------------------- 549 550 basic::operator const dodoString 551 & () 546 #endif 547 548 //------------------------------------------------------------------- 549 550 basic::operator const dodoString &() 552 551 { 553 552 syncThreadStack tg; … … 578 577 579 578 #ifdef DL_EXT 580 581 579 if (handlesOpenedEx[module]) 582 580 { … … 596 594 handlesEx[module] = NULL; 597 595 } 598 599 596 #endif 600 597 … … 621 618 { 622 619 #ifdef DL_EXT 623 624 620 if (handlesOpenedEx[i]) 625 621 { … … 637 633 handlesEx[i] = NULL; 638 634 } 639 640 635 #endif 641 636 … … 654 649 655 650 #ifdef DL_EXT 656 657 651 if (handlesOpenedEx[module]) 658 652 { … … 672 666 handlesEx[module] = NULL; 673 667 } 674 675 668 #endif 676 669 … … 694 687 { 695 688 #ifdef DL_EXT 696 697 689 if (handlesOpenedEx[i]) 698 690 { … … 710 702 handlesEx[i] = NULL; 711 703 } 712 713 704 #endif 714 705 … … 722 713 723 714 #ifdef DL_EXT 724 725 715 bool 726 716 basic::setErrorHandlers(const dodoString &path, … … 885 875 return mod; 886 876 } 887 888 #endif 889 890 //------------------------------------------------------------------- 891 877 #endif 878 879 //------------------------------------------------------------------- 880 -
trunk/src/graphicsColor.cc
r1160 r1177 28 28 */ 29 29 30 #include <libdodo/ graphicsColor.h>30 #include <libdodo/directives.h> 31 31 32 32 #ifdef IMAGEMAGICK_EXT 33 #include <libdodo/graphicsColor.h> 33 34 34 35 using namespace dodo::graphics; … … 73 74 65535, 65535, 65535, 65535 74 75 }; 75 76 76 #endif 77 77
Note: See TracChangeset
for help on using the changeset viewer.
