summaryrefslogtreecommitdiffstats
path: root/core/pool_allocator.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-16 08:04:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-16 08:04:23 +0100
commit3890256fc57eafb2db83d328b8caf772188e21d4 (patch)
treeee08a3acda5279a3bb331c0af569f1048b263fab /core/pool_allocator.cpp
parentb400c69cd487f70d8164dd5550eb994253d359d6 (diff)
downloadredot-engine-3890256fc57eafb2db83d328b8caf772188e21d4.tar.gz
Style: Cleanups, added headers, renamed files
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
Diffstat (limited to 'core/pool_allocator.cpp')
-rw-r--r--core/pool_allocator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pool_allocator.cpp b/core/pool_allocator.cpp
index e425218060..b1417dd107 100644
--- a/core/pool_allocator.cpp
+++ b/core/pool_allocator.cpp
@@ -27,12 +27,15 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "pool_allocator.h"
+
#include "error_macros.h"
#include "core/os/os.h"
#include "os/memory.h"
#include "os/copymem.h"
#include "print_string.h"
+
#include <assert.h>
+
#define COMPACT_CHUNK( m_entry , m_to_pos ) \
do { \
void *_dst=&((unsigned char*)pool)[m_to_pos]; \