}
public virtual bool generate_method_declaration (Method m, CCodeFile decl_space) {
- return !add_symbol_declaration (decl_space, m, get_ccode_name (m));
+ return false;
}
public virtual void generate_error_domain_declaration (ErrorDomain edomain, CCodeFile decl_space) {
if (m.is_async_callback) {
return false;
}
+ if ((m.is_abstract || m.is_virtual) && m.get_attribute ("NoWrapper") != null) {
+ return false;
+ }
if (add_symbol_declaration (decl_space, m, get_ccode_name (m))) {
return false;
}
// do not declare overriding methods and interface implementations
if ((m.is_abstract || m.is_virtual
|| (m.base_method == null && m.base_interface_method == null))
- && m.get_attribute ("NoWrapper") == null
&& m.signal_reference == null) {
generate_method_declaration (m, cfile);
public override bool generate_method_declaration (Method m, CCodeFile decl_space) {
if (m.coroutine) {
+ if ((m.is_abstract || m.is_virtual) && m.get_attribute ("NoWrapper") != null) {
+ return false;
+ }
if (add_symbol_declaration (decl_space, m, get_ccode_name (m))) {
return false;
}
}
}
- if (m.is_abstract || m.is_virtual) {
+ if ((m.is_abstract || m.is_virtual) && m.get_attribute ("NoWrapper") == null) {
// generate virtual function wrappers
var cparam_map = new HashMap<int,CCodeParameter> (direct_hash, direct_equal);
var carg_map = new HashMap<int,CCodeExpression> (direct_hash, direct_equal);