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