libexplain  1.4.D001
Functions
libexplain/buffer/short.h File Reference
#include <libexplain/ac/stddef.h>
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_short (explain_string_buffer_t *sb, short value)
void explain_buffer_ushort (explain_string_buffer_t *sb, unsigned short value)
void explain_buffer_short_star (explain_string_buffer_t *sb, const short *data, size_t data_size)
void explain_buffer_ushort_star (explain_string_buffer_t *sb, const unsigned short *data, size_t data_size)

Function Documentation

void explain_buffer_short ( explain_string_buffer_t sb,
short  value 
)

The explain_buffer_short function may be used to print a representation of a short integer value.

Parameters:
sbThe string buffer to print into.
valueThe short value to be printed.

Definition at line 25 of file short.c.

void explain_buffer_short_star ( explain_string_buffer_t sb,
const short *  data,
size_t  data_size 
)

The explain_buffer_short function may be used to print a representation of a pointer to a short integer value.

Parameters:
sbThe string buffer to print into.
dataThe short value to be printed.
data_sizeThe length of the array.

Definition at line 35 of file short.c.

void explain_buffer_ushort ( explain_string_buffer_t sb,
unsigned short  value 
)

The explain_buffer_short function may be used to print a representation of an unsigned short integer value.

Parameters:
sbThe string buffer to print into.
valueThe short value to be printed.

Definition at line 63 of file short.c.

void explain_buffer_ushort_star ( explain_string_buffer_t sb,
const unsigned short *  data,
size_t  data_size 
)

The explain_buffer_short function may be used to print a representation of a pointer to anunsigned short integer value.

Parameters:
sbThe string buffer to print into.
dataThe short value to be printed.
data_sizeThe length of the array.

Definition at line 70 of file short.c.