lookup
Description:
Lookups a reference to one of the objects in the this.
The generated reference must be freed with unref.
The gtype
must match the type of the object in the odb; the method will fail otherwise. The special value
g_type_none may be passed to let the method guess the object's type.
Parameters:
this |
a Repository. |
oid |
a OId. |
gtype |
a Type. |
Returns:
the found Object, or null on error. |