Files
PyG2O/src/classes/py/Daedalus.h
AURUMVORXX 15b34c3f40 feat: Added Sky class
+ changed file structure in the python module
+ fixed static method binding for PyDaedalus class
2024-11-07 02:35:34 +03:00

18 lines
513 B
C++

#ifndef _PYDAEDALUS_H_
#define _PYDAEDALUS_H_
#include <classes/sq/Daedalus.h>
#include <pybind11/embed.h>
namespace py = pybind11;
class PyDaedalus
{
public:
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; }
};
#endif