mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Reformat the code, using:
find -type f | # list all regular files grep -E '\.(h|cpp|mm)$' | # filter for source files grep -v '/mt_' | # filter out generated files grep -v '/vendor/' | # and vendored GL grep -v '/test/image_loader_test.cpp' | # and this file (has giant literals arrays) xargs -n 1 -P $(nproc) clang-format -i # reformat everything Co-authored-by: numzero <numzer0@yandex.ru>
This commit is contained in:
@ -12,13 +12,12 @@ namespace irr
|
||||
{
|
||||
namespace io
|
||||
{
|
||||
class IWriteFile;
|
||||
class IWriteFile;
|
||||
} // end namespace io
|
||||
|
||||
namespace video
|
||||
{
|
||||
class IImage;
|
||||
|
||||
class IImage;
|
||||
|
||||
//! Interface for writing software image data.
|
||||
class IImageWriter : public IReferenceCounted
|
||||
@ -27,7 +26,7 @@ public:
|
||||
//! Check if this writer can write a file with the given extension
|
||||
/** \param filename Name of the file to check.
|
||||
\return True if file extension specifies a writable type. */
|
||||
virtual bool isAWriteableFileExtension(const io::path& filename) const = 0;
|
||||
virtual bool isAWriteableFileExtension(const io::path &filename) const = 0;
|
||||
|
||||
//! Write image to file
|
||||
/** \param file File handle to write to.
|
||||
|
Reference in New Issue
Block a user