summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();