summaryrefslogtreecommitdiff
path: root/pikul.i
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-24 12:26:02 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-24 12:26:02 +0800
commit218418f3623da5f07cf8428d1d8687b9d5fbc4ae (patch)
tree986978b38f2df259a722426c34718d1cedc4a1e3 /pikul.i
parent2ccf1c19b5182bd99b7d717008204737d9cfccd9 (diff)
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.
Diffstat (limited to 'pikul.i')
-rw-r--r--pikul.i10
1 files changed, 5 insertions, 5 deletions
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();