diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-01 06:47:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-01 06:47:21 -0700 |
commit | 6e3ee573178e8860bb79f68153bfa7ed7ac949c7 (patch) | |
tree | e38006b4b8269ac947bf04be46a9c56b1ca2bf2b /struct.h | |
parent | 4f2f121684a68f0bd43c113d5b07436430692601 (diff) | |
download | txr-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |