X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fcore%2Fobject.h;h=9169c441383b292803a67efc35e91147528aa1e2;hp=3c00fb51abe807d00799d931278e2d5dddc8ffd6;hb=dbb9acafef8927ee2e44b01fea8a8d1aae52cc93;hpb=9b4a5ef2a407895415153f78b69a954ed414715b diff --git a/src/include/core/object.h b/src/include/core/object.h index 3c00fb5..9169c44 100644 --- a/src/include/core/object.h +++ b/src/include/core/object.h @@ -78,7 +78,9 @@ typedef struct { * * The init function will be called with the remaining arguments passed to * sdb_object_create. If the init function fails (returns a non-zero value), - * the object will be destructed and destroyed. + * the object will be destructed and destroyed. In this case, the 'destroy' + * callback may be called on objects that were only half-way initialized. The + * callback has to handle that case correctly. * * The reference count of the new object will be 1. *