summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-16 12:01:56 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-16 12:01:56 +0800
commitabe673f9ae7d9d23e92a188ade187ec020b1f67a (patch)
tree83af556dbdcd115286401a4c5ed303b335d2de37
parent6f78942176d5909349305db37b5424a1c6ceccef (diff)
Update value parameter to subtotal
-rw-r--r--pikul.h2
-rw-r--r--pikul.i2
2 files changed, 2 insertions, 2 deletions
diff --git a/pikul.h b/pikul.h
index d88d218..0bb4e23 100644
--- a/pikul.h
+++ b/pikul.h
@@ -28,7 +28,7 @@ double pikul_cost(const char *origin, const char *destination, double weight, co
char *pikul_order(const char *trx_id, const char *service, const char *sender_name,
const char *sender_phone, const char *origin, const char *sender_address,
const char *receiver_name, const char *receiver_phone, const char *destination,
- const char *receiver_address, int nitems, char **items[], double value);
+ const char *receiver_address, int nitems, char **items[], double subtotal);
void pikul_cleanup();
#ifdef __cplusplus
diff --git a/pikul.i b/pikul.i
index b00709e..6a0882b 100644
--- a/pikul.i
+++ b/pikul.i
@@ -24,5 +24,5 @@ double pikul_cost(const char *origin, const char *destination, double weight, co
char *pikul_order(const char *trx_id, const char *service, const char *sender_name,
const char *sender_phone, const char *origin, const char *sender_address,
const char *receiver_name, const char *receiver_phone, const char *destination,
- const char *receiver_address, int nitems, char **items[], double value);
+ const char *receiver_address, int nitems, char **items[], double subtotal);
void pikul_cleanup();