summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-14 17:42:08 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-14 17:42:08 -0800
commit6b4e2804f2da87aa3d15d407acc9b774a01d1555 (patch)
tree82d5a1768cb57c743f53a398cb141b3fded30fda /ChangeLog
parenta4b872687408e7624ccb500fbce8467ae3f821e6 (diff)
downloadtxr-6b4e2804f2da87aa3d15d407acc9b774a01d1555.tar.gz
txr-6b4e2804f2da87aa3d15d407acc9b774a01d1555.tar.bz2
txr-6b4e2804f2da87aa3d15d407acc9b774a01d1555.zip
Replacing acons_new_l and aconsq_new_l interfaces with ones
that return the new or old cons cell rather than a pointer to its cdr field. * eval.c (transform_op): use of acons_new_l replaced with acons_new_c. * hash.c (struct hash): acons_new_l_fun member replaced with acons_new_c_fun. (make_hash, make_similar_hash): initialize acons_new_l_fun member using either acons_new_c or aconsql_new_c. (gethash_l): function becomes an inline in hash.h. (gethash_c): new function, based on gethash_l. (inhash, gethash_n): updated w.r.t struct hash change. * hash.h (gethash_c): declared. (gethash_l): becomes an inline wrapper for gethash_c. * lib.c (acons_new_l, aconsql_new_l): functions removed. (acons_new_c, aconsql_new_c): new functions. (obj_init): use gethash_c and rplacd instead of gethash_l and set. * lib.h (acons_new_l, aconsql_new_l): declarations removed. (acons_new_c, aconsql_new_c): declared.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 02d0323b..e6ba7b53 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,33 @@
2014-02-14 Kaz Kylheku <kaz@kylheku.com>
+ Replacing acons_new_l and aconsq_new_l interfaces with ones
+ that return the new or old cons cell rather than a pointer
+ to its cdr field.
+
+ * eval.c (transform_op): use of acons_new_l replaced with
+ acons_new_c.
+
+ * hash.c (struct hash): acons_new_l_fun member replaced
+ with acons_new_c_fun.
+ (make_hash, make_similar_hash): initialize acons_new_l_fun
+ member using either acons_new_c or aconsql_new_c.
+ (gethash_l): function becomes an inline in hash.h.
+ (gethash_c): new function, based on gethash_l.
+ (inhash, gethash_n): updated w.r.t struct hash change.
+
+ * hash.h (gethash_c): declared.
+ (gethash_l): becomes an inline wrapper for gethash_c.
+
+ * lib.c (acons_new_l, aconsql_new_l): functions removed.
+ (acons_new_c, aconsql_new_c): new functions.
+ (obj_init): use gethash_c and rplacd instead of gethash_l
+ and set.
+
+ * lib.h (acons_new_l, aconsql_new_l): declarations removed.
+ (acons_new_c, aconsql_new_c): declared.
+
+2014-02-14 Kaz Kylheku <kaz@kylheku.com>
+
* hash.c (inhash): Simplify code with gethash_f.
2014-02-14 Kaz Kylheku <kaz@kylheku.com>