Explorar o código

[cpp] MethInine is considered a real function too

hughsando %!s(int64=10) %!d(string=hai) anos
pai
achega
145066f550
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gencpp.ml

+ 1 - 1
gencpp.ml

@@ -5211,7 +5211,7 @@ class script_writer common_ctx ctx filename asciiOut =
       let argN = (string_of_int (List.length arg_list)) ^ " " in
       let is_real_function field =
          match field.cf_kind with
-         | Method MethNormal -> true
+         | Method MethNormal | Method MethInline-> true
          | _ -> false;
       in
       let gen_call () =