27#include <Inventor/C/basic.h>
36enum CoinEndiannessValues {
37 COIN_HOST_IS_UNKNOWNENDIAN = -1,
38 COIN_HOST_IS_LITTLEENDIAN = 0,
39 COIN_HOST_IS_BIGENDIAN = 1
42COIN_DLL_API
int coin_host_get_endianness(
void);
44COIN_DLL_API
int coin_snprintf(
char * dst,
unsigned int n,
const char * fmtstr, ...);
45COIN_DLL_API
int coin_vsnprintf(
char * dst,
unsigned int n,
const char * fmtstr, va_list args);
47COIN_DLL_API
const char * coin_getenv(
const char * name);
48COIN_DLL_API SbBool coin_setenv(
const char * name,
const char * value,
int overwrite);
49COIN_DLL_API
void coin_unsetenv(
const char * name);
51COIN_DLL_API
int coin_strncasecmp(
const char * str1,
const char * str2,
int len);
53COIN_DLL_API uint16_t coin_hton_uint16(uint16_t value);
54COIN_DLL_API uint16_t coin_ntoh_uint16(uint16_t value);
55COIN_DLL_API uint32_t coin_hton_uint32(uint32_t value);
56COIN_DLL_API uint32_t coin_ntoh_uint32(uint32_t value);
57COIN_DLL_API uint64_t coin_hton_uint64(uint64_t value);
58COIN_DLL_API uint64_t coin_ntoh_uint64(uint64_t value);
60COIN_DLL_API
void coin_hton_float_bytes(
float value,
char * result);
61COIN_DLL_API
float coin_ntoh_float_bytes(
const char * value);
63COIN_DLL_API
void coin_hton_double_bytes(
double value,
char * result);
64COIN_DLL_API
double coin_ntoh_double_bytes(
const char * value);
66COIN_DLL_API SbBool coin_isascii(
const int c);
67COIN_DLL_API SbBool coin_isspace(
const char c);
69COIN_DLL_API SbBool coin_is_power_of_two(uint32_t x);
70COIN_DLL_API uint32_t coin_next_power_of_two(uint32_t x);
71COIN_DLL_API uint32_t coin_geq_power_of_two(uint32_t x);
73COIN_DLL_API
void coin_viewvolume_jitter(
int numpasses,
int curpass,
const int * vpsize,
float * jitter);
75typedef void coin_atexit_f(
void);
76COIN_DLL_API
void cc_coin_atexit(coin_atexit_f * fp);
79COIN_DLL_API
void cc_coin_atexit_static_internal(coin_atexit_f * fp);
84COIN_DLL_API
float coin_hton_float(
float value);
85COIN_DLL_API
float coin_ntoh_float(
float value);
87COIN_DLL_API
double coin_hton_double(
double value);
88COIN_DLL_API
double coin_ntoh_double(
double value);
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.