Logo ROOT   6.16/01
Reference Guide
TCallContext.cxx
Go to the documentation of this file.
1// Bindings
2#include "PyROOT.h"
3#include "TCallContext.h"
4
5
6//- data _____________________________________________________________________
7namespace PyROOT {
8
10// this is just a data holder for linking; actual value is set in RootModule.cxx
12
13} // namespace PyROOT
14
15
16////////////////////////////////////////////////////////////////////////////////
17/// Set the global memory policy, which affects object ownership when objects
18/// are passed as function arguments.
19
21{
22 if ( kUseHeuristics == e || e == kUseStrict ) {
24 return kTRUE;
25 }
26 return kFALSE;
27}
28
29////////////////////////////////////////////////////////////////////////////////
30/// Set the global signal policy, which determines whether a jmp address
31/// should be saved to return to after a C++ segfault.
32
34{
35 if ( kFast == e || e == kSafe ) {
36 sSignalPolicy = e;
37 return kTRUE;
38 }
39 return kFALSE;
40}
41
#define e(i)
Definition: RSha256.hxx:103
const Bool_t kFALSE
Definition: RtypesCore.h:88
bool Bool_t
Definition: RtypesCore.h:59
const Bool_t kTRUE
Definition: RtypesCore.h:87
static Bool_t SetMemoryPolicy(ECallFlags e)
Set the global memory policy, which affects object ownership when objects are passed as function argu...
static ECallFlags sSignalPolicy
Definition: TCallContext.h:53
static ECallFlags sMemoryPolicy
Definition: TCallContext.h:49
static Bool_t SetSignalPolicy(ECallFlags e)
Set the global signal policy, which determines whether a jmp address should be saved to return to aft...