summaryrefslogtreecommitdiff
path: root/includes/rect.c
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rect.c')
-rw-r--r--includes/rect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/rect.c b/includes/rect.c
index 36abde7..89b554b 100644
--- a/includes/rect.c
+++ b/includes/rect.c
@@ -10,14 +10,14 @@ DEFINE_OBJECT_STRUCTURE(TYPE) {
CONSTRUCTOR_IMPLEMENT(TYPE);
-void METHOD_ARG(TYPE, init, int l, int t, int w, int h) {
+void METHOD(TYPE, init, int l, int t, int w, int h) {
self->left = l;
self->top = t;
self->width = w;
self->height = h;
}
-int METHOD_ARG(TYPE, toString, char* buffer) {
+int METHOD(TYPE, toString, char* buffer) {
return sprintf(buffer, NAMEOF(TYPE) " { left = %i, top = %i, width = %i, height = %i }", self->left, self->top, self->width, self->height);
}