|
@@ -1871,6 +1871,24 @@ cmScRC_t cmScoreSeqNotify( cmScH_t h )
|
1871
|
1871
|
return rc;
|
1872
|
1872
|
}
|
1873
|
1873
|
|
|
1874
|
+cmScRC_t cmScoreSeqNotifyCb( cmScH_t h, cmScCb_t cbFunc, void* cbArg )
|
|
1875
|
+{
|
|
1876
|
+ cmSc_t* p = _cmScHandleToPtr(h);
|
|
1877
|
+ cmScRC_t rc = kOkScRC;
|
|
1878
|
+ cmScCb_t cbf = p->cbFunc;
|
|
1879
|
+ void* cba = p->cbArg;
|
|
1880
|
+
|
|
1881
|
+ p->cbFunc = cbFunc;
|
|
1882
|
+ p->cbArg = cbArg;
|
|
1883
|
+
|
|
1884
|
+ rc = cmScoreSeqNotify(h);
|
|
1885
|
+
|
|
1886
|
+ p->cbFunc = cbf;
|
|
1887
|
+ p->cbArg = cba;
|
|
1888
|
+
|
|
1889
|
+ return rc;
|
|
1890
|
+}
|
|
1891
|
+
|
1874
|
1892
|
void cmScoreClearPerfInfo( cmScH_t h )
|
1875
|
1893
|
{
|
1876
|
1894
|
cmSc_t* p = _cmScHandleToPtr(h);
|