Mercurial > pub > dyncall > dyncall
comparison doc/manual/manual_dyncallback_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 | 1d68b4778979 |
children | 17287342e273 |
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{Dyncallback} C library API} | 21 \section{\emph{Dyncallback} C library API} |
22 | 22 |
23 This library extends \product{dyncall} with function callback support, allowing | 23 This library extends \product{dyncall} with function callback support, allowing |
24 the user to dynamically create a callback object that can be called directly, | 24 the user to dynamically create a callback object that can be called directly, |
25 or passed to functions expecting a function-pointer as argument.\\ | 25 or passed to functions expecting a function-pointer as argument.\\ |
58 \paragraph{Functions} | 58 \paragraph{Functions} |
59 | 59 |
60 \begin{lstlisting}[language=c] | 60 \begin{lstlisting}[language=c] |
61 DCCallback* dcbNewCallback(const char* signature, | 61 DCCallback* dcbNewCallback(const char* signature, |
62 DCCallbackHandler* funcptr, | 62 DCCallbackHandler* funcptr, |
63 void* userdata); | 63 void* userdata, |
64 DCaggr** aggrs); | |
64 void dcbFreeCallback(DCCallback* pcb); | 65 void dcbFreeCallback(DCCallback* pcb); |
65 \end{lstlisting} | 66 \end{lstlisting} |
66 | 67 |
67 \lstinline{dcbNewCallback} creates and initializes a new \emph{Callback} object, | 68 \lstinline{dcbNewCallback} creates and initializes a new \emph{Callback} object, |
68 where \lstinline{signature} is the needed function signature (format is the | 69 where \lstinline{signature} is the needed function signature (format is the |