1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>ok_cdecl_external</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<h1 class="unit">Unit ok_cdecl_external</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Uses</div><div class="one_section">Classes, Interfaces, Objects and Records</div><div class="one_section"><a class="section" href="#PasDoc-FuncsProcs">Functions and Procedures</a></div><div class="one_section">Types</div><div class="one_section">Constants</div><div class="one_section">Variables</div></div>
<span id="PasDoc-Description"></span><h2 class="description">Description</h2>
<p>
Bug:
<p>Parsing of this unit fails with Warning[2]: Error EPasDoc: todo/ok_cdecl_external.pas(5): Unexpected keyword external. parsing unit ok_cdecl_external.pas, continuing...
<p>Bar and Xyz added as additional tests.
<p>Update: it's fixed now, pasdoc parses it correctly.</p>
<span id="PasDoc-Uses"></span><h2 class="overview">Overview</h2>
<span id="PasDoc-FuncsProcs"></span><h3 class="summary">Functions and Procedures</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code>procedure <strong><a href="ok_cdecl_external.html#Bar">Bar</a></strong>; cdecl; external 'bar_library_name' name 'bar_name_in_library';</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>procedure <strong><a href="ok_cdecl_external.html#Foo">Foo</a></strong>; cdecl; external 'whatever';</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code>procedure <strong><a href="ok_cdecl_external.html#Xyz">Xyz</a></strong>; external 'xyz_library_name' name 'xyz_name_in_library'; cdecl;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Functions and Procedures</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Bar"></span><code>procedure <strong>Bar</strong>; cdecl; external 'bar_library_name' name 'bar_name_in_library';</code></td>
</tr>
<tr><td colspan="1">
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Foo"></span><code>procedure <strong>Foo</strong>; cdecl; external 'whatever';</code></td>
</tr>
<tr><td colspan="1">
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="Xyz"></span><code>procedure <strong>Xyz</strong>; external 'xyz_library_name' name 'xyz_name_in_library'; cdecl;</code></td>
</tr>
<tr><td colspan="1">
</td></tr>
</table>
</body></html>
|