Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renamed contexts to avoid collition on win32

  • Loading branch information...
commit 1017c96516d5e0b466823d681ff87ce1be397ae2 1 parent 9083ba4
@Leont authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  perl++/headers/scalar.h
  2. +3 −3 perl++/source/exporter.C
View
2  perl++/headers/scalar.h
@@ -182,7 +182,7 @@ namespace perl {
class Package;
class Regex;
- enum context {VOID, SCALAR, LIST};
+ enum context {VOID_C, SCALAR_C, LIST_C};
namespace implementation {
namespace array {
View
6 perl++/source/exporter.C
@@ -158,8 +158,8 @@ namespace perl {
return Scalar::Temp(interp, ST(pos), false);
}
context Argument_stack::get_context() const {
- return GIMME_V == G_VOID ? VOID :
- GIMME_V == G_ARRAY ? LIST :
- SCALAR;
+ return GIMME_V == G_VOID ? VOID_C :
+ GIMME_V == G_ARRAY ? LIST_C :
+ SCALAR_C;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.