From 218418f3623da5f07cf8428d1d8687b9d5fbc4ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 24 Jul 2021 12:26:02 +0800 Subject: Each shipping info is retained in its own slot Slot/enum 0 is reserved for Pikul. libcurl WRITEFUNCTION callback userData parameter is now used for the shipping instance, but may also be used for something else in turns. --- pikul.i | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pikul.i') diff --git a/pikul.i b/pikul.i index c39c6a3..ae59146 100644 --- a/pikul.i +++ b/pikul.i @@ -43,10 +43,10 @@ %rename("%(strip:[pikul_])s") ""; void pikul_init(enum pikul_company, char *[]); -char *pikul_html(const char *, const char *, double, const char *, const char *, const char *, const char *, +char *pikul_html(char *[], char *[], double, const char *, const char *, const char *, const char *, char *[], char *[]); -double pikul_cost(const char *, const char *, double, const char *); -char *pikul_order(const char *, const char *, const char *, const char *, const char *, const char *, - const char *, const char *, const char *, const char *, const char *, const char *, int, - char **[], double); +double pikul_cost(enum pikul_company, const char *, const char *, const char *, double); +char *pikul_order(enum pikul_company, const char *, const char *, const char *, const char *, const char *, + const char *, const char *, const char *, const char *, const char *, const char *, + const char *, int, char **[], double); void pikul_cleanup(); -- cgit v1.2.3