ctypes.c_double_complex
Prev: ctypes.c_double | Up: ctypes | Next: ctypes.c_float
Rel: ctypes.addressof, ctypes.alignment, ctypes.ArgumentError, ctypes.Array
Ref: docs.python.org — ctypes.c_double_complex
Tags: #public #python3 #stdlib #ctypes
Import
import ctypes
from ctypes import c_double_complex
Signature & Overview
ctypes.c_double_complex(...)
ctypes.c_double_complex class.
Usage
import ctypes
# Python 3.14+: maps to C99 `double complex`
assert hasattr(ctypes, "c_double_complex") or True
Gotchas
- Requires Python 3.14+: Matches C99
double _Complex.
REPL Inspect
from ctypes import c_double_complex
help(c_double_complex)
Linked from
Related notes
- tuts/python3/stdlib_module/ctypes/c_double Linked here; links to this page; shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes/c_float Linked here; links to this page; shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/ctypes/addressof Linked here; shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes/alignment Linked here; shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes/ArgumentError Linked here; shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes/Array Linked here; shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes/BigEndianStructure shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes/BigEndianUnion shared tags: #ctypes, #stdlib
- tuts/python3/stdlib_module/ctypes/byref shared tags: #ctypes, #stdlib