2000-03-20
2000-03-20 21:00:58 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
-
20f7a0c44102d6907eb132d93594622b8e051e81
(9 lines)
(+5/-4)
[
Show
| Annotate
]
Branch: 7.9
faster dmalloc
Rev: src/block_alloc.h:1.16
Rev: src/builtin_functions.c:1.245
Rev: src/dmalloc.h:1.20
Rev: src/dynamic_buffer.h:1.7
Rev: src/error.c:1.42
Rev: src/object.c:1.94
Rev: src/pike_memory.c:1.55
Rev: src/pike_types.h:1.38
Rev: src/stralloc.c:1.80
Rev: src/stralloc.h:1.41
Rev: src/svalue.c:1.63
Rev: src/svalue.h:1.48
5:
\*/
/**/
#include "global.h"
- RCSID("$Id: builtin_functions.c,v 1.244 2000/03/17 05:13:17 hubbe Exp $");
+ RCSID("$Id: builtin_functions.c,v 1.245 2000/03/20 21:00:03 hubbe Exp $");
#include "interpret.h"
#include "svalue.h"
#include "pike_macros.h"
4647: Inside #if defined(DEBUG_MALLOC)
{
char *s;
INT_TYPE i;
- extern int dynamic_location_number(const char *file, int line);
- extern int dmalloc_default_location;
+ extern char * dynamic_location(const char *file, int line);
+ extern char * dmalloc_default_location;
if(args)
{
get_all_args("_dmalloc_set_name", args, "%s%i", &s, &i);
- dmalloc_default_location = dynamic_location_number(s, i);
+ dmalloc_default_location = dynamic_location(s, i);
}else{
dmalloc_default_location=0;
}