Skip to content

Commit b789237

Browse files
committed
[cppyy] Add const N to stltypes dicts
This variable is used in various stl type tests as `cppyy.gbl.N` but was always loaded through the datatypes dictionary. Since we disable rootmaps there, this variable should be added (regardless since that introduces a dependency on another tests dictionary
1 parent ef189fc commit b789237

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bindings/pyroot/cppyy/cppyy/test/stltypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <utility>
1313
#include <vector>
1414

15+
const int N = 5;
1516

1617
//- basic example class
1718
class just_a_class {

bindings/pyroot/cppyy/cppyy/test/stltypes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
<function pattern="ErrorNamespace::*" />
3434

3535
<function name="GetMyErrorCount" />
36-
36+
<variable name="N" />
3737
</lcgdict>

0 commit comments

Comments
 (0)