arg π
Interface to the struct vaccel_arg
C object.
Arg π
Bases: CType
Wrapper for the vaccel_arg
C struct.
Manages the creation and initialization of a C struct vaccel_arg
object and provides access to it through Python properties.
Inherits
CType: Abstract base class for defining C data types.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
| Any | The input data to be passed to the C struct. | required |
Source code in vaccel/arg.py
buf property
π
buf: Any
Returns the buffer value from the underlying C struct.
Retrieves the buffer (buf
) stored in the struct vaccel_arg
C object. If the original data type is a Python built-in type, the buffer is converted back to that type.
Returns:
Type | Description |
---|---|
Any | The buffer value from the C |
value property
π
Returns the value of the underlying C struct.
Returns:
Type | Description |
---|---|
CData | The dereferenced 'struct vaccel_arg` |