From 3f8539bd52be8fdfaca4a056373d751799241659 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, 17 Jul 2021 15:33:11 +0800 Subject: Remove parameter names to save from retyping --- pikul.i | 12 +++++------- 1 file 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(); -- cgit v1.2.3