Method

NumCosmoMathObjArrayset

Declaration [src]

void
ncm_obj_array_set (
  NcmObjArray* oa,
  guint i,
  GObject* obj
)

Description [src]

Sets a GObject to a NcmObjArray. If there is already a GObject at position i, it is unreferenced.

Parameters

i

Type: guint

Object index.

obj

Type: GObject

A GObject.

The data is owned by the caller of the method.