NCEPLIBS-bacio  2.5.0
fast-byteswap.h
Go to the documentation of this file.
1 
5 #ifndef __FAST_BYTESWAP_H__
6 #define __FAST_BYTESWAP_H__
7 
8 #include <stdlib.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14  void fast_byteswap_errors(int flag);
15  int fast_byteswap(void *data,int bytes,size_t count);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif /* ifndef __FAST_BYTESWAP_H__ */
void fast_byteswap_errors(int flag)
Set a flag to turn warnings off for non-aligned pointers.
Definition: byteswap.c:39
int fast_byteswap(void *data, int bytes, size_t count)
Fast byteswap.
Definition: byteswap.c:136