diff --git a/cwPianoScore.cpp b/cwPianoScore.cpp index 9305f9e..09bc825 100644 --- a/cwPianoScore.cpp +++ b/cwPianoScore.cpp @@ -422,7 +422,7 @@ namespace cw errLabel: - if((rc = csv::destroy(csvH)) != kOkRC ) + if(csv::destroy(csvH) != kOkRC ) rc = cwLogError(rc,"CSV object destroy failed on '%s'.",cwStringNullGuard(fn)); return rc; @@ -631,6 +631,7 @@ cw::rc_t cw::perf_score::event_to_string( handle_t h, unsigned uid, char* buf, return rc; } + cw::rc_t cw::perf_score::test( const object_t* cfg ) { handle_t h; diff --git a/cwPianoScore.h b/cwPianoScore.h index 35bab4b..065401a 100644 --- a/cwPianoScore.h +++ b/cwPianoScore.h @@ -64,13 +64,15 @@ namespace cw bool has_loc_info_flag( 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* loc_to_event( handle_t h, unsigned loc ); // Format the event as a string for printing. rc_t event_to_string( handle_t h, unsigned uid, char* buf, unsigned buf_byte_cnt ); - + rc_t test( const object_t* cfg ); }