Test example program.
[wrappi.git] / generator-lib / wrappi_accumulator.ml
index e2af4f8..ac09b99 100644 (file)
@@ -101,7 +101,7 @@ let rec resolve_typedefs thing name loc = function
       exit 1
 
 let resolve_typedefs_in_ret thing name loc = function
-  | RErr as t -> t
+  | RVoid as t -> t
   | Return t -> Return (resolve_typedefs thing name loc t)
 
 let get_api () =