summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-29 08:51:06 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-29 08:51:06 +0800
commit0f63d288930a71e9705ce1b48a5e0036a9161b52 (patch)
tree074b8a25504dcdb2442ade4e58746b71a364ca31
parent0640cec9e13edd30b85c50da9943f6fb56aec0df (diff)
Swap allproducts arguments
-rw-r--r--client.cxx2
m---------libicclient10
2 files changed, 6 insertions, 6 deletions
diff --git a/client.cxx b/client.cxx
index 4e832ce..7ffe780 100644
--- a/client.cxx
+++ b/client.cxx
@@ -17,7 +17,7 @@ namespace ICClient {
void Client::allProducts(size_t (*handler)(void*, size_t, size_t, void*))
{
icclient_catalog* catalog = nullptr;
- icclient_allproducts(&catalog, handler);
+ icclient_allproducts(handler, &catalog);
emit gotAllProducts(catalog);
}
diff --git a/libicclient b/libicclient
-Subproject 7a7ad88f83b343c8185006182ff2a8ebf8a94b5
+Subproject 685d975434d9311e5afebe9f933509f8bb2ad61