develooper Front page | perl.perl5.porters | Postings from January 2001

Re: [PATCH 5.7.0] overload int()

Thread Previous | Thread Next
From:
Steve Fink
Date:
January 25, 2001 10:43
Subject:
Re: [PATCH 5.7.0] overload int()
Message ID:
3A7073A2.6B432EF1@digital-integrity.com
Ilya Zakharevich wrote:
> 
> --- ./perl.h~   Tue Jan 16 20:44:51 2001
> +++ ./perl.h    Wed Jan 24 15:21:04 2001
> @@ -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. */

This is not relevant to your patch, but perl doesn't appear to be
consistent with the above comment

>  };
> 
> @@ -3110,7 +3111,7 @@ EXTCONST char * PL_AMG_names[NofAMmeth]
>    "(${}",      "(@{}",
>    "(%{}",      "(*{}",
>    "(&{}",      "(<>",
> -  "DESTROY",
> +  "(int",      "DESTROY",
>  };
>  #else
>  EXTCONST char * PL_AMG_names[NofAMmeth];

as can be seen here.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About