summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-03 19:20:52 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-03 19:20:52 -0700
commita40d5455f2deb554ef3007b37441c16506f1c557 (patch)
treeb3b58b03dafb887b8fea4ab8fc2dac4093ffe199 /struct.h
parent9ac9586db2f2218ff7cd45a5b812b0835ad2dab2 (diff)
downloadtxr-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.h b/struct.h
index 612c47db..bb48a2b3 100644
--- a/struct.h
+++ b/struct.h
@@ -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);