From 4a75fa1ae0acfb6204ce925df66ec1e7f85767ce Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Sat, 5 Jun 2010 13:12:11 +0100 Subject: add handy note on vtable fields --- perl.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'perl.h') 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), -- cgit v1.2.1