在处理我的同步元组时,我以前有以下代码:
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'
这是怎么回事?