#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "logic.h"
#include "const.h"
#include "gvplugin_device.h"
#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
Include dependency graph for gvdevice.c:
Go to the source code of this file.
Defines | |
#define | DECPLACES 2 |
#define | DECPLACES_SCALE 100 |
#define | val_str(n, x) static double n = x; static unsigned char n##str[] = #x; |
Functions | |
size_t | gvdevice_write (GVJ_t *job, const unsigned char *s, unsigned int len) |
void | gvdevice_fputs (GVJ_t *job, char *s) |
void | gvdevice_printf (GVJ_t *job, const char *format,...) |
val_str (maxnegnum,-999999999999999.99) static unsigned char *gvprintnum(int *len |
#define DECPLACES 2 |
Definition at line 115 of file gvdevice.c.
#define DECPLACES_SCALE 100 |
Definition at line 116 of file gvdevice.c.
#define val_str | ( | n, | |||
x | ) | static double n = x; static unsigned char n##str[] = #x; |
Definition at line 119 of file gvdevice.c.
void gvdevice_fputs | ( | GVJ_t * | job, | |
char * | s | |||
) |
void gvdevice_printf | ( | GVJ_t * | job, | |
const char * | format, | |||
... | ||||
) |
size_t gvdevice_write | ( | GVJ_t * | job, | |
const unsigned char * | s, | |||
unsigned int | len | |||
) |
Definition at line 54 of file gvdevice.c.
References GVJ_s::flags, GVJ_s::gvc, GVDEVICE_COMPRESSED_FORMAT, GVJ_s::output_data, GVJ_s::output_data_allocated, GVJ_s::output_data_position, GVJ_s::output_file, realloc(), and GVC_s::write_fn.
Referenced by gvdevice_fputs(), and gvdevice_printf().
val_str | ( | maxnegnum | , | |
-999999999999999. | 99 | |||
) |