diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/edje/src/bin/edje_cc_mem.c | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to '')
-rw-r--r-- | libraries/edje/src/bin/edje_cc_mem.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libraries/edje/src/bin/edje_cc_mem.c b/libraries/edje/src/bin/edje_cc_mem.c deleted file mode 100644 index d2d4ae0..0000000 --- a/libraries/edje/src/bin/edje_cc_mem.c +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | #ifdef HAVE_CONFIG_H | ||
2 | # include "config.h" | ||
3 | #endif | ||
4 | |||
5 | #include <string.h> | ||
6 | #include <errno.h> | ||
7 | |||
8 | #include "edje_cc.h" | ||
9 | |||
10 | void * | ||
11 | mem_alloc(size_t size) | ||
12 | { | ||
13 | void *mem; | ||
14 | |||
15 | mem = calloc(1, size); | ||
16 | if (mem) return mem; | ||
17 | ERR("%s: Error. %s:%i memory allocation of %zu bytes failed. %s", | ||
18 | progname, file_in, line, size, strerror(errno)); | ||
19 | exit(-1); | ||
20 | return NULL; | ||
21 | } | ||
22 | |||
23 | char * | ||
24 | mem_strdup(const char *s) | ||
25 | { | ||
26 | void *str; | ||
27 | |||
28 | str = strdup(s); | ||
29 | if (str) return str; | ||
30 | ERR("%s: Error. %s:%i memory allocation of %zu bytes failed. %s. string being duplicated: \"%s\"", | ||
31 | progname, file_in, line, strlen(s) + 1, strerror(errno), s); | ||
32 | exit(-1); | ||
33 | return NULL; | ||
34 | } | ||