Files
raylib-cpp/include/raylib/utils.hpp
Rob Loach 05ed03ada2 0.1.0
2019-08-10 17:35:26 -04:00

11 lines
240 B
C++

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