23 #if !defined (octave_byte_swap_h)
24 #define octave_byte_swap_h 1
29 char *t =
static_cast<char *
> (ptr);
40 for (
int i = 0; i < n/2; i++)
79 char *t =
static_cast<char *
> (ptr);
81 for (
int i = 0; i < len; i++)
static void swap_bytes(void *ptr, unsigned int i, unsigned int j)
void swap_bytes< 1 >(void *)
void swap_bytes< 8 >(void *ptr)
void swap_bytes< 2 >(void *ptr)
void swap_bytes< 4 >(void *ptr)