@@ -541,15 +541,15 @@ compCreateStatistic(PyObject* self, PyObject* args)
541541}
542542
543543static PyObject*
544- compAddGlobalParamSet (PyObject* self, PyObject* arg)
544+ compAddSharedParamSet (PyObject* self, PyObject* arg)
545545{
546546 const char * set = nullptr ;
547547 PyErr_Clear ();
548548 set = SST_ConvertToCppString (arg);
549549
550550 ConfigComponent* c = getComp (self);
551551
552- if ( set != nullptr ) { c->addGlobalParamSet (set); }
552+ if ( set != nullptr ) { c->addSharedParamSet (set); }
553553 else {
554554 return nullptr ;
555555 }
@@ -579,7 +579,8 @@ static PyMethodDef componentMethods[] = {
579579 { " setSubComponent" , compSetSubComponent, METH_VARARGS, " Bind a subcomponent to slot <name>, with type <type>" },
580580 { " setCoordinates" , compSetCoords, METH_VARARGS,
581581 " Set (X,Y,Z) coordinates of this component, for use with visualization" },
582- { " addGlobalParamSet" , compAddGlobalParamSet, METH_O, " Add global parameter set to the component" },
582+ { " addSharedParamSet" , compAddSharedParamSet, METH_O, " Add shared parameter set to the component" },
583+ { " addGlobalParamSet" , compAddSharedParamSet, METH_O, " Add shared parameter set to the component" },
583584 { nullptr , nullptr , 0 , nullptr }
584585};
585586
@@ -689,7 +690,8 @@ static PyMethodDef subComponentMethods[] = {
689690 " Enable a statistic with a name and return a handle to it" },
690691 { " setStatistic" , compSetStatistic, METH_VARARGS, " Reuse a statistic for the binding" },
691692 { " setSubComponent" , compSetSubComponent, METH_VARARGS, " Bind a subcomponent to slot <name>, with type <type>" },
692- { " addGlobalParamSet" , compAddGlobalParamSet, METH_O, " Add global parameter set to the component" },
693+ { " addSharedParamSet" , compAddSharedParamSet, METH_O, " Add shared parameter set to the component" },
694+ { " addGlobalParamSet" , compAddSharedParamSet, METH_O, " Add shared parameter set to the component" },
693695 { " setCoordinates" , compSetCoords, METH_VARARGS,
694696 " Set (X,Y,Z) coordinates of this component, for use with visualization" },
695697 { nullptr , nullptr , 0 , nullptr }
0 commit comments