diff options
author | gingold | 2005-12-10 17:10:16 +0000 |
---|---|---|
committer | gingold | 2005-12-10 17:10:16 +0000 |
commit | b6411279b6ac6dcde21ed5f0edf28443e1c41fe1 (patch) | |
tree | 30a464152dba82412434f65647103cdb58886ce7 /translate/grt/grt-cbinding.c | |
parent | 0f9939eac0c16b59814e92dd108a555041a49837 (diff) | |
download | ghdl-b6411279b6ac6dcde21ed5f0edf28443e1c41fe1.tar.gz ghdl-b6411279b6ac6dcde21ed5f0edf28443e1c41fe1.tar.bz2 ghdl-b6411279b6ac6dcde21ed5f0edf28443e1c41fe1.zip |
updated
Diffstat (limited to 'translate/grt/grt-cbinding.c')
-rw-r--r-- | translate/grt/grt-cbinding.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/translate/grt/grt-cbinding.c b/translate/grt/grt-cbinding.c index bb0bd17..61e474d 100644 --- a/translate/grt/grt-cbinding.c +++ b/translate/grt/grt-cbinding.c @@ -38,6 +38,12 @@ __ghdl_get_stderr (void) return stderr; } +void +__ghdl_snprintf_g (char *buf, int len, double val) +{ + snprintf (buf, len, "%g", val); +} + static int run_env_en; static jmp_buf run_env; |