mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
refactor: Rename RIPPLE_ and RIPPLED_ definitions to XRPL_ (#5821)
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). C++ include guards are used to prevent the contents of a header file from being included multiple times in a single compilation unit. This change renames all `RIPPLE_` and `RIPPLED_` definitions, primarily include guards, to `XRPL_`. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_JSONPROPERTYSTREAM_H_INCLUDED
|
||||
#define RIPPLE_JSON_JSONPROPERTYSTREAM_H_INCLUDED
|
||||
#ifndef XRPL_JSON_JSONPROPERTYSTREAM_H_INCLUDED
|
||||
#define XRPL_JSON_JSONPROPERTYSTREAM_H_INCLUDED
|
||||
|
||||
#include <xrpl/beast/utility/PropertyStream.h>
|
||||
#include <xrpl/json/json_value.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_OBJECT_H_INCLUDED
|
||||
#define RIPPLE_JSON_OBJECT_H_INCLUDED
|
||||
#ifndef XRPL_JSON_OBJECT_H_INCLUDED
|
||||
#define XRPL_JSON_OBJECT_H_INCLUDED
|
||||
|
||||
#include <xrpl/json/Writer.h>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_OUTPUT_H_INCLUDED
|
||||
#define RIPPLE_JSON_OUTPUT_H_INCLUDED
|
||||
#ifndef XRPL_JSON_OUTPUT_H_INCLUDED
|
||||
#define XRPL_JSON_OUTPUT_H_INCLUDED
|
||||
|
||||
#include <boost/beast/core/string.hpp>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_WRITER_H_INCLUDED
|
||||
#define RIPPLE_JSON_WRITER_H_INCLUDED
|
||||
#ifndef XRPL_JSON_WRITER_H_INCLUDED
|
||||
#define XRPL_JSON_WRITER_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/ToString.h>
|
||||
#include <xrpl/basics/contract.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_JSON_ASSERT_H_INCLUDED
|
||||
#define RIPPLE_JSON_JSON_ASSERT_H_INCLUDED
|
||||
#ifndef XRPL_JSON_JSON_ASSERT_H_INCLUDED
|
||||
#define XRPL_JSON_JSON_ASSERT_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/contract.h>
|
||||
#include <xrpl/json/json_errors.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_JSON_ERRORS_H_INCLUDED
|
||||
#define RIPPLE_JSON_JSON_ERRORS_H_INCLUDED
|
||||
#ifndef XRPL_JSON_JSON_ERRORS_H_INCLUDED
|
||||
#define XRPL_JSON_JSON_ERRORS_H_INCLUDED
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_JSON_FORWARDS_H_INCLUDED
|
||||
#define RIPPLE_JSON_JSON_FORWARDS_H_INCLUDED
|
||||
#ifndef XRPL_JSON_JSON_FORWARDS_H_INCLUDED
|
||||
#define XRPL_JSON_JSON_FORWARDS_H_INCLUDED
|
||||
|
||||
namespace Json {
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_JSON_READER_H_INCLUDED
|
||||
#define RIPPLE_JSON_JSON_READER_H_INCLUDED
|
||||
#ifndef XRPL_JSON_JSON_READER_H_INCLUDED
|
||||
#define XRPL_JSON_JSON_READER_H_INCLUDED
|
||||
|
||||
#define CPPTL_JSON_READER_H_INCLUDED
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_JSON_VALUE_H_INCLUDED
|
||||
#define RIPPLE_JSON_JSON_VALUE_H_INCLUDED
|
||||
#ifndef XRPL_JSON_JSON_VALUE_H_INCLUDED
|
||||
#define XRPL_JSON_JSON_VALUE_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/Number.h>
|
||||
#include <xrpl/json/json_forwards.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_JSON_WRITER_H_INCLUDED
|
||||
#define RIPPLE_JSON_JSON_WRITER_H_INCLUDED
|
||||
#ifndef XRPL_JSON_JSON_WRITER_H_INCLUDED
|
||||
#define XRPL_JSON_JSON_WRITER_H_INCLUDED
|
||||
|
||||
#include <xrpl/json/json_forwards.h>
|
||||
#include <xrpl/json/json_value.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_JSON_TO_STRING_H_INCLUDED
|
||||
#define RIPPLE_JSON_TO_STRING_H_INCLUDED
|
||||
#ifndef XRPL_JSON_TO_STRING_H_INCLUDED
|
||||
#define XRPL_JSON_TO_STRING_H_INCLUDED
|
||||
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user