sGlobalCalling/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: sGlobalCalling/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[global compiler directives/de|globalen Compiler Direktiven]].\ | |
| 2 | + | ||
| 3 | + | Die globale Compiler Direktive \$CALLING erlaubt es die Standardaufrufkonventionen für Unterprogramme fest zulegen.\ | |
| 4 | + | Die globale Compiler Direktive \$CALLING kann durch lokale Compiler Direktiven im Einzelfall überschrieben werden.\ | |
| 5 | + | ||
| 6 | + | CDECL | |
| 7 | + | ||
| 8 | + | Aufrufkonvention der C-Compiler. | |
| 9 | + | ||
| 10 | + | CPPDECL | |
| 11 | + | ||
| 12 | + | Aufrufkonvention der C++-Compiler. | |
| 13 | + | ||
| 14 | + | FAR16 | |
| 15 | + | ||
| 16 | + | Diese Aufrufkonvention wird ignoriert. Sie dient nur noch zur Kompatibilität zu Turbo Pascal | |
| 17 | + | ||
| 18 | + | FPCCALL | |
| 19 | + | ||
| 20 | + | Alte FPC (Version 1.0.x und älter) Standard Aufrufkonvention. | |
| 21 | + | ||
| 22 | + | INLINE | |
| 23 | + | ||
| 24 | + | Der Code des Unterprogramms wird an die aufrufende Stelle eingefügt. | |
| 25 | + | ||
| 26 | + | PASCAL | |
| 27 | + | ||
| 28 | + | Aufrufkonvetion der Pascal-Compiler. | |
| 29 | + | ||
| 30 | + | REGISTER | |
| 31 | + | ||
| 32 | + | Register Aufrufkonvention (Standard Einstellung des Compilers). | |
| 33 | + | ||
| 34 | + | SAVECALL | |
| 35 | + | ||
| 36 | + | SAFECALL Aufrufkonvention. Das aufgerufene Unterprogramm sichert alle Register. | |
| 37 | + | ||
| 38 | + | STDCALL | |
| 39 | + | ||
| 40 | + | Aufrufkonvetion der Windowsbibliotheken (Windowslibraries). | |
| 41 | + | ||
| 42 | + | SOFTFLOAT | |
| 43 | + | ||
| 44 | + | Aufrufkonvetion bei ARM-Prozessoren. | |
| 45 | + | ||
| 46 | + | Beispiel:\ | |
| 47 | + | ||
| 48 | + | ``` pascal | |
| 49 | + | // Damit verwendet der Compiler die Windows Aufrufkonvention | |
| 50 | + | {$CALLING STDCALL} | |
| 51 | + | ``` | |
| 52 | + | ||
| 53 | + | Die Direktive ist gleichbedeutend mit der Kommandozeilenoption -Cc.\ | |
| 54 | + | ||
| 55 | + | --Olaf 09:25, 8 February 2013 (UTC) | |
| 56 | + | ||
| 57 | + | --- | |
| 58 | + | *From the Free Pascal wiki, page "sGlobalCalling/de", as it stood on 2020-02-28 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).* | |
| 59 | + | Category: Free Pascal Programmers Guide/de |
