summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-11 18:11:11 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-11 18:11:11 +0800
commited0824654a1d1049711646ab355b8c0a1dd20af7 (patch)
treea2eaaa4c27b6750764fbead1e07501b8add149df
parent86f9dd259dccaa9fe141f9395900ea4e54f08efa (diff)
Move all_products definition up
-rw-r--r--icclient/client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/icclient/client.h b/icclient/client.h
index 5c0541b..5e0f01b 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -1,6 +1,8 @@
#ifndef ICCLIENT_CLIENT_H
#define ICCLIENT_CLIENT_H
+#define icclient_allproducts(callback, catalog, handler) icclient_results("All-Products", callback, catalog, handler)
+
struct icclient_product;
struct icclient_catalog;
@@ -41,6 +43,4 @@ extern "C" {
}
#endif
-#define icclient_allproducts(callback, catalog, handler) icclient_results("All-Products", callback, catalog, handler)
-
#endif