A PhAB exported function to duplicate a value
void dup ( ResDatatype_t type, int n, void *v, int *dest_n, void **dest_value );
This function is exported from PhAB in the PhABResExportCommon_t structure.
This is a convenience function that you can use to duplicate a value.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |