mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 03:36:36 +00:00
LibRegex: Annotate classes with export macro for hidden visibility
This fix demos the gradual opt-in migration process libraries can take to switch to explicit symbol exports via the FOO_API macros.
This commit is contained in:
parent
3dd2fbd041
commit
a3754a7bf1
Notes:
github-actions[bot]
2025-05-12 09:23:32 +00:00
Author: https://github.com/ayeteadoe
Commit: a3754a7bf1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4667
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/alimpfard
6 changed files with 15 additions and 13 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <AK/Forward.h>
|
||||
#include <AK/GenericLexer.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <LibRegex/Forward.h>
|
||||
|
||||
namespace regex {
|
||||
|
||||
|
@ -64,7 +65,7 @@ private:
|
|||
StringView m_value {};
|
||||
};
|
||||
|
||||
class Lexer : public GenericLexer {
|
||||
class REGEX_API Lexer : public GenericLexer {
|
||||
public:
|
||||
Lexer();
|
||||
explicit Lexer(StringView source);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue