common.h File Reference


Detailed Description

Mandatory first inclusion for any SimTK source or header file.

Every source and most header files using SimTK must include this header as its first inclusion. Declarations and definitions that must be available and compiler-and machine-specific issues are dealt with here.

This file must be includable from either C++ or ANSI C. It uses the ANSI-C++ macro "__cplusplus" for any code that will compile only under C++.

#include <stdio.h>

Go to the source code of this file.

Defines

#define SimTK_DEFAULT_PRECISION   2
#define SimTK_DEBUG(s)   printf("DBG: " s)
#define SimTK_DEBUG1(s, a1)   printf("DBG: " s,a1)
#define SimTK_DEBUG2(s, a1, a2)   printf("DBG: " s,a1,a2)
#define SimTK_DEBUG3(s, a1, a2, a3)   printf("DBG: " s,a1,a2,a3)
#define SimTK_DEBUG4(s, a1, a2, a3, a4)   printf("DBG: " s,a1,a2,a3,a4)
#define SimTK_SimTKCOMMON_EXPORT

Typedefs

typedef double SimTK_Real

Functions

void SimTK_version_SimTKcommon (int *major, int *minor, int *build)
void SimTK_about_SimTKcommon (const char *key, int maxlen, char *value)


Define Documentation

#define SimTK_DEBUG (  )     printf("DBG: " s)

#define SimTK_DEBUG1 ( s,
a1   )     printf("DBG: " s,a1)

#define SimTK_DEBUG2 ( s,
a1,
a2   )     printf("DBG: " s,a1,a2)

#define SimTK_DEBUG3 ( s,
a1,
a2,
a3   )     printf("DBG: " s,a1,a2,a3)

#define SimTK_DEBUG4 ( s,
a1,
a2,
a3,
a4   )     printf("DBG: " s,a1,a2,a3,a4)

#define SimTK_DEFAULT_PRECISION   2

#define SimTK_SimTKCOMMON_EXPORT


Typedef Documentation

typedef double SimTK_Real


Function Documentation

void SimTK_about_SimTKcommon ( const char *  key,
int  maxlen,
char *  value 
)

void SimTK_version_SimTKcommon ( int *  major,
int *  minor,
int *  build 
)


Generated on Thu Feb 28 01:34:34 2008 for SimTKcommon by  doxygen 1.4.7