Skip to content

Commit

Permalink
add handy note on vtable fields
Browse files Browse the repository at this point in the history
  • Loading branch information
iabyn committed Jun 5, 2010
1 parent 1a1a5af commit 4a75fa1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions perl.h
Expand Up @@ -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),
Expand Down

0 comments on commit 4a75fa1

Please sign in to comment.