This renames c_emit_char, removing a layer of indirection.
for printing characters and strings is language specific. */
void
-c_emit_char (int c, struct type *type,
- struct ui_file *stream, int quoter)
+language_defn::emitchar (int c, struct type *type,
+ struct ui_file *stream, int quoter) const
{
const char *encoding;
extern void c_language_arch_info (struct gdbarch *gdbarch,
struct language_arch_info *lai);
-extern void c_emit_char (int c, struct type *type,
- struct ui_file *stream, int quoter);
-
/* These are in c-typeprint.c: */
extern void c_type_print_base (struct type *, struct ui_file *,
/* See language.h. */
-void
-language_defn::emitchar (int ch, struct type *chtype,
- struct ui_file * stream, int quoter) const
-{
- c_emit_char (ch, chtype, stream, quoter);
-}
-
-/* See language.h. */
-
void
language_defn::printstr (struct ui_file *stream, struct type *elttype,
const gdb_byte *string, unsigned int length,