Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (20 sloc) 558 Bytes
#ifndef __MOP_METHOD_H__
#define __MOP_METHOD_H__
struct _mop_method {
mop_state *state;
char *name;
char *package_name;
mop_class *associated_metaclass;
SV *body;
};
mop_method *
mop_method_create(char *name, char *package_name, mop_class *associated_metaclass, SV *body);
void
mop_method_destroy(mop_method *method);
void
mop_method_dump(mop_method *method);
void
mop_method_attach_to_class(mop_method *method, mop_class *c);
void
mop_method_detach_from_class(mop_method *method);
#endif /* __MOP_METHOD_H__ */