comparison doc/manual/manual_dyncall_api.tex @ 467:b47168dacba6

manual: - adding aggregate passing and returning info for x64 (win and sysv, however, *only* w/ respect to types supported by dyncall) - python binding text cleanup and sync with current binding version - added suite_aggrs description and cleaned up other test suite descriptions a bit - update list of calling convention modes - cleanup and minor other fixes (e.g. changed \newpage in many places to \clearpage to avoid hitting float limit, crlf->cr, ...)
author Tassilo Philipp
date Fri, 04 Feb 2022 23:54:42 +0100
parents 1d03a3a4220d
children e5820b7a3fbc
comparison
equal deleted inserted replaced
466:ddfb9577a00e 467:b47168dacba6
15 % ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 % ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 % OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 % OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 % 17 %
18 %////////////////////////////////////////////////////////////////////////////// 18 %//////////////////////////////////////////////////////////////////////////////
19 19
20 \newpage 20 \clearpage
21 \section{\emph{Dyncall} C library API} 21 \section{\emph{Dyncall} C library API}
22 22
23 The library provides low-level functionality to make foreign function calls 23 The library provides low-level functionality to make foreign function calls
24 from different run-time environments. The flexibility is constrained by the 24 from different run-time environments. The flexibility is constrained by the
25 set of supported types. 25 set of supported types.
153 \begin{center} 153 \begin{center}
154 \begin{tabular*}{0.95\textwidth}{ll} 154 \begin{tabular*}{0.95\textwidth}{ll}
155 Constant & Description\\ 155 Constant & Description\\
156 \hline 156 \hline
157 \lstinline@DC_CALL_C_DEFAULT@ & C default function call for current platform\\ 157 \lstinline@DC_CALL_C_DEFAULT@ & C default function call for current platform\\
158 \lstinline@DC_CALL_C_DEFAULT_THIS@ & C++ default function call for current platform\\
158 \lstinline@DC_CALL_C_ELLIPSIS@ & C ellipsis function call (named arguments (before '...'))\\ 159 \lstinline@DC_CALL_C_ELLIPSIS@ & C ellipsis function call (named arguments (before '...'))\\
159 \lstinline@DC_CALL_C_ELLIPSIS_VARARGS@ & C ellipsis function call (variable/unnamed arguments (after '...'))\\ 160 \lstinline@DC_CALL_C_ELLIPSIS_VARARGS@ & C ellipsis function call (variable/unnamed arguments (after '...'))\\
160 \lstinline@DC_CALL_C_X86_CDECL@ & C x86 platforms standard call\\ 161 \lstinline@DC_CALL_C_X86_CDECL@ & C x86 platforms standard call\\
161 \lstinline@DC_CALL_C_X86_WIN32_STD@ & C x86 Windows standard call\\ 162 \lstinline@DC_CALL_C_X86_WIN32_STD@ & C x86 Windows standard call\\
162 \lstinline@DC_CALL_C_X86_WIN32_FAST_MS@ & C x86 Windows Microsoft fast call\\ 163 \lstinline@DC_CALL_C_X86_WIN32_FAST_MS@ & C x86 Windows Microsoft fast call\\
163 \lstinline@DC_CALL_C_X86_WIN32_FAST_GNU@ & C x86 Windows GCC fast call\\ 164 \lstinline@DC_CALL_C_X86_WIN32_FAST_GNU@ & C x86 Windows GCC fast call\\
164 \lstinline@DC_CALL_C_X86_WIN32_THIS_MS@ & C x86 Windows Microsoft this call\\ 165 \lstinline@DC_CALL_C_X86_WIN32_THIS_MS@ & C++ x86 Windows Microsoft thiscall\\
165 \lstinline@DC_CALL_C_X86_WIN32_THIS_GNU@ & alias for DC\_CALL\_C\_X86\_CDECL (GNU thiscalls identical to cdecl)\\ 166 \lstinline@DC_CALL_C_X86_WIN32_THIS_GNU@ & alias for DC\_CALL\_C\_X86\_CDECL (GNU thiscalls identical to cdecl)\\
166 \lstinline@DC_CALL_C_X86_PLAN9@ & C x86 Plan9 call\\ 167 \lstinline@DC_CALL_C_X86_PLAN9@ & C x86 Plan9 call\\
167 \lstinline@DC_CALL_C_X64_WIN64@ & C x64 Windows standard call\\ 168 \lstinline@DC_CALL_C_X64_WIN64@ & C x64 Windows standard call\\
169 \lstinline@DC_CALL_C_X64_WIN64_THIS@ & C++ x64 Windows thiscall\\
168 \lstinline@DC_CALL_C_X64_SYSV@ & C x64 System V standard call\\ 170 \lstinline@DC_CALL_C_X64_SYSV@ & C x64 System V standard call\\
171 \lstinline@DC_CALL_C_X64_SYSV_THIS@ & C++ x64 System V thiscall\\
169 \lstinline@DC_CALL_C_PPC32_DARWIN@ & C ppc32 Mac OS X standard call\\ 172 \lstinline@DC_CALL_C_PPC32_DARWIN@ & C ppc32 Mac OS X standard call\\
170 \lstinline@DC_CALL_C_PPC32_OSX@ & alias for DC\_CALL\_C\_PPC32\_DARWIN\\ 173 \lstinline@DC_CALL_C_PPC32_OSX@ & alias for DC\_CALL\_C\_PPC32\_DARWIN\\
171 \lstinline@DC_CALL_C_PPC32_SYSV@ & C ppc32 SystemV standard call\\ 174 \lstinline@DC_CALL_C_PPC32_SYSV@ & C ppc32 SystemV standard call\\
172 \lstinline@DC_CALL_C_PPC32_LINUX@ & alias for DC\_CALL\_C\_PPC32\_SYSV\\ 175 \lstinline@DC_CALL_C_PPC32_LINUX@ & alias for DC\_CALL\_C\_PPC32\_SYSV\\
173 \lstinline@DC_CALL_C_PPC64@ & C ppc64 SystemV standard call\\ 176 \lstinline@DC_CALL_C_PPC64@ & C ppc64 SystemV standard call\\