]> git.pond.sub.org Git - empserver/commitdiff
Doc fixes & clarifications.
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 21 Aug 2004 11:47:17 +0000 (11:47 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 21 Aug 2004 11:47:17 +0000 (11:47 +0000)
include/loan.h
include/match.h
include/treaty.h
src/lib/common/stmtch.c
src/lib/subs/nstr.c

index 6407a28baac2935941e10a02340c0026c91c5114..ead009f6f3bd1e6bf7e3a25a46eed48998d7e09d 100644 (file)
@@ -43,7 +43,7 @@ struct lonstr {
     short l_uid;
     natid l_lonee;             /* sucker */
     s_char l_status;           /* loan status */
-    short l_sell;              /* pointer to trade file */
+    short l_sell;              /* pointer to trade file (unused) */
     int l_irate;               /* interest rate */
     int l_ldur;                        /* intended duration */
     long l_amtpaid;            /* amount paid so far */
index 4985926b702629f85751917c45105145cc7bbb86..054e23773d7aafa07d8b2349d54e7406ca473d5d 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <stddef.h>
 
-/* returned by stmtch() */
+/* returned by stmtch() and comtch() */
 #define M_IGNORE        -3
 #define M_NOTUNIQUE    -2
 #define M_NOTFOUND     -1
index 35a968e626541db90d04deca1302d6e0d1e9a9b3..18645788c2e7a7219a3ddbac7eb58c858b789087 100644 (file)
@@ -42,7 +42,7 @@ struct trtstr {
     s_char trt_fill;
     short trt_acond;           /* conditions for proposer */
     short trt_bcond;           /* conditions for accepter */
-    float trt_bond;            /* amount of bond involved */
+    float trt_bond;            /* amount of bond involved (unused) */
     time_t trt_exp;            /* expiration date */
 };
 
index 35f0753e16212f0e3dbfd020fdadf3a1b5ca5c6a..46d6c6da9a141ebb474e6adeea191665a98359fc 100644 (file)
@@ -45,7 +45,7 @@
  * several.
  * Each array element has a pointer to its name stored at offset OFFS.
  * Search stops when this name is a null pointer or empty.  NEEDLE is
- * compared to element names with mineq().
+ * compared to element names with mineq(NEEDLE, NAME).
  * ELT_SIZE gives the size of an array element.
  */
 int
index 8ea8c8229f7fcb7fa677fe746fb3b1dad40e8976..b829f18108399158701e9f83421c09232380acfb 100644 (file)
@@ -391,6 +391,7 @@ nstr_coerce_val(struct valstr *val, nsc_type to, char *str)
 
 /*
  * Evaluate VAL.
+ * If VAL is symbolic, evaluate it into a promoted value type.
  * Use coordinate system of country CNUM.
  * PTR points to a context object of the type that was used to compile
  * the value.