Support variable array size

Added LEN field and get_array_info() routine.
Removed len arg from device support write_string() routine.
Modified device support to match.
This commit is contained in:
Andrew Johnson
2012-11-12 13:45:23 -06:00
parent e94ffd48fa
commit e3f59fd5c2
5 changed files with 24 additions and 10 deletions
+2 -1
View File
@@ -16,10 +16,11 @@
#include "printfRecord.h"
#include "epicsExport.h"
static long write_string(printfRecord *prec, size_t len)
static long write_string(printfRecord *prec)
{
struct link *plink = &prec->out;
int dtyp = dbGetLinkDBFtype(plink);
long len = prec->len;
long status;
if (prec->pact || dtyp < 0)