1 #ifndef YOBAPERL_PERL_STACK_HPP 2 #define YOBAPERL_PERL_STACK_HPP 4 #include "yobaperl/common.hpp" 15 namespace yoba {
namespace priv {
22 PerlStack(Perl & perl);
25 void extend(SSize_t size);
27 void pushSV(SV * sv,
bool extend);
30 void pushScalar(Scalar arg);
31 void pushArray(Array args);
35 void call(Code code, I32 flags);
36 void callMethod(Code code, I32 flags);
37 void eval(
const std::string & code, I32 flags);
41 PerlInterpreter * _interpreter =
nullptr;
44 I32 _returns_count = -1;
51 #endif // YOBAPERL_PERL_STACK_HPP