summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1994-10-17 23:00:00 +0000
committerLarry Wall <lwall@netlabs.com>1994-10-17 23:00:00 +0000
commita0d0e21ea6ea90a22318550944fe6cb09ae10cda (patch)
treefaca1018149b736b1142f487e44d1ff2de5cc1fa /mg.h
parent85e6fe838fb25b257a1b363debf8691c0992ef71 (diff)
downloadperl-a0d0e21ea6ea90a22318550944fe6cb09ae10cda.tar.gz
perl 5.000perl-5.000
[editor's note: this commit combines approximate 4 months of furious releases of Andy Dougherty and Larry Wall - see pod/perlhist.pod for details. Andy notes that; Alas neither my "Irwin AccuTrack" nor my DC 600A quarter-inch cartridge backup tapes from that era seem to be readable anymore. I guess 13 years exceeds the shelf life for that backup technology :-(. ]
Diffstat (limited to 'mg.h')
-rw-r--r--mg.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/mg.h b/mg.h
index b2cd7d6f59..a7d217cc46 100644
--- a/mg.h
+++ b/mg.h
@@ -1,19 +1,18 @@
-/* $RCSfile: arg.h,v $$Revision: 4.1 $$Date: 92/08/07 17:18:16 $
+/* mg.h
*
- * Copyright (c) 1993, Larry Wall
+ * Copyright (c) 1991-1994, Larry Wall
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*
- * $Log: arg.h,v $
*/
struct mgvtbl {
- int (*svt_get) P((SV *sv, MAGIC* mg));
- int (*svt_set) P((SV *sv, MAGIC* mg));
- U32 (*svt_len) P((SV *sv, MAGIC* mg));
- int (*svt_clear) P((SV *sv, MAGIC* mg));
- int (*svt_free) P((SV *sv, MAGIC* mg));
+ int (*svt_get) _((SV *sv, MAGIC* mg));
+ int (*svt_set) _((SV *sv, MAGIC* mg));
+ U32 (*svt_len) _((SV *sv, MAGIC* mg));
+ int (*svt_clear) _((SV *sv, MAGIC* mg));
+ int (*svt_free) _((SV *sv, MAGIC* mg));
};
struct magic {
@@ -29,5 +28,6 @@ struct magic {
#define MGf_TAINTEDDIR 1
#define MGf_REFCOUNTED 2
+#define MGf_GSKIP 4
#define MgTAINTEDDIR(mg) (mg->mg_flags & MGf_TAINTEDDIR)
#define MgTAINTEDDIR_on(mg) (mg->mg_flags |= MGf_TAINTEDDIR)