mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
LibPDF: Pre-initialize common FlyStrings in CommonNames.h
This commit is contained in:
parent
cf3eb27108
commit
78f3bad7e6
8 changed files with 148 additions and 64 deletions
15
Userland/Libraries/LibPDF/CommonNames.cpp
Normal file
15
Userland/Libraries/LibPDF/CommonNames.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Matthew Olsson <mattco@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibPDF/CommonNames.h>
|
||||
|
||||
namespace PDF {
|
||||
|
||||
#define ENUMERATE(name) FlyString CommonNames::name = #name;
|
||||
ENUMERATE_COMMON_NAMES(ENUMERATE)
|
||||
#undef ENUMERATE
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue