mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-12 02:20:58 +00:00
fix build on 64bit architectures
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@733 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
6d40be35e2
commit
f92c2ca4c2
3 changed files with 6 additions and 4 deletions
|
|
@ -20,6 +20,8 @@
|
|||
Changed files: linkchecker
|
||||
* added AnsiColors.py and debug.py to split out some functions
|
||||
Changed files: a lot .py files using these things
|
||||
* use yy_size_t for parser alloc definitions, fixes build errors on 64bit
|
||||
architectures
|
||||
|
||||
1.8.2
|
||||
* - ignore invalid html attribute characters
|
||||
|
|
|
|||
|
|
@ -6677,10 +6677,10 @@ char *yytext;
|
|||
#define SET_ERROR(s)
|
||||
|
||||
/* use Pythons memory management */
|
||||
void* yyalloc (size_t bytes, void* yyscanner) {
|
||||
void* yyalloc (yy_size_t bytes, void* yyscanner) {
|
||||
return PyMem_Malloc(bytes);
|
||||
}
|
||||
void* yyrealloc (void* ptr, size_t bytes, void* yyscanner) {
|
||||
void* yyrealloc (void* ptr, yy_size_t bytes, void* yyscanner) {
|
||||
return PyMem_Realloc(ptr, bytes);
|
||||
}
|
||||
void yyfree (void* ptr, void* yyscanner) {
|
||||
|
|
|
|||
|
|
@ -100,10 +100,10 @@
|
|||
#define SET_ERROR(s)
|
||||
|
||||
/* use Pythons memory management */
|
||||
void* yyalloc (size_t bytes, void* yyscanner) {
|
||||
void* yyalloc (yy_size_t bytes, void* yyscanner) {
|
||||
return PyMem_Malloc(bytes);
|
||||
}
|
||||
void* yyrealloc (void* ptr, size_t bytes, void* yyscanner) {
|
||||
void* yyrealloc (void* ptr, yy_size_t bytes, void* yyscanner) {
|
||||
return PyMem_Realloc(ptr, bytes);
|
||||
}
|
||||
void yyfree (void* ptr, void* yyscanner) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue