17 lines
331 B
C++
17 lines
331 B
C++
#ifndef _PYMDS_H
|
|
#define _PYMDS_H
|
|
|
|
#include <pybind11/embed.h>
|
|
#include "squirrel/Mds.h"
|
|
namespace py = pybind11;
|
|
|
|
class PyMds
|
|
{
|
|
|
|
public:
|
|
|
|
static int id(std::string mdsName) { return nonut::Mds::get()->id(mdsName); }
|
|
static std::string name(int mdsId) { return nonut::Mds::get()->name(mdsId); }
|
|
};
|
|
|
|
#endif |