summaryrefslogtreecommitdiff
path: root/src/include/gm/call.h
blob: 5c3849df396b210b77081b68bbc9beee37200298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef DEF_CALL_H
#define DEF_CALL_H

/*
 * This file and all files in include/call/ define prototypes to helper functions for calling methods on objects.
 */

#include <gc/obj.h>

#define _CHP Object o, int block
#define _CHC if (block) request(o, &sr); else send_msg(o, &sr);

int c_handleCheck(_CHP, int method);
int c_handleCheckA(_CHP, int* methods, int number);

int c_nothing(_CHP);

#endif