Diffusion C API  6.3.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
diffusion-int64.h File Reference

Functions

bool read_diffusion_int64_value (const DIFFUSION_VALUE_T *value, int64_t *int64_value, DIFFUSION_API_ERROR *error)
 Read an int64 from the diffusion value. More...
 
bool write_diffusion_int64_value (int64_t value, const BUF_T *buf)
 Write a int64 value into a BUF_T for an update. More...
 

Function Documentation

bool read_diffusion_int64_value ( const DIFFUSION_VALUE_T value,
int64_t *  int64_value,
DIFFUSION_API_ERROR error 
)

Read an int64 from the diffusion value.

Parameters
valuethe diffusion value.
int64_valuepointer to set the int64 value to.
errorpopulated if an error occurs. Can be NULL.
Returns
true if the value was successfully set in the provided "int64_value" pointer. False otherwise.
bool write_diffusion_int64_value ( int64_t  value,
const BUF_T buf 
)

Write a int64 value into a BUF_T for an update.

Parameters
valueint64 to be written into the BUF_T
bufBUF_T to write the int64 value into
Returns
true if the value was successfully written into the BUF_T.