【发布时间】:2015-10-27 15:29:20
【问题描述】:
我之前在处理我的同步元组时有以下代码:
static void sync_tuple_changed_callback(const uint32_t key, const Tuple* new_tuple, const Tuple* old_tuple, void* context) {
persist_write_bool(key,new_tuple->value->bool);
}
但是,我只是尝试构建这个(在 Cloud Pebble 中),然后得到了错误:
../src/main.c: In function 'sync_tuple_changed_callback':
../src/main.c:25:44: error: expected identifier before '_Bool'
发生了什么事?
【问题讨论】: