diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-03 19:20:52 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-03 19:20:52 -0700 |
commit | a40d5455f2deb554ef3007b37441c16506f1c557 (patch) | |
tree | b3b58b03dafb887b8fea4ab8fc2dac4093ffe199 /struct.h | |
parent | 9ac9586db2f2218ff7cd45a5b812b0835ad2dab2 (diff) | |
download | txr-a40d5455f2deb554ef3007b37441c16506f1c557.tar.gz txr-a40d5455f2deb554ef3007b37441c16506f1c557.tar.bz2 txr-a40d5455f2deb554ef3007b37441c16506f1c557.zip |
slot-p renamed to slotp, conforming with Lisp conventions.
* share/txr/stdlib/struct.tl (sys:prune-nil-inits):
Use of slot-p renamed.
* struct.c (struct_init): Register slotp, and make
registration of slot-p conditional on compatibility option.
(slot_p): Function renamed to slotp.
* struct.h (slot_p): Declaration renamed.
* txr.1: References to slot-p fixed to slotp. Compat notes
added.
Diffstat (limited to 'struct.h')
-rw-r--r-- | struct.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ val slot(val strct, val sym); val slotset(val strct, val sym, val newval); val static_slot(val stype, val sym); val static_slot_set(val stype, val sym, val newval); -val slot_p(val type, val sym); +val slotp(val type, val sym); val static_slot_p(val type, val sym); val structp(val obj); val struct_type(val strct); |