About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

print.c File Reference
#include <mruby.h>
#include <mruby/string.h>
#include <mruby/variable.h>
#include <mruby/error.h>
#include <mruby/presym.h>
Include dependency graph for print.c:

Go to the source code of this file.


static void printcstr (const char *str, size_t len, FILE *stream)
static void printstr (mrb_value obj, FILE *stream)
void mrb_core_init_printabort (void)
void mrb_p (mrb_state *mrb, mrb_value obj)
void mrb_print_error (mrb_state *mrb)
void mrb_show_version (mrb_state *mrb)
void mrb_show_copyright (mrb_state *mrb)

Function Documentation

◆ mrb_core_init_printabort()

void mrb_core_init_printabort ( void  )

Definition at line 37 of file print.c.

References printcstr(), fc-lang::stdout, str, and strlen().

Referenced by mrb_core_init_protect().

◆ mrb_p()

◆ mrb_print_error()

void mrb_print_error ( mrb_state mrb)

Definition at line 56 of file print.c.

References mrb_print_backtrace().

Referenced by main().

◆ mrb_show_copyright()

void mrb_show_copyright ( mrb_state mrb)

◆ mrb_show_version()

void mrb_show_version ( mrb_state mrb)

◆ printcstr()

static void printcstr ( const char *  str,
size_t  len,
FILE stream 

Definition at line 16 of file print.c.

References fwrite(), len, putc, and str.

Referenced by mrb_core_init_printabort(), mrb_p(), and printstr().

◆ printstr()

static void printstr ( mrb_value  obj,
FILE stream 

Definition at line 25 of file print.c.

References mrb_string_p, printcstr(), RSTRING_LEN, and RSTRING_PTR.

Referenced by mrb_p(), mrb_show_copyright(), and mrb_show_version().