示例#1
0
文件: mocks.c 项目: jianglu/cgreen
void will_return_(const char *function, intptr_t result) {
    RecordedResult *record = create_recorded_result(function, result);
    record->should_keep = 0;
}
示例#2
0
void _always_return(const char *function, intptr_t result) {
    RecordedResult *record = create_recorded_result(function, result);
    record->should_keep = 1;
}