From 5856adc2c08287117008b92e95e7706329d69c5c Mon Sep 17 00:00:00 2001
From: Bill Currie <bill@taniwha.org>
Date: Mon, 17 Feb 2025 18:56:56 +0900
Subject: [PATCH] [ruamoko] Add no_va_list to obj_msgSend's definition

The declaration in qfcc has it resulting in a type mismatch (due to
fixing type attributes).
---
 ruamoko/lib/Object.r | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ruamoko/lib/Object.r b/ruamoko/lib/Object.r
index 0c21cc116..03c3af834 100644
--- a/ruamoko/lib/Object.r
+++ b/ruamoko/lib/Object.r
@@ -16,7 +16,7 @@ void (id object, int code, string fmt, @va_list args) obj_verror = #0;
 //obj_error_handler obj_set_error_handler (objc_error_handler func) = #0;
 IMP (id receiver, SEL op) obj_msg_lookup = #0;
 IMP (Super class, SEL op) obj_msg_lookup_super = #0;
-id (id receiver, SEL op, ...) obj_msgSend = #0;
+@attribute(no_va_list) id (id receiver, SEL op, ...) obj_msgSend = #0;
 id obj_msgSend_super (Super *class, SEL op, ...) = #0;
 @attribute(void_return) void obj_msg_sendv (id receiver, SEL op, @va_list args) = #0;
 int obj_decrement_retaincount (id object) = #0;