summaryrefslogtreecommitdiff
path: root/includes/point.c
diff options
context:
space:
mode:
Diffstat (limited to 'includes/point.c')
-rw-r--r--includes/point.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/point.c b/includes/point.c
index a68fcf2..99fe0bb 100644
--- a/includes/point.c
+++ b/includes/point.c
@@ -11,13 +11,13 @@ DEFINE_OBJECT_STRUCTURE(TYPE) {
CONSTRUCTOR_IMPLEMENT(TYPE);
-void METHOD_ARG(TYPE, init, float x, float y) {
+void METHOD(TYPE, init, float x, float y) {
CATCH_SELF_NULL(TYPE_init);
self->x = x;
self->y = y;
}
-int METHOD_ARG(TYPE, toString, char* buffer) {
+int METHOD(TYPE, toString, char* buffer) {
CATCH_SELF_NULL(TYPE_toString);
return sprintf(buffer, NAMEOF(TYPE) " { x = %.2f, y = %.2f }", self->x, self->y);
}