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
|
8ed99faf5c
|
Make headers freestanding
|
2013-10-26 03:50:28 +00:00 |
|
Kp
|
4db024f953
|
Move similar/main/gamesave.c -> similar/main/gamesave.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
aa9127e3c1
|
Enable -Wwrite-strings
|
2013-09-15 21:34:03 +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
|
f39cd4dbf6
|
Centralize RDL/RL2 file extension text
|
2013-03-17 22:18:42 +00:00 |
|
Kp
|
7002c4be66
|
Move */main/gamesave.h -> common/main/gamesave.h
|
2013-03-03 01:03:33 +00:00 |
|