Virtual Method

NumCosmoMathMPIJobget_return_buffer

Declaration [src]

gpointer
get_return_buffer (
  NcmMPIJob* mpi_job,
  gpointer ret
)

Description [src]

Creates a buffer from ret compatible with ncm_mpi_job_return_datatype().

Parameters

ret

Type: gpointer

A return object.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: gpointer

The created buffer.

The returned data is owned by the instance.
The return value can be NULL.