Use Blender codestyle, not Google's one!

This commit is contained in:
Sergey Sharybin
2014-06-19 12:47:56 +06:00
parent 16d64a99b4
commit a6e58cd761

View File

@@ -6,7 +6,8 @@
namespace {
void DoBasicAlignmentChecks(const int alignment) {
void DoBasicAlignmentChecks(const int alignment)
{
int *foo, *bar;
foo = (int *) MEM_mallocN_aligned(sizeof(int) * 10, alignment, "test");
@@ -27,11 +28,13 @@ void DoBasicAlignmentChecks(const int alignment) {
} // namespace
TEST(guardedalloc, LockfreeAlignedAlloc16) {
TEST(guardedalloc, LockfreeAlignedAlloc16)
{
DoBasicAlignmentChecks(16);
}
TEST(guardedalloc, GuardedAlignedAlloc16) {
TEST(guardedalloc, GuardedAlignedAlloc16)
{
MEM_use_guarded_allocator();
DoBasicAlignmentChecks(16);
}
@@ -40,7 +43,8 @@ TEST(guardedalloc, GuardedAlignedAlloc16) {
// Harmless for Blender, but would be nice to support
// eventually.
#ifndef __APPLE__
TEST(guardedalloc, GuardedAlignedAlloc32) {
TEST(guardedalloc, GuardedAlignedAlloc32)
{
MEM_use_guarded_allocator();
DoBasicAlignmentChecks(16);
}