cmScore.h/c: Added cmScoreSetCount().

This commit is contained in:
kevin 2013-01-18 09:29:48 -08:00
parent dca4d28d1c
commit ec73cb280b
2 changed files with 15 additions and 6 deletions

View File

@ -1330,6 +1330,12 @@ void cmScorePrintLoc( cmScH_t h )
}
}
unsigned cmScoreSetCount( cmScH_t h )
{
cmSc_t* p = _cmScHandleToPtr(h);
return p->setCnt;
}
cmScRC_t cmScoreSeqNotify( cmScH_t h )
{
cmScRC_t rc = kOkScRC;

View File

@ -154,6 +154,9 @@ extern "C" {
cmScoreLoc_t* cmScoreLoc( cmScH_t h, unsigned idx );
void cmScorePrintLoc( cmScH_t h );
// Return the count of sets.
unsigned cmScoreSetCount( cmScH_t h );
// Make callbacks for all events in the score. The callbacks
// contain cmScMsg_t records serialized as a byte stream.
// Use cmScoreDecode() to convert the byte string to a