Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Nov 18, 2019
1 parent 33f3be8 commit 98eeead
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -266,7 +266,7 @@ static PyObject * DataStoreValuesDict_repr(DataStoreValuesDictObject *pValuesDic
// Note: a DataStoreValuesDict is a dictionary sub-class for mapping between the
// values of a DataStoreValues list and Python...

PyTypeObject DataStorePythonWrapper::DataStoreValuesDict_Type = {
static PyTypeObject DataStoreValuesDict_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"OpenCOR.DataStoreValuesDict", // tp_name
sizeof(DataStoreValuesDictObject), // tp_basicsize
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/dataStore/DataStore/src/datastorepythonwrapper.h
Expand Up @@ -53,8 +53,6 @@ class DataStorePythonWrapper : public QObject
public:
explicit DataStorePythonWrapper(PyObject *pModule, QObject *pParent);

static PyTypeObject DataStoreValuesDict_Type;

static DATASTORE_EXPORT PyObject * dataStoreValuesDict(const DataStoreValues *pDataStoreValues,
SimulationSupport::SimulationDataUpdatedFunction *pSimulationDataUpdatedFunction);
static DATASTORE_EXPORT PyObject * dataStoreVariablesDict(const DataStoreVariables &pDataStoreVariables);
Expand Down

0 comments on commit 98eeead

Please sign in to comment.