forked from mirror/waf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
393 B
C++
21 lines
393 B
C++
#pragma once
|
|
|
|
#include "genpybind.h"
|
|
|
|
class GENPYBIND(visible) Example {
|
|
public:
|
|
static constexpr int GENPYBIND(hidden) not_exposed = 10;
|
|
|
|
/// \brief Do a complicated calculation.
|
|
int calculate(int some_argument = 5) const;
|
|
|
|
GENPYBIND(getter_for(something))
|
|
int getSomething() const;
|
|
|
|
GENPYBIND(setter_for(something))
|
|
void setSomething(int value);
|
|
|
|
private:
|
|
int _value = 0;
|
|
};
|