[go: up one dir, main page]

Menu

[897c37]: / runtime / apply.h  Maximize  Restore  History

Download this file

55 lines (42 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
** $Id: apply.h,v 1.3 2008/12/18 04:17:02 dredd Exp $
**
** $Source: /cvsroot/swlpc/swlpc/runtime/apply.h,v $
** $Revision: 1.3 $
** $Date: 2008/12/18 04:17:02 $
** $State: Exp $
**
** Author: Mike McGaughey & Geoff Wong, 1993-1999
** geoff.wong@gmail.com
** mmcgus@yahoo.com
**
** See the file "Copying" distributed with this file.
*/
#ifndef _APPLY_H
#define _APPLY_H
#include "proto.h"
#include "hash.h"
#include "stack.h"
void
apply_clean(Shared * fun, Obj * ob, Val * arg),
apply_list(Shared * fun, Obj * ob, Val ** args),
delayed_apply(Shared * fun, Obj * ob, Val * arg)
;
int
apply_one(Shared * fun, Obj * ob, Val * arg),
do_apply(Obj * ob, Shared * fun, Func * prog, int loc_num_made)
;
char
* find_percent(char *str)
;
Val
* apply_single(Shared * fun, Obj * ob, Val * arg),
* caught_clone_object(Shared *s),
** make_call_args(int have_args,...)
;
Func
* find_program(Shared *fun, Class *, Class *, Shared * inhname, int prev)
;
Exec_block locate_program(Obj * ob, Shared * fun);
/* External call handler */
#endif