Panda3D
Macros | Functions
nativeNumericData.I File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

Go to the source code of this file.

Macros

#define TS_GetDirect(TT, SS)   *((TT *)(SS))
 
#define TS_GetDirectIncPtr(TT, SS)   { _ptr += sizeof(TT); return *((TT *)(SS -sizeof(TT))); }
 

Functions

template<class type >
void TS_AddInteger (type val, char *_dst)
 
template<class type >
void TS_AddIntegerIncPtr (type val, char *&_dst)
 
template<class type >
type TS_GetInteger (type &val, const char *_src)
 
template<class type >
type TS_GetIntegerIncPtr (type &val, char *&_src)
 
void TS_SetVal1 (const int8_t *src, int8_t *dst)
 
void TS_SetVal2 (const char *src, char *dst)
 
void TS_SetVal4 (const char *src, char *dst)
 
void TS_SetVal8 (const char *src, char *dst)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2001-05-09

Definition in file nativeNumericData.I.