__PIP_TYPENAME_DECLARE
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
//! \~russian Класс прямоугольника для 2D геометрии
|
||||
/*
|
||||
PIP - Platform Independent Primitives
|
||||
Rect class for 2D geometry
|
||||
Rect class for 2D geometry
|
||||
Ivan Pelipenko peri4ko@yandex.ru, Andrey Bychkov work.a.b@yandex.ru
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
@@ -444,4 +444,12 @@ typedef PIRect<float> PIRectf;
|
||||
//! \~russian Псевдоним прямоугольника с координатами типа `double`.
|
||||
typedef PIRect<double> PIRectd;
|
||||
|
||||
|
||||
#if !PIP_HAS_RTTI
|
||||
__PIP_TYPENAME_DECLARE(PIRectd, "PIRectd")
|
||||
__PIP_TYPENAME_DECLARE(PIRecti, "PIRecti")
|
||||
__PIP_TYPENAME_DECLARE(PIRectf, "PIRectf")
|
||||
__PIP_TYPENAME_DECLARE(PIRectu, "PIRectu")
|
||||
#endif
|
||||
|
||||
#endif // PIRECT_H
|
||||
|
||||
Reference in New Issue
Block a user