Commit 9058036
[Python] Inject
The `gPad and `gVirtualX` identifiers are injected into ROOT meta via
`TGlobalMappedFunction::MakeFunctor()`. However, in the ROOT Python
interface we don't want to rely on ROOT meta but use Cling or Clang-Repl
directly. Hence, we inject these identifiers manually into the facade.
The `TDirectoryPythonAdapter` previously used for `gDirectory` mirrored
the live-tracking semantics of the C++ macros: every attribute access
re-resolves to the current directory. The same semantics are needed
for `gPad` and `gVirtualX`, which on the C++ side are also preprocessor
macros that expand to a static accessor call. Therefore, a new
`LiveProxy` is introduced for this.gPad and gVirtualX into facade without ROOT meta1 parent 6ddd17c commit 9058036
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | 308 | | |
310 | 309 | | |
311 | 310 | | |
| |||
0 commit comments