#define hashkit_is_allocated(__object) ((__object)->options.is_allocated)
#define hashkit_is_initialized(__object) ((__object)->options.is_initialized)
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
struct hashkit_st
{
struct hashkit_function_st {
hashkit_st& operator=(const hashkit_st& source)
{
+ hashkit_free(this);
hashkit_clone(this, &source);
return *this;
#endif
};
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
#endif /* HASHKIT_H */