diff doc/manual/manual_dyncall_api.tex @ 90:e932e6331f35

- manual improvements * html output improved * consistency in tables * little bit of rewording, typos - todo item added
author cslag
date Fri, 03 Jun 2016 02:40:13 +0200
parents ffd63de9aa75
children b74f30d19967
line wrap: on
line diff
--- a/doc/manual/manual_dyncall_api.tex	Sun May 29 15:38:26 2016 +0200
+++ b/doc/manual/manual_dyncall_api.tex	Fri Jun 03 02:40:13 2016 +0200
@@ -33,7 +33,6 @@
 \begin{table}[h]
 \begin{center}
 \begin{tabular*}{0.8\textwidth}{llll}
-\hline
 Subject    & C symbol & Details & Example \\
 \hline  
 Types      
@@ -44,7 +43,6 @@
   & camel-case 
   & \capi{DCCallVM}\\
 Functions  & {\tt dc\group{function name}}  & camel-case & \capi{dcNewCallVM}, \capi{dcArgInt}, \ldots\\
-\hline
 \end{tabular*}
 \caption{C interface conventions}
 \label{sourcecode}
@@ -56,7 +54,6 @@
 \begin{table}[h]
 \begin{center}
 \begin{tabular*}{0.75\textwidth}{ll}
-\hline
 Type alias & C/C++ data type\\
 \hline
 DCbool     & \_Bool, bool\\
@@ -69,7 +66,6 @@
 DCdouble   & double\\
 DCpointer  & void*\\
 DCvoid     & void\\
-\hline
 \end{tabular*}
 \caption{Supported C/C++ argument and return types}
 \label{types}
@@ -127,12 +123,10 @@
 \begin{table}[h]
 \begin{center}
 \begin{tabular*}{0.95\textwidth}{ll}
-\hline
 Constant & Description\\
 \hline
 \lstinline@DC_ERROR_NONE@             & No error occured. \\
 \lstinline@DC_ERROR_UNSUPPORTED_MODE@ & Unsupported mode, caused by \lstinline@dcMode()@ \\
-\hline
 \end{tabular*}
 \caption{CallVM calling convention modes}
 \label{errorcodes}
@@ -158,7 +152,6 @@
 \begin{table}[h]
 \begin{center}
 \begin{tabular*}{0.95\textwidth}{ll}
-\hline
 Constant & Description\\
 \hline
 \lstinline@DC_CALL_C_DEFAULT@            & C default function call for current platform\\
@@ -196,7 +189,6 @@
 \lstinline@DC_CALL_SYS_X86_INT80H_BSD@   & C syscall for x86 BSD platforms\\
 \lstinline@DC_CALL_SYS_X86_INT80H_LINUX@ & C syscall for x86 Linux\\
 \lstinline@DC_CALL_SYS_PPC32@            & C syscall for ppc32 Linux\\
-\hline
 \end{tabular*}
 \caption{CallVM calling convention modes}
 \label{callingconventionmodes}
@@ -281,8 +273,8 @@
 \paragraph{Functions}
 
 \begin{lstlisting}[language=c]
-void dcArgF (DCCallVM* vm, const DCsigchar* signature, ...);
-void dcVArgF(DCCallVM* vm, const DCsigchar* signature, va_list args);
+void dcArgF  (DCCallVM* vm, const DCsigchar* signature, ...);
+void dcVArgF (DCCallVM* vm, const DCsigchar* signature, va_list args);
 void dcCallF (DCCallVM* vm, DCValue* result, DCpointer funcptr, 
               const DCsigchar* signature, ...);
 void dcVCallF(DCCallVM* vm, DCValue* result, DCpointer funcptr,