H2Pas: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | Adapted from [FreePascal User's Manual](<ftp://ftp.freepascal.org/pub/fpc/docs-pdf/user.pdf>): | |
| 2 | 2 | ||
| 3 | - | ||
| 3 | + | h2pas attempts to convert a C header file to a pascal unit. It can handle most C constructs that one finds in a C header file, and attempts to translate them to their Pascal counterparts. See the documentation for a full description of what the translator can handle. The unit with Pascal declarations can then be used to access code written in C. | |
| 4 | 4 | ||
| 5 | - | ||
| 5 | + | The output of the h2pas program is written to a file with the same name as the C header file that was used as input, but with the extension .pp. The output file that h2pas creates can be customized in a number of ways by means of many options. | |
| 6 | 6 | ||
| 7 | - | ||
| 7 | + | There is a GUI for h2pas called [[H2Paswizard]]. | |
| 8 | 8 | ||
| 9 | 9 | ## See also | |
| 10 | 10 | ||
| 11 | - | ||
| 12 | - | ||
| 11 | + | * [[H2Paswizard]] | |
| 12 | + | * [[Creating bindings for C libraries]]. | |
| 13 | 13 | ||
| 14 | 14 | --- | |
| 15 | - | ||
| 15 | + | *From the Free Pascal wiki, page "H2Pas", as the Internet Archive kept it on 2023-01-28. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
