Files
Extern/C3d/Include/conv_binary_object.h
Dario Sassi 45803fb2d7 Extern :
- C3d aggiornamento delle librerie.
2020-12-24 11:59:30 +00:00

24 lines
623 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