ec_blobject_class

March 26, 2020 Contributors

This struct is a typedef of _ec_blobject_class. It is defined as follows:

struct _ec_blobject_class {
  /** typename as per memtype naming conventions */
  const char *objectType;
  /**
   * destructor function.
   * the dtor is called when the
   * last reference to the blobject is released
   **/
  void (*dtor)(void *self);
  /**
   * printer.
   * For introspection, renders state into a string.
   **/
  void (*printer)(void *self, string *output);
};

To use this struct, include the file ec_blobject.h.

See Also

“ec_blobject”, ec_blobject_wrap, ec_blobject_addref, and ec_blobject_delref.