mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-30 23:42:45 +00:00 
			
		
		
		
	 f3db548a3d
			
		
	
	
		f3db548a3d
		
	
	
	
	
		
			
			DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so let's rename it to A) match the name of DeprecatedString, B) write a new FlyString class that is tied to String.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			349 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			349 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Matthew Olsson <mattco@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include <LibPDF/CommonNames.h>
 | |
| 
 | |
| namespace PDF {
 | |
| 
 | |
| #define ENUMERATE(name) DeprecatedFlyString CommonNames::name = #name;
 | |
| ENUMERATE_COMMON_NAMES(ENUMERATE)
 | |
| #undef ENUMERATE
 | |
| 
 | |
| DeprecatedFlyString CommonNames::IdentityH = "Identity-H";
 | |
| 
 | |
| }
 |