diff lwasm/insn_gen.c @ 281:cb24ffb23f7c

Make DTS not have problems if used multiple times. Storing a pointer to a static return value for future use is dangerous since the value might be overwritten by a subsequent call. Make DTS duplicate the string it creates instead of relying on the static return value staying valid.
author William Astle <lost@l-w.ca>
date Tue, 16 Jul 2013 21:48:49 -0600
parents 67acad9db5b3
children 210d261a614d
line wrap: on
line diff