cpython/Doc/lib/libctypesref.tex

207 lines
3.9 KiB
TeX
Raw Normal View History

\subsection{ctypes reference\label{ctypes-reference}}
\begin{funcdesc}{addressof}{obj}
\end{funcdesc}
\begin{funcdesc}{alignment}{obj_or_type}
\end{funcdesc}
\begin{excclassdesc}{ArgumentError}{}
\end{excclassdesc}
\begin{classdesc}{BigEndianStructure}{}
\end{classdesc}
\begin{funcdesc}{byref}{obj}
\end{funcdesc}
\begin{classdesc}{c_byte}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_char}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_char_p}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_double}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_float}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_int}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_int16}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_int32}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_int64}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_int8}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_long}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_longlong}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_short}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_size_t}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_ubyte}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_uint}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_uint16}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_uint32}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_uint64}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_uint8}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_ulong}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_ulonglong}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_ushort}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_void_p}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_wchar}{\optional{value}}
\end{classdesc}
\begin{classdesc}{c_wchar_p}{\optional{value}}
\end{classdesc}
\begin{funcdesc}{cast}{obj, type}
\end{funcdesc}
\begin{classdesc}{CDLL}{name, mode=RTLD_LOCAL, handle=None}
\end{classdesc}
\begin{datadesc}{cdll}
\end{datadesc}
\begin{funcdesc}{CFUNCTYPE}{restype, *argtypes}
\end{funcdesc}
\begin{funcdesc}{create_string_buffer}{init\optional{, size}}
\end{funcdesc}
\begin{funcdesc}{create_unicode_buffer}{init\optional{, size}}
\end{funcdesc}
\begin{funcdesc}{DllCanUnloadNow}{}
\end{funcdesc}
\begin{funcdesc}{DllGetClassObject}{}
\end{funcdesc}
\begin{funcdesc}{FormatError}{}
\end{funcdesc}
\begin{funcdesc}{GetLastError}{}
\end{funcdesc}
\begin{classdesc}{HRESULT}{}
\end{classdesc}
\begin{classdesc}{LibraryLoader}{dlltype}
\end{classdesc}
\begin{classdesc}{LittleEndianStructure}{}
\end{classdesc}
\begin{funcdesc}{memmove}{dst, src, count}
\end{funcdesc}
\begin{funcdesc}{memset}{dst, c, count}
\end{funcdesc}
\begin{classdesc}{OleDLL}{name, mode=RTLD_LOCAL, handle=None}
\end{classdesc}
\begin{datadesc}{oledll}
\end{datadesc}
\begin{funcdesc}{POINTER}{}
\end{funcdesc}
\begin{funcdesc}{pointer}{}
\end{funcdesc}
\begin{classdesc}{py_object}{}
\end{classdesc}
\begin{classdesc}{PyDLL}{name, mode=RTLD_LOCAL, handle=None}
\end{classdesc}
\begin{datadesc}{pydll}{}
\end{datadesc}
\begin{funcdesc}{PYFUNCTYPE}{restype, *argtypes}
\end{funcdesc}
\begin{funcdesc}{pythonapi}{}
\end{funcdesc}
\begin{funcdesc}{resize}{}
\end{funcdesc}
\begin{datadesc}{RTLD_GLOBAL}
\end{datadesc}
\begin{datadesc}{RTLD_LOCAL}
\end{datadesc}
\begin{funcdesc}{set_conversion_mode}{}
\end{funcdesc}
\begin{funcdesc}{sizeof}{}
\end{funcdesc}
\begin{funcdesc}{string_at}{address}
\end{funcdesc}
\begin{classdesc}{Structure}{}
\end{classdesc}
\begin{classdesc}{Union}{}
\end{classdesc}
\begin{classdesc}{WinDLL}{name, mode=RTLD_LOCAL, handle=None}
\end{classdesc}
\begin{datadesc}{windll}
\end{datadesc}
\begin{funcdesc}{WinError}{}
\end{funcdesc}
\begin{funcdesc}{WINFUNCTYPE}{restype, *argtypes}
\end{funcdesc}
\begin{funcdesc}{wstring_at}{address}
\end{funcdesc}