Update fstapi files to latest from GTKWave
This commit is contained in:
parent
99580cd051
commit
b0c57ab177
12
vpi/fstapi.c
12
vpi/fstapi.c
|
|
@ -2614,6 +2614,16 @@ if(xc)
|
|||
return(0);
|
||||
}
|
||||
|
||||
static int fstWriterGetFlushContextPendingInternal(struct fstWriterContext *xc)
|
||||
{
|
||||
return (xc->vchg_siz >= xc->fst_break_size) || (xc->flush_context_pending);
|
||||
}
|
||||
|
||||
int fstWriterGetFlushContextPending(void *ctx)
|
||||
{
|
||||
struct fstWriterContext *xc = (struct fstWriterContext *)ctx;
|
||||
return xc && !xc->is_initial_time && fstWriterGetFlushContextPendingInternal(xc);
|
||||
}
|
||||
|
||||
/*
|
||||
* writer attr/scope/var creation:
|
||||
|
|
@ -3243,7 +3253,7 @@ if(xc)
|
|||
}
|
||||
else
|
||||
{
|
||||
if((xc->vchg_siz >= xc->fst_break_size) || (xc->flush_context_pending))
|
||||
if(fstWriterGetFlushContextPendingInternal(xc))
|
||||
{
|
||||
xc->flush_context_pending = 0;
|
||||
fstWriterFlushContextPrivate(xc);
|
||||
|
|
|
|||
|
|
@ -374,6 +374,7 @@ void fstWriterEmitTimeChange(void *ctx, uint64_t tim);
|
|||
void fstWriterFlushContext(void *ctx);
|
||||
int fstWriterGetDumpSizeLimitReached(void *ctx);
|
||||
int fstWriterGetFseekFailed(void *ctx);
|
||||
int fstWriterGetFlushContextPending(void *ctx);
|
||||
void fstWriterSetAttrBegin(void *ctx, enum fstAttrType attrtype, int subtype,
|
||||
const char *attrname, uint64_t arg);
|
||||
void fstWriterSetAttrEnd(void *ctx);
|
||||
|
|
|
|||
Loading…
Reference in New Issue