summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-06-05 13:12:11 +0100
committerDavid Mitchell <davem@iabyn.com>2010-06-05 13:12:11 +0100
commit4a75fa1ae0acfb6204ce925df66ec1e7f85767ce (patch)
tree3bd02c6ad89b42cf7733c37081bc407a24318b45 /perl.h
parent1a1a5af7b042b1599e52170095e55b02673d4c53 (diff)
downloadperl-4a75fa1ae0acfb6204ce925df66ec1e7f85767ce.tar.gz
add handy note on vtable fields
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index ea18d320fa..673a19ef15 100644
--- a/perl.h
+++ b/perl.h
@@ -5026,6 +5026,19 @@ START_EXTERN_C
* not the same beast. ANSI doesn't allow the assignment from one to the other.
* (although most, but not all, compilers are prepared to do it)
*/
+
+/* args are:
+ vtable
+ get
+ set
+ len
+ clear
+ free
+ copy
+ dup
+ local
+*/
+
MGVTBL_SET(
PL_vtbl_sv,
MEMBER_TO_FPTR(Perl_magic_get),