mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 10:59:00 +00:00
11 lines
240 B
C++
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
|