Files
raylib-cpp/include/raylib/utils.hpp
Rob Loach b85a050a70 Add tests
2019-01-22 23:17:28 -05:00

10 lines
225 B
C++

#ifndef RAYLIB_CPP_UTILS_HPP_
#define RAYLIB_CPP_UTILS_HPP_
#ifndef GETTERSETTER
#define GETTERSETTER(type, method, name) \
type get##method() { return name;} \
void set##method(type value) { name = value; }
#endif
#endif