2001-02-20
2001-02-20 22:03:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
3699403ebcead6d5d930fab7d72fe850eecfc89a
(12 lines)
(+7/-5)
[
Show
| Annotate
]
Branch: 7.9
Now pike_type clean.
Rev: src/constants.c:1.26
Rev: src/encode.c:1.83
Rev: src/language.yacc:1.226
Rev: src/pike_types.h:1.50
16:
#include "pike_error.h"
#include "block_alloc.h"
- RCSID("$Id: constants.c,v 1.25 2001/02/19 23:49:59 grubba Exp $");
+ RCSID("$Id: constants.c,v 1.26 2001/02/20 22:03:47 grubba Exp $");
struct mapping *builtin_constants = 0;
74:
/* Eats one ref to 'type' and 'name' */
PMOD_EXPORT struct callable *low_make_callable(c_fun fun,
struct pike_string *name,
- struct pike_string *type,
+ struct pike_type *type,
INT16 flags,
optimize_fun optimize,
docode_fun docode)
89: Inside #if defined(PIKE_DEBUG)
f->optimize=optimize;
#ifdef PIKE_DEBUG
{
- struct pike_string *z=check_call(function_type_string,type,0);
+ struct pike_type *z = check_call(function_type_string, type, 0);
f->may_return_void= z == void_type_string;
if(!z) fatal("Gnapp!\n");
- free_string(z);
+ free_type(z);
}
#endif
return f;
142:
docode_fun docode)
{
struct svalue s;
- struct pike_string *n,*t;
+ struct pike_string *n;
+ struct pike_type *t;
struct callable *ret;
n=make_shared_binary_string(name,name_length);