Files
Extern/C3d/Include/conv_binary_object.h
T
Dario Sassi e8f0fa2d27 Extern :
- C3d aggiornamento delle librerie.
2020-09-14 16:42:31 +00:00

24 lines
646 B
C

////////////////////////////////////////////////////////////////////////////////
//
////////////////////////////////////////////////////////////////////////////////
#ifndef __BINOBJ_H
#define __BINOBJ_H
//------------------------------------------------------------------------------
// бинарный объект
// ---
struct BinaryObj {
void * p;
void * pSort;
BinaryObj( void *otherId, void *otherP ) : p( otherId ), pSort( otherP ) {}
bool operator == ( const BinaryObj &o ) const { return pSort == o.pSort; }
bool operator < ( const BinaryObj &o ) const { return pSort < o.pSort; }
};
#endif