Kp
|
7d166a70e0
|
Prevent accidental RAIIdmem construction
|
2014-09-07 23:56:37 +00:00 |
|
Kp
|
c85819ac94
|
Forbid d_free on non-POD
|
2014-08-16 04:18:58 +00:00 |
|
Kp
|
ba05b20c3c
|
Forbid MALLOC of non-POD types
|
2014-07-25 01:47:21 +00:00 |
|
zico
|
ad7cb106bc
|
Changed custom D1X license to GPLv3
|
2014-06-01 19:55:23 +02:00 |
|
Kp
|
fbf1f8a658
|
Annotate mem_malloc/calloc/realloc as __attribute__((alloc_size))
|
2013-12-20 03:33:32 +00:00 |
|
Kp
|
737fe73dd7
|
Annotate mem_malloc/mem_calloc as __attribute__((malloc))
|
2013-12-20 03:24:39 +00:00 |
|
Kp
|
b7fe431979
|
Use RAII for playsave strings
|
2013-12-08 21:02:10 +00:00 |
|
Kp
|
3b9b5ebfb0
|
Use RAII to manage function-local heap objects
|
2013-12-08 19:04:52 +00:00 |
|
Kp
|
9de54cfa74
|
Switch to C++ linkage
import fileinput
guard = 0
cxxguard = '#ifdef __cplusplus\n'
for line in fileinput.input(inplace=True):
if line == cxxguard:
guard = 1
continue
if guard:
if line == 'extern "C" {\n':
guard = 2
continue
if line == '}\n':
guard = 0
continue
if guard == 2:
assert(line == '#endif\n')
guard = 0
print cxxguard,
continue
print line,
|
2013-12-06 03:35:32 +00:00 |
|
Kp
|
69535df7fd
|
Compile out memory checker if not enabled
|
2013-07-28 23:20:33 +00:00 |
|
Kp
|
e961be1c14
|
u_mem: split memory debugging from NDEBUG
|
2013-07-28 23:18:44 +00:00 |
|
Kp
|
f7a030483f
|
Move common/2d/bitmap.c -> common/2d/bitmap.cpp
|
2013-07-27 22:30:53 +00:00 |
|
Kp
|
4577dd3977
|
Merge branch 'd2x-rebirth/master' into unification/master
|
2013-07-21 21:34:46 +00:00 |
|
Kp
|
a1ba420031
|
Mark various parameters and variables as const
|
2013-07-20 23:12:24 +00:00 |
|
Kp
|
a05d292255
|
Move */include/u_mem.h -> common/include/u_mem.h
The Descent I reference to virtual_memory_on is unused, so drop it.
|
2013-03-03 01:03:33 +00:00 |
|