feat: Added Sky class
+ changed file structure in the python module + fixed static method binding for PyDaedalus class
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
#include <classes/sq/Daedalus.h>
|
||||
#include <pybind11/embed.h>
|
||||
#include <iostream>
|
||||
namespace py = pybind11;
|
||||
|
||||
class PyDaedalus
|
||||
@@ -11,8 +10,7 @@ class PyDaedalus
|
||||
|
||||
public:
|
||||
|
||||
//static nonut::Int index(nonut::String value) { return nonut::Daedalus::get()->index(value); }
|
||||
static nonut::Int index(nonut::String value) { std::cout << nonut::Daedalus::get()->index(value) << std::endl;return 5; }
|
||||
static nonut::Int index(nonut::String value) { return nonut::Daedalus::get()->index(value); }
|
||||
static py::dict symbol(nonut::String value) { return nonut::Daedalus::get()->symbol(value).data; }
|
||||
static py::dict instance(nonut::String value) { return nonut::Daedalus::get()->instance(value).data; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user