summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-01 06:47:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-01 06:47:21 -0700
commit6e3ee573178e8860bb79f68153bfa7ed7ac949c7 (patch)
treee38006b4b8269ac947bf04be46a9c56b1ca2bf2b /struct.h
parent4f2f121684a68f0bd43c113d5b07436430692601 (diff)
downloadtxr-6e3ee573178e8860bb79f68153bfa7ed7ac949c7.tar.gz
txr-6e3ee573178e8860bb79f68153bfa7ed7ac949c7.tar.bz2
txr-6e3ee573178e8860bb79f68153bfa7ed7ac949c7.zip
New super-method function.
* struct.c (struct_init): Register super-method. (super_method): New function. * struct.h (super_method): Declared. * txr.1: Documented.
Diffstat (limited to 'struct.h')
-rw-r--r--struct.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/struct.h b/struct.h
index d0bc9c85..7e4009c3 100644
--- a/struct.h
+++ b/struct.h
@@ -41,5 +41,6 @@ val slot_p(val type, val sym);
val static_slot_p(val type, val sym);
val structp(val obj);
val struct_type(val strct);
-val method(val strct, val obj);
+val method(val strct, val slotsym);
+val super_method(val strct, val slotsym);
void struct_init(void);