mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rename macros with two leading underscores
These names are reserved for the compiler/library implementations.
This commit is contained in:
parent
6f4d6cb574
commit
6f2d785d0f
20 changed files with 109 additions and 113 deletions
|
@ -126,7 +126,7 @@ ItemStack::ItemStack(std::string name_, u16 count_,
|
|||
|
||||
void ItemStack::serialize(std::ostream &os) const
|
||||
{
|
||||
DSTACK(__FUNCTION_NAME);
|
||||
DSTACK(FUNCTION_NAME);
|
||||
|
||||
if(empty())
|
||||
return;
|
||||
|
@ -151,7 +151,7 @@ void ItemStack::serialize(std::ostream &os) const
|
|||
|
||||
void ItemStack::deSerialize(std::istream &is, IItemDefManager *itemdef)
|
||||
{
|
||||
DSTACK(__FUNCTION_NAME);
|
||||
DSTACK(FUNCTION_NAME);
|
||||
|
||||
clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue