|
Revision 406, 393 bytes
(checked in by astrange, 2 years ago)
|
Use the (LGPL) Mozilla automatic charset detection library for external subtitles.
Unfortunately, it's quite large...
References #87
|
| Line | |
|---|
| 1 |
#include "prmem.h" // nose core nose core nose core nose core |
|---|
| 2 |
|
|---|
| 3 |
PR_IMPLEMENT(void *) PR_Malloc(PRUint32 size) |
|---|
| 4 |
{ |
|---|
| 5 |
return malloc(size); |
|---|
| 6 |
} |
|---|
| 7 |
|
|---|
| 8 |
PR_IMPLEMENT(void *) PR_Calloc(PRUint32 nelem, PRUint32 elsize) |
|---|
| 9 |
{ |
|---|
| 10 |
return calloc(nelem, elsize); |
|---|
| 11 |
} |
|---|
| 12 |
|
|---|
| 13 |
PR_IMPLEMENT(void *) PR_Realloc(void *ptr, PRUint32 size) |
|---|
| 14 |
{ |
|---|
| 15 |
return realloc(ptr, size); |
|---|
| 16 |
} |
|---|
| 17 |
|
|---|
| 18 |
PR_IMPLEMENT(void) PR_Free(void *ptr) |
|---|
| 19 |
{ |
|---|
| 20 |
free(ptr); |
|---|
| 21 |
} |
|---|