sCalling/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: sCalling/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\ | |
| 2 | + | ||
| 3 | + | =\$CALLING= Die Direktive \$CALLING sagt dem Compiler welche Aufrufkonvention er für Prozeduren und Funktionen verwenden soll.\ | |
| 4 | + | Die Direktive \$CALLING hat gilt nur für Prozeduren und Funktionen, für die im Einzelfall keine Aufrufkonvention festgelegt wurde.\ | |
| 5 | + | Die Standardaufrufkonvention ist Register.\ | |
| 6 | + | Es gibt folgende Aufrufkonventionen:\ | |
| 7 | + | ||
| 8 | + | CDECL | |
| 9 | + | ||
| 10 | + | C Compiler Aufrufkonvention | |
| 11 | + | ||
| 12 | + | CPPDECL | |
| 13 | + | ||
| 14 | + | C++ Compiler Aufrufkonvention | |
| 15 | + | ||
| 16 | + | DEFAULT | |
| 17 | + | ||
| 18 | + | Stellt die Standard Aufrufkonvention her. | |
| 19 | + | ||
| 20 | + | FAR16 | |
| 21 | + | ||
| 22 | + | Diese Einstellung wird ignoriert und existiert zur Kompatibilität mit Turbo Pascal / Delphi 1.0. | |
| 23 | + | ||
| 24 | + | FPCCALL | |
| 25 | + | ||
| 26 | + | Ältere Free Pascal Compiler (1.0.x und älter) Standard Aufrufkonvention. | |
| 27 | + | ||
| 28 | + | INLINE | |
| 29 | + | ||
| 30 | + | Verwendet inline Code. Der Code des Unterprogramms wird an die Aufrufende Stelle kopiert. | |
| 31 | + | ||
| 32 | + | OLDFPCCALL | |
| 33 | + | ||
| 34 | + | Dieser Aufruf ist deprecated (veraltet) | |
| 35 | + | ||
| 36 | + | PASCAL | |
| 37 | + | ||
| 38 | + | Pascal Aufrufkonvention | |
| 39 | + | ||
| 40 | + | REGISTER | |
| 41 | + | ||
| 42 | + | Die Register Aufrufkonvention ist die Standard Aufrufkonvention. | |
| 43 | + | ||
| 44 | + | SAFECALL | |
| 45 | + | ||
| 46 | + | Sichere Aufrufkonvention. Das aufgerufene Unterprogramm sichert alle Register. | |
| 47 | + | ||
| 48 | + | STDCALL | |
| 49 | + | ||
| 50 | + | Windowsbibliothek Aufrufkonvention. | |
| 51 | + | ||
| 52 | + | SOFTFLOAT | |
| 53 | + | ||
| 54 | + | Aufrufkonvention für ARM Prozessoren. | |
| 55 | + | ||
| 56 | + | Beispiel: | |
| 57 | + | ||
| 58 | + | ``` pascal | |
| 59 | + | {$CALLING CDECL} | |
| 60 | + | ``` | |
| 61 | + | ||
| 62 | + | Diese Direktive entspricht der -Cc Komandozeilen Option.\ | |
| 63 | + | ||
| 64 | + | --Olaf 17:29, 26 November 2012 (UTC) | |
| 65 | + | ||
| 66 | + | --- | |
| 67 | + | *From the Free Pascal wiki, page "sCalling/de", as it stood on 2020-02-27 after a change by GAN, out of the wiki's dump of 2024-05-26. 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).* | |
| 68 | + | Category: Free Pascal Programmers Guide/de |
