19 lines
512 B
C++
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 |