Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (32 sloc) 0.615 kB
/* Inline helpers
inline can(var obj, string method) return int
int can_do;
${ can can_do, obj, method };
return can_do;
inline isa(var obj, var class_obj) return int
int isa_class;
${ isa isa_class, obj, class_obj };
return isa_class;
inline get_class(var class_obj) return var
var type;
${ get_class class_obj, type };
return type;
inline does(var obj, string role) return int
int does_role;
${ does does_role, obj, role };
return does_role;
inline new(var class_obj) return var
var obj;
${ new obj, class_obj };
return obj;
Jump to Line
Something went wrong with that request. Please try again.