mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-01 09:24:33 +00:00
Use const functions
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* @param name The machine-readable name of the property.
|
||||
*/
|
||||
#define GETTERSETTER(type, method, name) \
|
||||
inline type Get##method() { return name; } \
|
||||
inline type Get##method() const { return name; } \
|
||||
inline void Set##method(type value) { name = value; }
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user