cmDspClass.h/c: Added cmSampleDsvFl and cmRealDsvFl to cmDspValueSet().

This commit is contained in:
kevin 2013-03-01 17:25:15 -08:00
parent 66cf71e419
commit 070962c721
2 changed files with 11 additions and 1 deletions

View File

@ -898,6 +898,14 @@ cmDspRC_t cmDspValueSet( cmDspCtx_t* ctx, cmDspInst_t* inst, unsigned varId, c
cmDsvSetDouble(dvp, cmDsvGetDouble(svp));
break;
case kSampleDsvFl:
cmDsvSetSample(dvp, cmDsvGetSample(svp));
break;
case kRealDsvFl:
cmDsvSetReal(dvp, cmDsvGetReal(svp));
break;
case kSymDsvFl:
cmDsvSetSymbol(dvp, cmDsvGetSymbol(svp));
break;

View File

@ -18,6 +18,7 @@ extern "C" {
kThreadFailDspRC, // 6
kNetFailDspRC, // 7
kCsvFailDspRC, // 8
kDspStoreFailDspRC,
kProcFailDspRC,
@ -150,6 +151,7 @@ extern "C" {
const cmChar_t* doc; // document string
} cmDspVar_t;
typedef struct
{
const char* label;