Create binding for templated methods that don't take any parameters #4936
Unanswered
JackAshwell11
asked this question in
Q&A
Replies: 1 comment
-
Hi.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm not sure if this is possible, but here is my situation. I want to create a binding for these methods:
Since these methods don't take any parameters, the normal way of doing:
m.def("add_system", &Registry::add_system<DamageSystem>)
Doesn't seem to work in Python when I try to do:
So is there a way to create a binding for this or does the method need a parameter?
P.S. Here is my binding code for
DamageSystem
if you needed it:Beta Was this translation helpful? Give feedback.
All reactions