Skip to content

Commit

Permalink
actually use the newly created interface slots
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Mar 5, 2025
1 parent 9d32634 commit 6f1d1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/gencpp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ let generate_source ctx =
match has_class_flag class_def CInterface with
| true ->
let (slots, iface) = CppRetyper.tcpp_interface_from_tclass ctx acc.slots class_def in
if native_gen then (NativeInterface iface, slots, acc.ids) else (ManagedInterface iface, acc.slots, acc.ids)
if native_gen then (NativeInterface iface, slots, acc.ids) else (ManagedInterface iface, slots, acc.ids)
| false ->
let (slots, ids, cls) = CppRetyper.tcpp_class_from_tclass ctx acc.ids acc.slots class_def [] in
if native_gen then (NativeClass cls, slots, ids) else (ManagedClass cls, slots, ids) in
Expand Down

0 comments on commit 6f1d1b6

Please sign in to comment.