summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-03-16 21:10:45 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-03-16 21:10:45 -0700
commitc609898ed0bdb212bd5b53758cd22f617d9760df (patch)
tree1b682bafec94f08afbfc5f774e586d3eeb6e6a91 /struct.h
parent166ae3842267745d7ffea5aecf8eaf1f95d58e4a (diff)
downloadtxr-c609898ed0bdb212bd5b53758cd22f617d9760df.tar.gz
txr-c609898ed0bdb212bd5b53758cd22f617d9760df.tar.bz2
txr-c609898ed0bdb212bd5b53758cd22f617d9760df.zip
New function: static-slot-home.
* struct.c (struct_init): Register intrinsic function static-slot-home. (lookup_static_slot_desc_load): New static function. (static_slot_home): New function. * struct.h (static_slot_home): Declared. * txr.1: Documented.
Diffstat (limited to 'struct.h')
-rw-r--r--struct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/struct.h b/struct.h
index 27e13621..d7f30f0d 100644
--- a/struct.h
+++ b/struct.h
@@ -48,6 +48,7 @@ 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 static_slot_ensure(val stype, val sym, val newval, val no_error_p);
+val static_slot_home(val stype, val sym);
val test_dirty(val strct);
val test_clear_dirty(val strct);
val clear_dirty(val strct);