- Timestamp:
- 04/15/07 19:13:59 (2 years ago)
- Files:
-
- trunk/doc/ddl/html/css/style.css (modified) (1 diff)
- trunk/doc/ddl/html/ddl/Attributes.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/DDLError.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/DDLException.html (modified) (2 diffs)
- trunk/doc/ddl/html/ddl/DDLReader.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/DDLWriter.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/DefaultRegistry.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/Demangle.html (modified) (2 diffs)
- trunk/doc/ddl/html/ddl/DynamicLibrary.html (modified) (7 diffs)
- trunk/doc/ddl/html/ddl/DynamicLibraryLoader.html (modified) (2 diffs)
- trunk/doc/ddl/html/ddl/DynamicModule.html (modified) (11 diffs)
- trunk/doc/ddl/html/ddl/ExportSymbol.html (modified) (4 diffs)
- trunk/doc/ddl/html/ddl/FileBuffer.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/Linker.html (modified) (10 diffs)
- trunk/doc/ddl/html/ddl/LoaderRegistry.html (modified) (3 diffs)
- trunk/doc/ddl/html/ddl/Mangle.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/PathLibrary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/Utils.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/all.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/ar/ArchiveLibrary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/ar/ArchiveLoader.html (modified) (2 diffs)
- trunk/doc/ddl/html/ddl/ar/ArchiveReader.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/ddl/DDLBinary.html (modified) (3 diffs)
- trunk/doc/ddl/html/ddl/ddl/DDLLibrary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/ddl/DDLLoader.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/elf/ELFBinary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/elf/ELFHeaders.html (modified) (2 diffs)
- trunk/doc/ddl/html/ddl/elf/ELFLibrary.html (modified) (2 diffs)
- trunk/doc/ddl/html/ddl/elf/ELFModule.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/elf/ELFObjLoader.html (modified) (5 diffs)
- trunk/doc/ddl/html/ddl/elf/ELFPrinter.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/elf/ELFReader.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/insitu/InSituBinary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/insitu/InSituLibBinary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/insitu/InSituLibrary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/insitu/InSituLoader.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/insitu/InSituMapBinary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/insitu/InSituModule.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/omf/DLLProvider.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/omf/OMFBinary.html (modified) (9 diffs)
- trunk/doc/ddl/html/ddl/omf/OMFException.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/omf/OMFLibrary.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/omf/OMFLoader.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/omf/OMFModule.html (modified) (1 diff)
- trunk/doc/ddl/html/ddl/omf/OMFReader.html (modified) (6 diffs)
- trunk/doc/ddl/html/examples/host.html (modified) (4 diffs)
- trunk/doc/ddl/html/examples/mule.html (modified) (1 diff)
- trunk/doc/ddl/html/index.html (modified) (1 diff)
- trunk/doc/ddl/html/meta/conv.html (modified) (1 diff)
- trunk/doc/ddl/html/meta/ctype.html (modified) (1 diff)
- trunk/doc/ddl/html/meta/math.html (modified) (1 diff)
- trunk/doc/ddl/html/meta/string.html (modified) (1 diff)
- trunk/doc/ddl/html/utils/ArgParser.html (modified) (7 diffs)
- trunk/doc/ddl/index.ddoc (modified) (2 diffs)
- trunk/doc/ddl/xhtml.ddoc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doc/ddl/html/css/style.css
r256 r277 1 body{ 2 margin: 0px; 3 padding: 0px; 1 2 /* set background in Moz */ 3 body {font:normal 9pt arial; margin:10px;} 4 5 html>body #content{ 6 background: #FFF; 7 background-image: url('../img/watermark.png'); 8 background-repeat: no-repeat; 9 background-position: bottom right; 4 10 } 5 11 6 #pageheader{ 7 position: absolute; 8 top: 0px; 9 left: 0px; 10 width: 200px; 11 height: 40px; 12 overflow: auto; 13 } 14 15 #pageheader h2{ 16 margin: 0px; 17 } 18 19 #explorer{ 20 position: absolute; 21 top: 40px; 22 left: 0px; 23 width: 200px; 24 bottom: 0px; 25 overflow: auto; 12 #top{ 13 background: url('../img/logo.png') top left no-repeat; 14 padding-top: 0px; 26 15 } 27 16 28 17 #content{ 29 position: absolute; 30 top: 0px; 31 left: 200px; 32 right: 0px; 33 bottom: 0px; 34 overflow: auto; 18 padding-top: 10px; 35 19 } 36 20 37 #footer{ 38 position: absolute; 39 bottom: 0px; 40 left: 0px; 41 right: 0px; 42 height: 40px; 43 overflow: auto; 21 #menutree{ 22 overflow: hidden; 44 23 } 24 25 #bottom{ 26 background: #fff; 27 } 28 29 #bottom p{ 30 padding: 10px; 31 } 32 33 #tabheader{ 34 padding: 0px; 35 margin: 0px; 36 display: block; 37 white-space: nowrap; 38 height: 30px; 39 } 40 41 /**********************************************************/ 42 .tab-header{ 43 height: 30px; 44 width: 100%; 45 table-layout: fixed; 46 } 47 48 .tab{ 49 margin-left: 15px; 50 height: 30px; 51 text-align: left; 52 color: #ddd; 53 cursor: pointer; 54 overflow: hidden; 55 background: url('../img/tab/tab.disabled.left.png') top left no-repeat; 56 } 57 58 .tab nobr{ 59 height: 30px; 60 margin-left: 15px; 61 padding-top: 8px; 62 color: #fff; 63 display: block; 64 background: url('../img/tab/tab.disabled.png') repeat-x; 65 } 66 67 .tab-active{ 68 background: url('../img/tab/tab.enabled.left.png') top left no-repeat; 69 70 } 71 72 .tab-active nobr{ 73 height: 30px; 74 margin-left: 15px; 75 color: #000; 76 background: url('../img/tab/tab.enabled.png') repeat-x; 77 } 78 79 .tab-close{ 80 height: 30px; 81 width: 30px; 82 margin-right: 5px; 83 cursor: pointer; 84 background: url('../img/tab/close.disabled.png') top left no-repeat; 85 } 86 87 .tab-close-active{ 88 background: url('../img/tab/close.enabled.png') top left no-repeat; 89 } 90 91 /**********************************************************/ 92 93 .tab-body{ 94 display: none; 95 } 96 97 .tab-body-active{ 98 display: block; 99 } 100 101 /**********************************************************/ 102 .tab-inverted .tab-header{ 103 height: 30px; 104 width: 100%; 105 table-layout: fixed; 106 } 107 108 .tab-inverted .tab{ 109 margin-left: 15px; 110 height: 30px; 111 text-align: left; 112 color: #ddd; 113 cursor: pointer; 114 overflow: hidden; 115 background: url('../img/tab-inverted/tab.disabled.left.png') top left no-repeat; 116 } 117 118 .tab-inverted .tab nobr{ 119 height: 30px; 120 margin-left: 15px; 121 padding-top: 8px; 122 color: #fff; 123 display: block; 124 background: url('../img/tab-inverted/tab.disabled.png') repeat-x; 125 } 126 127 .tab-inverted .tab-active{ 128 background: url('../img/tab-inverted/tab.enabled.left.png') top left no-repeat; 129 130 } 131 132 .tab-inverted .tab-active nobr{ 133 height: 30px; 134 margin-left: 15px; 135 color: #000; 136 background: url('../img/tab-inverted/tab.enabled.png') repeat-x; 137 } 138 139 .tab-inverted .tab-close{ 140 height: 30px; 141 width: 30px; 142 margin-right: 5px; 143 cursor: pointer; 144 background: url('../img/tab-inverted/close.disabled.png') top left no-repeat; 145 } 146 147 .tab-inverted .tab-close-active{ 148 background: url('../img/tab-inverted/close.enabled.png') top left no-repeat; 149 } trunk/doc/ddl/html/ddl/Attributes.html
r250 r277 15 15 <br/><br/> 16 16 17 < dl></dl>17 <span class="d-modulemembers"></span> 18 18 19 19 </body></html> trunk/doc/ddl/html/ddl/DDLError.html
r250 r277 13 13 <br/><br/> 14 14 15 <dl><dt><big>class <u>DDLError</u>: object.Error; 16 </big></dt> 15 <span class="d-modulemembers"><dt><span class="d-decl">class <span class="d-symbol" decl="DDLError">DDLError</span>: object.Error; 16 </span></dt> 17 17 18 <dd>Error subclass for DDL internals. Used when the application needs to halt, due to something 18 19 un-recoverable. 19 20 <br/><br/> 20 21 21 <dl>< /dl>22 <dl><span class="d-members"></span></dl> 22 23 </dd> 23 </ dl>24 </span> 24 25 25 26 </body></html> trunk/doc/ddl/html/ddl/DDLException.html
r250 r277 13 13 <br/><br/> 14 14 15 <dl><dt><big>class <u>DDLException</u>: object.Exception; 16 </big></dt> 15 <span class="d-modulemembers"><dt><span class="d-decl">class <span class="d-symbol" decl="DDLException">DDLException</span>: object.Exception; 16 </span></dt> 17 17 18 <dd>Error subclass for DDL internals. Used when the application needs to be warned about something 18 19 that could adversely affect its behavior, but is potentially recoverable. The error message here … … 21 22 <br/><br/> 22 23 23 <dl>< /dl>24 <dl><span class="d-members"></span></dl> 24 25 </dd> 25 </ dl>26 </span> 26 27 27 28 </body></html> trunk/doc/ddl/html/ddl/DDLReader.html
r250 r277 15 15 <br/><br/> 16 16 17 < dl></dl>17 <span class="d-modulemembers"></span> 18 18 19 19 </body></html> trunk/doc/ddl/html/ddl/DDLWriter.html
r250 r277 15 15 <br/><br/> 16 16 17 < dl></dl>17 <span class="d-modulemembers"></span> 18 18 19 19 </body></html> trunk/doc/ddl/html/ddl/DefaultRegistry.html
r250 r277 16 16 <br/><br/> 17 17 18 < dl></dl>18 <span class="d-modulemembers"></span> 19 19 20 20 </body></html> trunk/doc/ddl/html/ddl/Demangle.html
r250 r277 16 16 <br/><br/> 17 17 18 <dl><dt><big>enum <u>DemangleType</u>; 19 </big></dt> 18 <span class="d-modulemembers"><dt><span class="d-decl">enum <span class="d-symbol" decl="DemangleType">DemangleType</span>; 19 </span></dt> 20 20 21 <dd>The type of symbol that is represented by a given mangled name. 21 22 <br/><br/> … … 24 25 <br/><br/> 25 26 26 <dl>< /dl>27 <dl><span class="d-members"></span></dl> 27 28 </dd> 28 <dt><big>char[] <u>demangleSymbol</u>(char[] <i>symbol</i>); 29 </big></dt> 30 <dd>Parses a mangled D <i>symbol</i> and returns the equivalent D code to match the <i>symbol</i>. 29 <dt><span class="d-decl">char[] <span class="d-symbol" decl="demangleSymbol">demangleSymbol</span>(char[] <span class="d-param">symbol</span> 30 ); 31 </span></dt> 32 33 <dd>Parses a mangled D <span class="d-param">symbol</span> 34 and returns the equivalent D code to match the <span class="d-param">symbol</span> 35 . 31 36 <br/><br/> 32 <table><tr><td>char[] <i>symbol</i></td> 33 <td>The mangled D <i>symbol</i>.</td></tr> 34 </table><br/><br/> 37 <span class="d-params"><table><tr><td nowrap valign="top" style="padding-right: 8px">char[] <span class="d-param">symbol</span> 38 </td> 39 <td><span class="d-paramdesc">The mangled D <span class="d-param">symbol</span> 40 .</span></td></tr> 41 </table><br/><br/></span> 35 42 <b>Returns:</b><br/> 36 A D code representation of the <i>symbol</i>. 43 A D code representation of the <span class="d-param">symbol</span> 44 . 37 45 <br/><br/> 38 46 39 47 </dd> 40 <dt><big>DemangleType <u>getDemangleType</u>(char[] <i>symbol</i>); 41 </big></dt> 42 <dd>Parses a mangled D <i>symbol</i> and returns its DemangleType. 48 <dt><span class="d-decl">DemangleType <span class="d-symbol" decl="getDemangleType">getDemangleType</span>(char[] <span class="d-param">symbol</span> 49 ); 50 </span></dt> 51 52 <dd>Parses a mangled D <span class="d-param">symbol</span> 53 and returns its DemangleType. 43 54 <br/><br/> 44 <table><tr><td>char[] <i>symbol</i></td> 45 <td>The mangled D <i>symbol</i>.</td></tr> 46 </table><br/><br/> 55 <span class="d-params"><table><tr><td nowrap valign="top" style="padding-right: 8px">char[] <span class="d-param">symbol</span> 56 </td> 57 <td><span class="d-paramdesc">The mangled D <span class="d-param">symbol</span> 58 .</span></td></tr> 59 </table><br/><br/></span> 47 60 <b>Returns:</b><br/> 48 The DemangleType for the <i>symbol</i>. 61 The DemangleType for the <span class="d-param">symbol</span> 62 . 49 63 <br/><br/> 50 64 51 65 </dd> 52 </ dl>66 </span> 53 67 54 68 </body></html> trunk/doc/ddl/html/ddl/DynamicLibrary.html
r250 r277 13 13 <br/><br/> 14 14 15 <dl><dt><big>class <u>DynamicLibrary</u>; 16 </big></dt> 17 <dd>Abstract base class for all <u>DynamicLibrary</u> types for use with DDL. 15 <span class="d-modulemembers"><dt><span class="d-decl">class <span class="d-symbol" decl="DynamicLibrary">DynamicLibrary</span>; 16 </span></dt> 17 18 <dd>Abstract base class for all <span class="d-symbol" decl="DynamicLibrary">DynamicLibrary</span> types for use with DDL. 18 19 <br/><br/> 19 20 20 <dl><dt><big>ExportSymbol * <u>getSymbol</u>(char[] <i>name</i>); 21 </big></dt> 21 <dl><span class="d-members"><dt><span class="d-decl">ExportSymbol * <span class="d-symbol" decl="getSymbol">getSymbol</span>(char[] <span class="d-param">name</span> 22 ); 23 </span></dt> 24 22 25 <dd><b>Returns:</b><br/> 23 an export for the requested symbol <i>name</i>. Will throw if the symbol does not exist. 26 an export for the requested symbol <span class="d-param">name</span> 27 . Will throw if the symbol does not exist. 24 28 25 29 <br/><br/> 26 30 27 31 </dd> 28 <dt><big>DynamicModule[] <u>getModules</u>(); 29 </big></dt> 32 <dt><span class="d-decl">DynamicModule[] <span class="d-symbol" decl="getModules">getModules</span>(); 33 </span></dt> 34 30 35 <dd><b>Returns:</b><br/> 31 36 all the modules controled by this library. … … 34 39 35 40 </dd> 36 <dt><big>char[] <u>getType</u>(); 37 </big></dt> 41 <dt><span class="d-decl">char[] <span class="d-symbol" decl="getType">getType</span>(); 42 </span></dt> 43 38 44 <dd>This provides a means to identify what type of library is being used here. 39 45 The string returned matches the string returned by the DymamicLibraryLoader … … 46 52 47 53 </dd> 48 <dt><big>char[][char[]] <u>getAttributes</u>(); 49 </big></dt> 54 <dt><span class="d-decl">char[][char[]] <span class="d-symbol" decl="getAttributes">getAttributes</span>(); 55 </span></dt> 56 50 57 <dd><b>Returns:</b><br/> 51 58 the attributes for this library. … … 54 61 55 62 </dd> 56 <dt><big>DynamicModule <u>getModuleForSymbol</u>(char[] <i>name</i>); 57 </big></dt> 58 <dd>The <u>getModuleForSymbol</u>() method provides a way for DymamicLibrary implementations to implement 63 <dt><span class="d-decl">DynamicModule <span class="d-symbol" decl="getModuleForSymbol">getModuleForSymbol</span>(char[] <span class="d-param">name</span> 64 ); 65 </span></dt> 66 67 <dd>The <span class="d-symbol" decl="getModuleForSymbol">getModuleForSymbol</span>() method provides a way for DymamicLibrary implementations to implement 59 68 conservative loading of modules when a link operation is in progress. The linker 60 uses this method to get a module for a given export <i>name</i>, and then processes 69 uses this method to get a module for a given export <span class="d-param">name</span> 70 , and then processes 61 71 the link operation against the module returned. 62 72 <br/><br/> … … 64 74 forces the implementation to return every and all modules it controls, without exception. 65 75 <br/><br/> 66 67 76 68 77 In light of that, Relying on the getModules() (and getSymbols()) methods can have serious … … 74 83 <br/><br/> 75 84 <b>Returns:</b><br/> 76 the module contianing the export, or <b>null</b>if no module in this library contains85 the module contianing the export, or $B(<span class="d-keyword">null</span>) if no module in this library contains 77 86 the export. The module is not guaranteed to contain the symbol provided, and can simply be 78 87 the library's best guess as to a match. Call getSymbol() on the returned module to eliminate 79 any such <b>false</b>-positives.88 any such $B(<span class="d-keyword">false</span>)-positives. 80 89 81 90 <br/><br/> 82 <table><tr><td>char[] <i>name</i></td> 83 <td>the <i>name</i> of the symbol to find a module match for.</td></tr> 84 </table><br/><br/> 91 <span class="d-params"><table><tr><td nowrap valign="top" style="padding-right: 8px">char[] <span class="d-param">name</span> 92 </td> 93 <td><span class="d-paramdesc">the <span class="d-param">name</span> 94 of the symbol to find a module match for.</span></td></tr> 95 </table><br/><br/></span> 85 96 86 97 </dd> 87 <dt><big>ubyte[] <u>getResource</u>(char[] <i>name</i>); 88 </big></dt> 89 <dd>The use of the <u>getResource</u> method is primarily to support resource loading on 98 <dt><span class="d-decl">ubyte[] <span class="d-symbol" decl="getResource">getResource</span>(char[] <span class="d-param">name</span> 99 ); 100 </span></dt> 101 102 <dd>The use of the <span class="d-symbol" decl="getResource">getResource</span> method is primarily to support resource loading on 90 103 .zip style collections. Its behavior is very implementation dependent, but it 91 can be reliably expected to return <b>null</b>if a resource cannot be reproduced.104 can be reliably expected to return $B(<span class="d-keyword">null</span>) if a resource cannot be reproduced. 92 105 <br/><br/> 93 106 <b>Returns:</b><br/> 94 the requested resource, or <b>null</b>if it does not exist.107 the requested resource, or $B(<span class="d-keyword">null</span>) if it does not exist. 95 108 <br/><br/> 96 <table><tr><td>char[] <i>name</i></td> 97 <td>the <i>name</i> of the symbol to search for.</td></tr> 98 </table><br/><br/> 109 <span class="d-params"><table><tr><td nowrap valign="top" style="padding-right: 8px">char[] <span class="d-param">name</span> 110 </td> 111 <td><span class="d-paramdesc">the <span class="d-param">name</span> 112 of the symbol to search for.</span></td></tr> 113 </table><br/><br/></span> 99 114 100 115 </dd> 101 <dt><big>template <u>getClassInfo</u>(char[] classname)</big></dt> 116 <dt><span class="d-decl">template <span class="d-symbol" decl="getClassInfo">getClassInfo</span>(char[] classname)</span></dt> 117 102 118 <dd>Template method that returns a ClassInfo instance for the given classname. 103 119 <br/><br/> 104 120 <b>Returns:</b><br/> 105 a ClassInfo instance for classname, or <b>null</b>if none exists.121 a ClassInfo instance for classname, or $B(<span class="d-keyword">null</span>) if none exists. 106 122 <br/><br/> 107 < table><tr><td>classname</td>108 <td> the D namespace and name of the class to search for.</td></tr>109 </table><br/><br/> 123 <span class="d-params"><table><tr><td nowrap valign="top" style="padding-right: 8px">classname</td> 124 <td><span class="d-paramdesc">the D namespace and name of the class to search for.</span></td></tr> 125 </table><br/><br/></span> 110 126 111 <dl>< /dl>127 <dl><span class="d-members"></span></dl> 112 128 </dd> 113 <dt><big>template <u>getCtor</u>(TInterface,char[] classname)</big></dt> 114 <dd>TInterface function(P1) <u>getCtor</u>!(TInterface, classname, P1); 129 <dt><span class="d-decl">template <span class="d-symbol" decl="getCtor">getCtor</span>(TInterface,char[] classname)</span></dt> 130 131 <dd>TInterface function(P1) <span class="d-symbol" decl="getCtor">getCtor</span>!(TInterface, classname, P1); 115 132 <br/><br/> 116 133 Returns a function which constructs a class, using the given parameters. … … 128 145 <br/><br/> 129 146 130 <dl>< /dl>147 <dl><span class="d-members"></span></dl> 131 148 </dd> 132 </ dl>149 </span></dl> 133 150 </dd> 134 </ dl>151 </span> 135 152 136 153 </body></html> trunk/doc/ddl/html/ddl/DynamicLibraryLoader.html
r250 r277 15 15 <br/><br/> 16 16 17 <dl><dt><big>class <u>DynamicLibraryLoader</u>; 18 </big></dt> 17 <span class="d-modulemembers"><dt><span class="d-decl">class <span class="d-symbol" decl="DynamicLibraryLoader">DynamicLibraryLoader</span>; 18 </span></dt> 19 19 20 <dd>Base class for all dynamic library loaders. 20 21 <br/><br/> 21 22 22 <dl><dt><big>char[] <u>getLibraryType</u>(); 23 </big></dt> 23 <dl><span class="d-members"><dt><span class="d-decl">char[] <span class="d-symbol" decl="getLibraryType">getLibraryType</span>(); 24 </span></dt> 25 24 26 <dd><b>Returns:</b><br/> 25 27 the type for this library. … … 28 30 29 31 </dd> 30 <dt><big>bool <u>canLoadLibrary</u>(FileBuffer <i>file</i>); 31 </big></dt> 32 <dd>The implementaiton is understood to check the <i>file</i> by inspecting its contents. 32 <dt><span class="d-decl">bool <span class="d-symbol" decl="canLoadLibrary">canLoadLibrary</span>(FileBuffer <span class="d-param">file</span> 33 ); 34 </span></dt> 35 36 <dd>The implementaiton is understood to check the <span class="d-param">file</span> 37 by inspecting its contents. 33 38 The implementor must be sure to not advance the internal buffer pointer, so that 34 39 future checks against the buffer can all begin at the same location. 35 40 <br/><br/> 36 41 <b>Returns:</b><br/> 37 <b>true</b> if the <i>file</i> can be loaded by this loader, <b>false</b> if it cannot. 42 $B(<span class="d-keyword">true</span>) if the <span class="d-param">file</span> 43 can be loaded by this loader, $B(<span class="d-keyword">false</span>) if it cannot. 38 44 39 45 <br/><br/> 40 46 41 47 </dd> 42 <dt><big>DynamicLibrary <u>load</u>(LoaderRegistry <i>registry</i>, FileBuffer <i>file</i>); 43 </big></dt> 44 <dd>Loads a binary <i>file</i>. 48 <dt><span class="d-decl">DynamicLibrary <span class="d-symbol" decl="load">load</span>(LoaderRegistry <span class="d-param">registry</span> 49 , FileBuffer <span class="d-param">file</span> 50 ); 51 </span></dt> 52 53 <dd>Loads a binary <span class="d-param">file</span> 54 . 45 55 <br/><br/> 46 56 <b>Returns:</b><br/> 47 the library stored in the provided <i>file</i>. 57 the library stored in the provided <span class="d-param">file</span> 58 . 48 59 <br/><br/> 49 <table><tr><td>FileBuffer <i>file</i></td> 50 <td>the <i>file</i> that contains the binary library data.</td></tr> 51 </table><br/><br/> 60 <span class="d-params"><table><tr><td nowrap valign="top" style="padding-right: 8px">FileBuffer <span class="d-param">file</span> 61 </td> 62 <td><span class="d-paramdesc">the <span class="d-param">file</span> 63 that contains the binary library data.</span></td></tr> 64 </table><br/><br/></span> 52 65 53 66 </dd> 54 </ dl>67 </span></dl> 55 68 </dd> 56 </ dl>69 </span> 57 70 58 71 </body></html> trunk/doc/ddl/html/ddl/DynamicModule.html
r250 r277 14 14 15 15 $(DDOC_MODULE_MEMBERS 16 <dt><big>class <u>DynamicModule</u>; 17 </big></dt> 16 <dt><span class="d-decl">class <span class="d-symbol" decl="DynamicModule">DynamicModule</span>; 17 </span></dt> 18 18 19 <dd>Represents a binary module within DDL. 19 20 <br/><br/> … … 23 24 <br/><br/> 24 25 25 <dl><dt><big>char[] <u>getName</u>(); 26 </big></dt> 26 <dl><span class="d-members"><dt><span class="d-decl">char[] <span class="d-symbol" decl="getName">getName</span>(); 27 </span></dt> 28 27 29 <dd>Returns the name of the module. 28 30 <br/><br/> 29 While the result of < u>getName</u>() is largely compiler dependent for .asm or .c31 While the result of <span class="d-symbol" decl="getName">getName</span>() is largely compiler dependent for .asm or .c 30 32 based binary files, D compilers reliably use the file name with the '.d' file extension 31 33 for the name of the module. 32 34 <br/><br/> 33 34 35 35 36 For D modules, the name of the module should look like a module namespace followed … … 43 44 44 45 </dd> 45 <dt><big>char[] <u>getNamespace</u>(); 46 </big></dt> 46 <dt><span class="d-decl">char[] <span class="d-symbol" decl="getNamespace">getNamespace</span>(); 47 </span></dt> 48 47 49 <dd>This implementation depends on the behavior of getName(). Implementers may wish to 48 50 override this method if that is unacceptable or may yield unpredicable results. … … 54 56 55 57 </dd> 56 <dt><big>char[] <u>getRawNamespace</u>(); 57 </big></dt> 58 <dt><span class="d-decl">char[] <span class="d-symbol" decl="getRawNamespace">getRawNamespace</span>(); 59 </span></dt> 60 58 61 <dd>The value returned by this method is the raw namespace (eg. "3std6foobar"), which is the 59 62 same format used for all D symbols. As D symbols are declared along with their namespace, … … 71 74 72 75 </dd> 73 <dt><big>char[][char[]] <u>getAttributes</u>(); 74 </big></dt> 76 <dt><span class="d-decl">char[][char[]] <span class="d-symbol" decl="getAttributes">getAttributes</span>(); 77 </span></dt> 78 75 79 <dd>Looks for a symbol of the form "static const char[][char[]] {namespace}.DDLAttributes", 76 80 and returns it if it exists. Note that the module does not have to be resolved for this … … 90 94 91 95 </dd> 92 <dt><big>ExportSymbol [] <u>getSymbols</u>(); 93 </big></dt> 96 <dt><span class="d-decl">ExportSymbol [] <span class="d-symbol" decl="getSymbols">getSymbols</span>(); 97 </span></dt> 98 94 99 <dd>Returns the set of all symbols for the module. 95 100 … … 97 102 98 103 </dd> 99 <dt><big>ExportSymbol * <u>getSymbol</u>(char[] <i>name</i>); 100 </big></dt> 101 <dd>Gets a specific export by <i>name</i>. If the export does not exist, the method returns ExportSymbol.init. 104 <dt><span class="d-decl">ExportSymbol * <span class="d-symbol" decl="getSymbol">getSymbol</span>(char[] <span class="d-param">name</span> 105 ); 106 </span></dt> 107 108 <dd>Gets a specific export by <span class="d-param">name</span> 109 . If the export does not exist, the method returns ExportSymbol.init. 102 110 103 111 <br/><br/> 104 112 105 113 </dd> 106 <dt><big>void <u>resolveFixups</u>(); 107 </big></dt> 114 <dt><span class="d-decl">void <span class="d-symbol" decl="resolveFixups">resolveFixups</span>(); 115 </span></dt> 116 108 117 <dd>Prods the module to resolve any pending fixups. Used during linking. 109 118 … … 111 120 112 121 </dd> 113 <dt><big>bool <u>isResolved</u>(); 114 </big></dt> 122 <dt><span class="d-decl">bool <span class="d-symbol" decl="isResolved">isResolved</span>(); 123 </span></dt> 124 115 125 <dd>Returns the current resolution state of the module. 116 126 <br/><br/> 117 Generally speaking, < u>isResolved</u> is <b>false</b>if there are still external symbols (dependencies to118 resolve. If all these dependencies are resolved, then < u>isResolved</u> returns <b>true</b>.127 Generally speaking, <span class="d-symbol" decl="isResolved">isResolved</span> is $B(<span class="d-keyword">false</span>) if there are still external symbols (dependencies to 128 resolve. If all these dependencies are resolved, then <span class="d-symbol" decl="isResolved">isResolved</span> returns $B(<span class="d-keyword">true</span>). 119 129 <br/><br/> 120 121 130 122 131 It is ill-advised to attempt to use any symbols returned from a DynamicModule in an interactive … … 127 136 <br/><br/> 128 137 129 <dt><big>bool <u>isLinking</u>; 130 </big></dt> 138 <dt><span class="d-decl">bool <span class="d-symbol" decl="isLinking">isLinking</span>; 139 </span></dt> 140 131 141 <dd>Determines if the module is being linked. 132 142 <br/><br/> … … 136 146 <br/><br/> 137 147 138 139 If <b>true</b>, the module is being linked. If <b>false</b>, the module is not being linked. 148 If $B(<span class="d-keyword">true</span>), the module is being linked. If $B(<span class="d-keyword">false</span>), the module is not being linked. 140 149 141 150 <br/><br/> … … 143 152 </dd> 144 153 </dd> 145 </ dl>154 </span></dl> 146 155 </dd> 147 156 trunk/doc/ddl/html/ddl/ExportSymbol.html
r250 r277 13 13 <br/><br/> 14 14 15 <dl><dt><big>struct <u>ExportSymbol</u>; 16 </big></dt> 15 <span class="d-modulemembers"><dt><span class="d-decl">struct <span class="d-symbol" decl="ExportSymbol">ExportSymbol</span>; 16 </span></dt> 17 17 18 <dd>Defines a symbol within a DynamicModule. 18 19 <br/><br/> 19 20 20 <dl><dt><big>SymbolType <u>type</u>; 21 </big></dt> 22 <dd>The <u>type</u> of the symbol. 21 <dl><span class="d-members"><dt><span class="d-decl">SymbolType <span class="d-symbol" decl="type">type</span>; 22 </span></dt> 23 24 <dd>The <span class="d-symbol" decl="type">type</span> of the symbol. 23 25 24 26 <br/><br/> 25 27 26 28 </dd> 27 <dt><big>void* <u>address</u>; 28 </big></dt> 29 <dd>The <u>address</u> of the symbol. 29 <dt><span class="d-decl">void* <span class="d-symbol" decl="address">address</span>; 30 </span></dt> 31 32 <dd>The <span class="d-symbol" decl="address">address</span> of the symbol. 30 33 <br/><br/> 31 In some very rare cases, this may be a <b>null</b>value. It is reccomended that the developer test34 In some very rare cases, this may be a $B(<span class="d-keyword">null</span>) value. It is reccomended that the developer test 32 35 against ExportSymbol.init if they wish to determine if an ExportSymbol has been set/defined. 33 36 … … 35 38 36 39 </dd> 37 <dt><big>char[] <u>name</u>; 38 </big></dt> 39 <dd>The <u>name</u> of the symbol. 40 <dt><span class="d-decl">char[] <span class="d-symbol" decl="name">name</span>; 41 </span></dt> 42 43 <dd>The <span class="d-symbol" decl="name">name</span> of the symbol. 40 44 <br/><br/> 41 Invariably, this string will contain the "mangled" < u>name</u> that the compiler generates for45 Invariably, this string will contain the "mangled" <span class="d-symbol" decl="name">name</span> that the compiler generates for 42 46 the symbol. For D Modules, this will contain a properly mangled D symbol, per the D ABI. 43 47 <br/><br/> 44 45 48 46 49 C symbols are usually exported as an underscore followed by the identifier as it reads in … … 52 55 53 56 </dd> 54 <dt><big>bool <u>isResolved</u>(); 55 </big></dt> 57 <dt><span class="d-decl">bool <span class="d-symbol" decl="isResolved">isResolved</span>(); 58 </span></dt> 59 56 60 <dd>Returns the resolution status of this symbol. 57 61 <br/><br/> 58 62 59 63 </dd> 60 <dt><big>static ExportSymbol <u>NONE</u>; 61 </big></dt> 64 <dt><span class="d-decl">static ExportSymbol <span class="d-symbol" decl="NONE">NONE</span>; 65 </span></dt> 66 62 67 <dd>Can be used as an empty symbol, e.g. 63 return ExportSymbol.< u>NONE</u>;68 return ExportSymbol.<span class="d-symbol" decl="NONE">NONE</span>; 64 69 65 70 <br/><br/> 66 71 67 72 </dd> 68 <dt><big>char[] <u>getTypeName</u>(); 69 </big></dt> 73 <dt><span class="d-decl">char[] <span class="d-symbol" decl="getTypeName">getTypeName</span>(); 74 </span></dt> 75 70 76 <dd>Returns a friendly name for the type of symbol, based on it's 'type' member. 71 77 … … 73 79 74 80 </dd> 75 </ dl>81 </span></dl> 76 82 </dd> 77 </ dl>83 </span> 78 84 79 85 </body></html> trunk/doc/ddl/html/ddl/FileBuffer.html
r250 r277 7 7 <!-- Generated by Ddoc from ddl\FileBuffer.d --> 8 8 <br/><br/> 9 <span class="d-modulemembers"><dt><span class="d-decl">class <span class="d-symbol" decl="FileBuffer">FileBuffer</span>: mango.io.Buffer.Buffer; 10 </span></dt> 9 11 10 <dl><dt><big>class <u>FileBuffer</u>: mango.io.Buffer.Buffer;11 </big></dt>12 12 <dd>Gives the basic Mango buffer class some additional information about its origin. 13 13 <br/><br/> 14 14 15 <dl>< /dl>15 <dl><span class="d-members"></span></dl> 16 16 </dd> 17 </ dl>17 </span> 18 18 19 19 </body></html> trunk/doc/ddl/html/ddl/Linker.html
r250 r277 13 13 <br/><br/> 14 14 15 <dl><dt><big>class <u>LinkModuleException</u>: object.Exception; 16 </big></dt> 15 <span class="d-modulemembers"><dt><span class="d-decl">class <span class="d-symbol" decl="LinkModuleException">LinkModuleException</span>: object.Exception; 16 </span></dt> 17 17 18 <dd>Exception class used exclusively by the Linker. 18 19 <br/><br/> 19 <u>LinkModuleException</u> are generated when the linker cannot resolve a module during the linking process. 20 <br/><br/> 21 22 <dl><dt><big>DynamicModule <u>reason</u>(); 23 </big></dt> 20 <span class="d-symbol" decl="LinkModuleException">LinkModuleException</span> are generated when the linker cannot resolve a module during the linking process. 21 <br/><br/> 22 23 <dl><span class="d-members"><dt><span class="d-decl">DynamicModule <span class="d-symbol" decl="reason">reason</span>(); 24 </span></dt> 25 24 26 <dd>Module that prompted the link exception. 25 27 … … 27 29 28 30 </dd> 29 <dt><big>this(DynamicModule <i>reason</i&g
