Horizon
horizon-eda-1.3.0
src
python_module
util.hpp
1
#pragma once
2
#include <Python.h>
3
#include "nlohmann/json_fwd.hpp"
4
5
using
json
=
nlohmann::json
;
6
7
bool
json_init();
8
PyObject *py_from_json(
const
json
&j);
9
json
json_from_py(PyObject *o);
10
11
class
py_exception
:
public
std::exception {
12
};
py_exception
Definition:
util.hpp:11
nlohmann::basic_json
a class to store JSON values
Definition:
json.hpp:166
nlohmann::json
basic_json<> json
default JSON class
Definition:
json_fwd.hpp:61
Generated by
1.8.20