Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Present gSystem.CompileMacro() as way to load c++ stuff from Python #553

Open
hageboeck opened this issue Apr 1, 2021 · 0 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@hageboeck
Copy link
Member

The PyROOT section lists several ways to access C++ stuff from Python. What's missing is the easy-to use

ROOT.gSystem.CompileMacro("ClassImplementation.cpp", "kO")

It's important to use kO for performance or if it happens frequently, so those should be explained.

Further, if this section is touched anyway, one could revisit the preferred way of loading c++ from Python. There should preferably only be a few ways that will always do what the users want.

@couet couet added the documentation Improvements or additions to documentation label Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants