Files
PyG2O/source/classes/python/Daedalus.h
2025-01-25 00:02:52 +03:00

19 lines
512 B
C++

#ifndef _PYDAEDALUS_H_
#define _PYDAEDALUS_H_
#include <pybind11/embed.h>
#include "squirrel/Daedalus.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