void err_callback(void *obj, Sint32 errcode) { /* 処理 */ } gdFsEntryErrFunc(gf, err_callback, (void *) 0x1234);