summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-06-05 17:26:37 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-06-05 17:26:37 (GMT)
commitf206e0fb4b6f73e30c7c0a8cb1560b548bae04ad (patch)
tree3112b680dfff3ea941ff1d624dd968ee881123b0 /generic/tclOO.h
parent1545e3155786a2643bbabc7e7e5ef8b1a1d47d4a (diff)
parent3b14a4b0ed16f753791f2c6046b761c4fcd5be05 (diff)
downloadtcl-f206e0fb4b6f73e30c7c0a8cb1560b548bae04ad.zip
tcl-f206e0fb4b6f73e30c7c0a8cb1560b548bae04ad.tar.gz
tcl-f206e0fb4b6f73e30c7c0a8cb1560b548bae04ad.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclOO.h')
-rw-r--r--generic/tclOO.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/tclOO.h b/generic/tclOO.h
index d051e79..9c1dd1e 100644
--- a/generic/tclOO.h
+++ b/generic/tclOO.h
@@ -99,6 +99,15 @@ typedef struct {
*/
#define TCL_OO_METHOD_VERSION_CURRENT 1
+
+/*
+ * Visibility constants for the flags parameter to Tcl_NewMethod and
+ * Tcl_NewInstanceMethod.
+ */
+
+#define TCL_OO_METHOD_PUBLIC 1
+#define TCL_OO_METHOD_UNEXPORTED 0
+#define TCL_OO_METHOD_PRIVATE 0x20
/*
* The type of some object (or class) metadata. This describes how to delete