Skip to content

Commit

Permalink
autogen: export autogen'ed classes (#354)
Browse files Browse the repository at this point in the history
Signed-off-by: Sorin Vatasoiu <Sorin.Vatasoiu@Point72.com>
  • Loading branch information
svatasoiu authored Aug 7, 2024
1 parent a386b6c commit f9594a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csp/build/csp_autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _generate_enum_class(self, enum_type):
cspenum_decls = "\n".join(f" static {enum_name} {x.name};" for x in enum_type)

out = f"""
class {enum_name} : public csp::CspEnum
class CSP_PUBLIC {enum_name} : public csp::CspEnum
{{
public:
// Raw value quick access
Expand Down Expand Up @@ -315,7 +315,7 @@ def _generate_struct_class(self, struct_type):
)

out = f"""
class {struct_name} : public {base_class}
class CSP_PUBLIC {struct_name} : public {base_class}
{{
public:
Expand Down

0 comments on commit f9594a8

Please sign in to comment.