refactor: Refactorized whole project structure
This commit is contained in:
19
source/classes/python/Daedalus.h
Normal file
19
source/classes/python/Daedalus.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user