|
@@ -547,6 +547,7 @@ let generate_type com t =
|
|
p "\n";
|
|
p "\n";
|
|
| TAbstractDecl a ->
|
|
| TAbstractDecl a ->
|
|
print_meta a.a_meta;
|
|
print_meta a.a_meta;
|
|
|
|
+ Option.may (fun c -> try print_meta [Meta.get Meta.Require c.cl_meta] with Not_found -> ()) a.a_impl;
|
|
p "extern ";
|
|
p "extern ";
|
|
let is_enum = Meta.has Meta.Enum a.a_meta in
|
|
let is_enum = Meta.has Meta.Enum a.a_meta in
|
|
if is_enum then p "enum ";
|
|
if is_enum then p "enum ";
|