misc
This commit is contained in:
1 parent
f1cd3e4d2d
commit
04510671ad
3 files changed
+4
-2
No files matched your search
@@ -34,7 +34,6 @@ static PyObject* pyRecord_new(PyTypeObject *type, PyObject *args, PyObject *kws)
|
||||
self = (pyRecord*)type->tp_alloc(type, 0);
|
||||
if(self) {
|
||||
dbInitEntry(pdbbase, &self->entry);
|
||||
self->ispyrec = isPyRecord(self->entry.precnode->precord);
|
||||
}
|
||||
return (PyObject*)self;
|
||||
}
|
||||
@@ -49,6 +48,7 @@ static int pyRecord_Init(pyRecord *self, PyObject *args, PyObject *kws)
|
||||
PyErr_SetString(PyExc_ValueError, "No record by this name");
|
||||
return -1;
|
||||
}
|
||||
self->ispyrec = isPyRecord(self->entry.precnode->precord);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,3 +9,4 @@ device(ao, INST_IO, pydevsupCom, "Python Device")
|
||||
device(ai, INST_IO, pydevsupCom2, "Raw Python Device")
|
||||
device(ao, INST_IO, pydevsupCom2, "Raw Python Device")
|
||||
|
||||
device(waveform, INST_IO, pydevsupCom, "Python Device")
|
||||
Reference in new issue
Block a user