From ae00cf2ebb81cefaca743d47beef705b09595805 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 17 Aug 2016 22:31:47 +0100 Subject: [PATCH] export the ident types --- cubescript.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cubescript.hh b/cubescript.hh index 23d199f..3380b3e 100644 --- a/cubescript.hh +++ b/cubescript.hh @@ -271,7 +271,7 @@ protected: Ident(); }; -struct Var: Ident { +struct OSTD_EXPORT Var: Ident { VarCb cb_var; void changed() { @@ -284,28 +284,28 @@ protected: Var(VarCb f); }; -struct Ivar: Var { +struct OSTD_EXPORT Ivar: Var { Ivar( ostd::ConstCharRange n, CsInt m, CsInt x, CsInt *s, VarCb f = VarCb(), int flags = 0 ); }; -struct Fvar: Var { +struct OSTD_EXPORT Fvar: Var { Fvar( ostd::ConstCharRange n, CsFloat m, CsFloat x, CsFloat *s, VarCb f = VarCb(), int flags = 0 ); }; -struct Svar: Var { +struct OSTD_EXPORT Svar: Var { Svar( ostd::ConstCharRange n, char **s, VarCb f = VarCb(), int flags = 0 ); }; -struct Alias: Ident { +struct OSTD_EXPORT Alias: Ident { Alias(ostd::ConstCharRange n, char *a, int flags); Alias(ostd::ConstCharRange n, CsInt a, int flags); Alias(ostd::ConstCharRange n, CsFloat a, int flags); @@ -324,7 +324,7 @@ struct Alias: Ident { using CmdFunc = ostd::Function; -struct Command: Ident { +struct OSTD_EXPORT Command: Ident { char *cargs; ostd::Uint32 argmask; int numargs;