add some MRB_API to function prototypes