From f9ccf11dab8e7ffef363c774c94c660c144f8efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Mon, 29 Jun 2020 14:48:07 +0800 Subject: Reorder the order function parameters --- icclient/client.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'icclient') diff --git a/icclient/client.h b/icclient/client.h index 02804bb..f81f567 100644 --- a/icclient/client.h +++ b/icclient/client.h @@ -50,12 +50,12 @@ extern "C" { /*! * \brief For putting an item to a cart. - * \param orderptr A pointer to pointer to the order. * \param sku The SKU of the item to order. * \param catalog A pointer to the catalog from which the item is. + * \param orderptr A pointer to pointer to the order. */ - void icclient_order(struct icclient_ord_order **orderptr, const char *sku, - struct icclient_catalog *catalog); + void icclient_order(const char *sku, const struct icclient_catalog *catalog, + struct icclient_ord_order **orderptr); void icclient_newaccount(size_t (*handler)(void *contents, size_t size, size_t nmemb, void *userdata), struct icclient_user *user, -- cgit v1.2.3