Function
Releases the libmodbus structure.
Format
modbus_free( modbus_t *'ctx' );
Parameters
ctx [ C : modbus_t * ] [ Python : ctypes.POINTER(modbus_t) ]
Specify the pointer to the libmodbus structure.
Return values
None
Remarks
Releases the libmodbus structure.
Example
Releases the structure specified by ctx.
C |
modbus_t *ctx; modbus_free(ctx);
|
Python |
ctx = ctypes.POINTER(modbus_t) modbus.modbus_free(ctx)
|