Skip to content

Commit 19d0caf

Browse files
committed
Comment out the example of using the custom memory manager
1 parent 76f9c59 commit 19d0caf

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
build2019
2+
build2022
23
build
34
*.log
45
*.zm

ZmeyaTest01.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "gtest/gtest.h"
22

3+
/*
34
namespace Memory
45
{
56
@@ -54,6 +55,8 @@ void mfree(void* p)
5455
5556
#define ZMEYA_ALLOC(sizeInBytes, alignment) Memory::malloc(sizeInBytes, alignment)
5657
#define ZMEYA_FREE(ptr) Memory::mfree(ptr)
58+
*/
59+
5760
#include "TestHelper.h"
5861
#include "Zmeya.h"
5962

File renamed without changes.

gen22.cmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
set builddir=build2022
3+
if not exist %builddir% goto GENERATE
4+
del %builddir% /S /Q
5+
:GENERATE
6+
mkdir %builddir%
7+
cd %builddir%
8+
cmake -G "Visual Studio 17 2022" ../
9+
cd ..
10+

0 commit comments

Comments
 (0)