summaryrefslogtreecommitdiff
path: root/pikul.i
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 15:33:11 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 15:33:11 +0800
commit3f8539bd52be8fdfaca4a056373d751799241659 (patch)
treebc68fa00448102c89e2b5a674887bd0e0305857e /pikul.i
parentb999dd2f128bcf209c62d3419a559e70222e7b04 (diff)
Remove parameter names to save from retyping
Diffstat (limited to 'pikul.i')
-rw-r--r--pikul.i12
1 files changed, 5 insertions, 7 deletions
diff --git a/pikul.i b/pikul.i
index aa4c707..e2938ac 100644
--- a/pikul.i
+++ b/pikul.i
@@ -46,11 +46,9 @@
}
%rename("%(strip:[pikul_])s") "";
-void pikul_init(enum pikul_company company, char *provisions[]);
-double pikul_cost(const char *origin, const char *destination, double weight, const char *service);
-char *pikul_order(const char *order_number, const char *service, const char *sender_name,
- const char *sender_phone, const char *origin, const char *sender_address,
- const char *sender_postal, const char *receiver_name, const char *receiver_phone,
- const char *destination, const char *receiver_address, const char *receiver_postal,
- int nitems, char **items[], _Bool insurance, double subtotal);
+void pikul_init(enum pikul_company, 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 **[], _Bool, double);
void pikul_cleanup();