cwPianoScore.h/cpp : Fix but where score load errors were no passed on.

This commit is contained in:
kevin 2024-11-18 11:49:45 -05:00
parent e4f58311f4
commit a9aabb76a8
2 changed files with 5 additions and 2 deletions

View File

@ -422,7 +422,7 @@ namespace cw
errLabel: errLabel:
if((rc = csv::destroy(csvH)) != kOkRC ) if(csv::destroy(csvH) != kOkRC )
rc = cwLogError(rc,"CSV object destroy failed on '%s'.",cwStringNullGuard(fn)); rc = cwLogError(rc,"CSV object destroy failed on '%s'.",cwStringNullGuard(fn));
return rc; return rc;
@ -631,6 +631,7 @@ cw::rc_t cw::perf_score::event_to_string( handle_t h, unsigned uid, char* buf,
return rc; return rc;
} }
cw::rc_t cw::perf_score::test( const object_t* cfg ) cw::rc_t cw::perf_score::test( const object_t* cfg )
{ {
handle_t h; handle_t h;

View File

@ -64,6 +64,8 @@ namespace cw
bool has_loc_info_flag( handle_t h ); bool has_loc_info_flag( handle_t h );
unsigned event_count( handle_t h ); unsigned event_count( handle_t h );
// Get first event in linked list.
const event_t* base_event( handle_t h ); const event_t* base_event( handle_t h );
const event_t* loc_to_event( handle_t h, unsigned loc ); const event_t* loc_to_event( handle_t h, unsigned loc );