00001 // This is core/vil1/vil1_byte_swap.h 00002 #ifndef vil1_byte_swap_h_ 00003 #define vil1_byte_swap_h_ 00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00005 #pragma interface 00006 #endif 00007 //: 00008 // \file 00009 // \author fsm 00010 00011 void vil1_byte_swap(void *, void *); 00012 00013 template <class T> 00014 inline void vil1_byte_swap(T &x) { vil1_byte_swap(&x, &x + 1); } 00015 00016 #endif // vil1_byte_swap_h_
1.5.1