This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
TODO tests for untimely destruction introduced by lvalue ops [RT#67838]
[perl5.git] / mathoms.c
index 058d76d..1bb33d3 100644 (file)
--- a/mathoms.c
+++ b/mathoms.c
@@ -78,6 +78,8 @@ PERL_CALLCONV int Perl_magic_setglob(pTHX_ SV* sv, MAGIC* mg);
 PERL_CALLCONV AV * Perl_newAV(pTHX);
 PERL_CALLCONV HV * Perl_newHV(pTHX);
 PERL_CALLCONV IO * Perl_newIO(pTHX);
+PERL_CALLCONV I32 Perl_my_stat(pTHX);
+PERL_CALLCONV I32 Perl_my_lstat(pTHX);
 
 /* ref() is now a macro using Perl_doref;
  * this version provided for binary compatibility only.
@@ -1519,6 +1521,18 @@ Perl_newIO(pTHX)
     return MUTABLE_IO(newSV_type(SVt_PVIO));
 }
 
+I32
+Perl_my_stat(pTHX)
+{
+    return my_stat_flags(SV_GMAGIC);
+}
+
+I32
+Perl_my_lstat(pTHX)
+{
+    return my_lstat_flags(SV_GMAGIC);
+}
+
 #endif /* NO_MATHOMS */
 
 /*