File: ok_cdecl_external.xml

package info (click to toggle)
pasdoc 0.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 33,536 kB
  • sloc: pascal: 28,894; javascript: 7,665; xml: 2,597; makefile: 519; sh: 417
file content (9 lines) | stat: -rw-r--r-- 765 bytes parent folder | download
1
2
3
4
5
6
7
8
9
<unit name="ok_cdecl_external.pas">
  <description><detailed>Bug: 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... Bar and Xyz added as additional tests. Update: it's fixed now, pasdoc parses it correctly.</detailed></description>
  <function name="Bar" type="procedure" declaration="procedure Bar; cdecl; external 'bar_library_name' name 'bar_name_in_library';">
  </function>
  <function name="Foo" type="procedure" declaration="procedure Foo; cdecl; external 'whatever';">
  </function>
  <function name="Xyz" type="procedure" declaration="procedure Xyz; external 'xyz_library_name' name 'xyz_name_in_library'; cdecl;">
  </function>
</unit>