-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
In the pyplot.h file i get "Expected a type specifier error"
struct DECL_STRUCT_ATTR PyPlot { public:
and also in the file common.h i get "Expected a type specifier error"
`namespace matplotlibcpp17 {
/**
- @brief A base class for python wrapper classes
**/
struct DECL_STRUCT_ATTR BaseWrapper {
public:
pybind11::object unwrap() const { return self; }
protected:
pybind11::object self;
};
/**
- @brief A proxy class for pybind object
**/
struct ObjectWrapper : public BaseWrapper {
public:
ObjectWrapper(const pybind11::object &object) { self = object; }
ObjectWrapper(pybind11::object &&object) { self = std::move(object); }
};
} // namespace matplotlibcpp17`
Metadata
Metadata
Assignees
Labels
No labels