mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:42:44 +00:00 
			
		
		
		
	 20163c0584
			
		
	
	
		20163c0584
		
	
	
	
	
		
			
			The old versions were renamed to JS_DECLARE_OLD_NATIVE_FUNCTION and JS_DEFINE_OLD_NATIVE_FUNCTION, and will be eventually removed once all native functions were converted to the new format.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibJS/Runtime/Object.h>
 | |
| 
 | |
| namespace JS::Intl {
 | |
| 
 | |
| class Intl final : public Object {
 | |
|     JS_OBJECT(Intl, Object);
 | |
| 
 | |
| public:
 | |
|     explicit Intl(GlobalObject&);
 | |
|     virtual void initialize(GlobalObject&) override;
 | |
|     virtual ~Intl() override = default;
 | |
| 
 | |
| private:
 | |
|     JS_DECLARE_OLD_NATIVE_FUNCTION(get_canonical_locales);
 | |
| };
 | |
| 
 | |
| }
 |