Mercurial > projects > ddbg_continued
view udis86-1.4/libudis86/syn.h @ 1:4a9dcbd9e54f
-files of 0.13 beta
-fixes so that it now compiles with the current dmd version
author | marton@basel.hu |
---|---|
date | Tue, 05 Apr 2011 20:44:01 +0200 |
parents | |
children |
line wrap: on
line source
/* ----------------------------------------------------------------------------- * syn.h * * Copyright (c) 2006, Vivek Mohan <vivek@sig9.com> * All rights reserved. See LICENSE * ----------------------------------------------------------------------------- */ #ifndef UD_SYN_H #define UD_SYN_H #include <stdio.h> #include <stdarg.h> #include "types.h" extern const char* ud_reg_tab[]; static void mkasm(struct ud* u, const char* fmt, ...) { va_list ap; va_start(ap, fmt); u->insn_fill += vsprintf((char*) u->insn_buffer + u->insn_fill, fmt, ap); va_end(ap); } #endif