summaryrefslogtreecommitdiff
path: root/icclient/product.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-20 11:24:12 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-20 11:24:12 +0800
commita3b91bf175b9d51fdd3674112e60a773f13c8ea9 (patch)
treec297742f6f068afed7fe7e901192cd21d2f7b9ee /icclient/product.h
parent0d45381125b73feea759213b8341deb4e08d600c (diff)
Move product freeing implementation to product's own implementation
Diffstat (limited to 'icclient/product.h')
-rw-r--r--icclient/product.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/icclient/product.h b/icclient/product.h
index 4d7f0c7..ba999b3 100644
--- a/icclient/product.h
+++ b/icclient/product.h
@@ -19,4 +19,14 @@ struct icclient_product {
struct icclient_product_crosssell *crosssell;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ void icclient_product_free(struct icclient_product *product);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif // ICCLIENT_PRODUCT_H