3 * Copyright (c) 1991-1994, Larry Wall
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
11 int (*svt_get) _((SV *sv, MAGIC* mg));
12 int (*svt_set) _((SV *sv, MAGIC* mg));
13 U32 (*svt_len) _((SV *sv, MAGIC* mg));
14 int (*svt_clear) _((SV *sv, MAGIC* mg));
15 int (*svt_free) _((SV *sv, MAGIC* mg));
20 MGVTBL* mg_virtual; /* pointer to magic functions */
29 #define MGf_TAINTEDDIR 1
30 #define MGf_REFCOUNTED 2
32 #define MgTAINTEDDIR(mg) (mg->mg_flags & MGf_TAINTEDDIR)
33 #define MgTAINTEDDIR_on(mg) (mg->mg_flags |= MGf_TAINTEDDIR)