Skip to content

Commit 3487a9f

Browse files
committed
Delete the now-unused SVf_AMAGIC flag constant
1 parent 6805c05 commit 3487a9f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

sv.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -494,14 +494,7 @@ These guys don't need the curly blocks
494494

495495
#define PRIVSHIFT 4 /* (SVp_?OK >> PRIVSHIFT) == SVf_?OK */
496496

497-
/* SVf_AMAGIC means that the stash *may* have overload methods. It's
498-
* set each time a function is compiled into a stash, and is reset by the
499-
* overload code when called for the first time and finds that there are
500-
* no overload methods. Note that this used to be set on the object; but
501-
* is now only set on stashes.
502-
*/
503-
#define SVf_AMAGIC 0x10000000 /* now unused on scalars */
504-
#define SVphv_OVERLOADED SVf_AMAGIC /* stash has magical overloaded methods */
497+
#define SVphv_OVERLOADED 0x10000000 /* stash has magical overloaded methods */
505498
#define SVf_IsCOW 0x10000000 /* copy on write (shared hash key if
506499
SvLEN == 0) */
507500

0 commit comments

Comments
 (0)