From: Jarkko Hietaniemi Date: Tue, 15 Aug 2000 03:23:53 +0000 (+0000) Subject: magic_regdatum_set() is void, not int. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cc18cfc07d503c627ecef94b00dcbe45ffc1e6f0;p=p5sagit%2Fp5-mst-13.2.git magic_regdatum_set() is void, not int. p4raw-id: //depot/perl@6629 --- diff --git a/embed.pl b/embed.pl index 9353435..81bee1f 100755 --- a/embed.pl +++ b/embed.pl @@ -1680,7 +1680,7 @@ p |int |magic_mutexfree|SV* sv|MAGIC* mg p |int |magic_nextpack |SV* sv|MAGIC* mg|SV* key p |U32 |magic_regdata_cnt|SV* sv|MAGIC* mg p |int |magic_regdatum_get|SV* sv|MAGIC* mg -p |int |magic_regdatum_set|SV* sv|MAGIC* mg +p |void |magic_regdatum_set|SV* sv|MAGIC* mg p |int |magic_set |SV* sv|MAGIC* mg p |int |magic_setamagic|SV* sv|MAGIC* mg p |int |magic_setarylen|SV* sv|MAGIC* mg diff --git a/mg.c b/mg.c index 95f20ad..c0d6132 100644 --- a/mg.c +++ b/mg.c @@ -379,7 +379,7 @@ Perl_magic_regdatum_get(pTHX_ SV *sv, MAGIC *mg) return 0; } -int +void Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg) { dTHR; diff --git a/proto.h b/proto.h index 841e32a..65d2bb1 100644 --- a/proto.h +++ b/proto.h @@ -427,7 +427,7 @@ PERL_CALLCONV int Perl_magic_mutexfree(pTHX_ SV* sv, MAGIC* mg); PERL_CALLCONV int Perl_magic_nextpack(pTHX_ SV* sv, MAGIC* mg, SV* key); PERL_CALLCONV U32 Perl_magic_regdata_cnt(pTHX_ SV* sv, MAGIC* mg); PERL_CALLCONV int Perl_magic_regdatum_get(pTHX_ SV* sv, MAGIC* mg); -PERL_CALLCONV int Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg); +PERL_CALLCONV void Perl_magic_regdatum_set(pTHX_ SV* sv, MAGIC* mg); PERL_CALLCONV int Perl_magic_set(pTHX_ SV* sv, MAGIC* mg); PERL_CALLCONV int Perl_magic_setamagic(pTHX_ SV* sv, MAGIC* mg); PERL_CALLCONV int Perl_magic_setarylen(pTHX_ SV* sv, MAGIC* mg);