summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2001-01-24 14:06:57 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-25 04:16:32 +0000
commitf216259dc50e3a06164781e025bbb486cdc1dbaa (patch)
treee8ed6fb1558ef7ad342bdb1e96cef33c01c92f07 /perl.h
parentf2766b05f6136cc9e8c8812afdbe7a31657a110d (diff)
downloadperl-f216259dc50e3a06164781e025bbb486cdc1dbaa.tar.gz
overload int()
Message-ID: <20010124190657.A8512@math.ohio-state.edu> p4raw-id: //depot/perl@8545
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index bbea5dddd3..93e53f10f9 100644
--- a/perl.h
+++ b/perl.h
@@ -3064,7 +3064,8 @@ enum {
to_sv_amg, to_av_amg,
to_hv_amg, to_gv_amg,
to_cv_amg, iter_amg,
- DESTROY_amg, max_amg_code
+ int_amg, DESTROY_amg,
+ max_amg_code
/* Do not leave a trailing comma here. C9X allows it, C89 doesn't. */
};
@@ -3110,7 +3111,7 @@ EXTCONST char * PL_AMG_names[NofAMmeth] = {
"(${}", "(@{}",
"(%{}", "(*{}",
"(&{}", "(<>",
- "DESTROY",
+ "(int", "DESTROY",
};
#else
EXTCONST char * PL_AMG_names[NofAMmeth];