Update fstapi files to latest from GTKWave
This commit is contained in:
parent
008affe557
commit
ba31252226
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014 Tony Bybell.
|
* Copyright (c) 2009-2015 Tony Bybell.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
@ -2360,6 +2360,12 @@ fstWriterSetAttrGeneric(ctx, comm, FST_MT_COMMENT, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void fstWriterSetValueList(void *ctx, const char *vl)
|
||||||
|
{
|
||||||
|
fstWriterSetAttrGeneric(ctx, vl, FST_MT_VALUELIST, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void fstWriterSetEnvVar(void *ctx, const char *envvar)
|
void fstWriterSetEnvVar(void *ctx, const char *envvar)
|
||||||
{
|
{
|
||||||
fstWriterSetAttrGeneric(ctx, envvar, FST_MT_ENVVAR, 0);
|
fstWriterSetAttrGeneric(ctx, envvar, FST_MT_ENVVAR, 0);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2014 Tony Bybell.
|
* Copyright (c) 2009-2015 Tony Bybell.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
|
@ -191,9 +191,10 @@ enum fstMiscType {
|
||||||
FST_MT_PATHNAME = 3, /* reserved for fstWriterSetSourceStem() string -> number management */
|
FST_MT_PATHNAME = 3, /* reserved for fstWriterSetSourceStem() string -> number management */
|
||||||
FST_MT_SOURCESTEM = 4, /* use fstWriterSetSourceStem() to emit */
|
FST_MT_SOURCESTEM = 4, /* use fstWriterSetSourceStem() to emit */
|
||||||
FST_MT_SOURCEISTEM = 5, /* use fstWriterSetSourceInstantiationStem() to emit */
|
FST_MT_SOURCEISTEM = 5, /* use fstWriterSetSourceInstantiationStem() to emit */
|
||||||
FST_MT_UNKNOWN = 6,
|
FST_MT_VALUELIST = 6, /* use fstWriterSetValueList() to emit, followed by fstWriterCreateVar*() */
|
||||||
|
FST_MT_UNKNOWN = 7,
|
||||||
|
|
||||||
FST_MT_MAX = 6
|
FST_MT_MAX = 7
|
||||||
};
|
};
|
||||||
|
|
||||||
enum fstArrayType {
|
enum fstArrayType {
|
||||||
|
|
@ -358,6 +359,7 @@ void fstWriterSetTimescale(void *ctx, int ts);
|
||||||
void fstWriterSetTimescaleFromString(void *ctx, const char *s);
|
void fstWriterSetTimescaleFromString(void *ctx, const char *s);
|
||||||
void fstWriterSetTimezero(void *ctx, int64_t tim);
|
void fstWriterSetTimezero(void *ctx, int64_t tim);
|
||||||
void fstWriterSetUpscope(void *ctx);
|
void fstWriterSetUpscope(void *ctx);
|
||||||
|
void fstWriterSetValueList(void *ctx, const char *vl);
|
||||||
void fstWriterSetVersion(void *ctx, const char *vers);
|
void fstWriterSetVersion(void *ctx, const char *vers);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue