Mike Frysinger
df8f989825
use malloc compiler attribute if available
...
This informs the compiler that these functions return allocated
memory. That allows it to make some optimization decisions which
can produce better code.
2021-05-28 15:47:37 -04:00
Mike Frysinger
968ba1132d
gd_strtok: constify delimiter
2021-05-28 15:45:06 -04:00
Mike Frysinger
4fc6d8a0d6
rework ifdef header protection #456
...
Move all content inside of the header ifdef checks. There's
no need to have the C++ checks and includes outside of them.
2018-08-31 01:21:34 -04:00
Nathanael Jones
f085a2e59d
When both CPP_SHARP and _WIN32 are defined, do not enable thread safety.
2015-01-07 01:39:10 -05:00
Pierre Joye
84d2371b78
fix #70
2013-06-10 14:53:45 +02:00
Pierre Joye
e8bbc9274a
fix build, const is just as good here too
2013-06-10 08:38:01 +02:00
Ondřej Surý
f0ddf2eccd
Introduce gdReallocEx which will free the original memory when realloc
...
fails to circumvent lost memory when doing:
a = gdRealloc(a, s);
if (!a)
return;
Thanks to Niels Thykier for catching that.
2013-05-20 21:10:28 +02:00
Ondřej Surý
c60d9fe577
Unify the Win32 check to _WIN32 check which is defined by both VC and MinGW
2013-04-23 06:03:59 +02:00
pierrejoye
e20413bf6b
- apply same CS everywhere
2013-04-03 14:23:11 +02:00
tabe
f40454c1b3
ref FS#176: added support of variable resolution by Alan Boudreault.
2009-03-08 09:16:04 +00:00
mloskot
6ec9740909
#59 Import Windows CE port.
2007-04-30 03:55:11 +00:00
pierre
46da6312f6
- sync to 2.0.29
2006-04-05 15:54:20 +00:00
pierre
1b2f5c4894
- sync to 2.0.24
2006-04-05 15:52:22 +00:00
pierre
e9f70fd6d4
- sync to 2.0.18
2006-04-05 15:50:00 +00:00
pierre
b14040d671
- sync to 2.0.17
2006-04-05 15:49:38 +00:00
pierre
2399023b6c
- sync to 2.0.9
2006-04-05 15:46:42 +00:00
pierre
b623f93e30
- sync to 2.0.4
2006-04-05 15:44:17 +00:00
pierre
22d55c5aa4
- sync to 1.8.4
2006-04-05 15:41:55 +00:00