PIP_DEBUG, PIVector sort and doc
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "piplatform.h"
|
||||
#include "pip_export.h"
|
||||
#include "pip_defs.h"
|
||||
#include "string.h"
|
||||
#include <string.h>
|
||||
|
||||
//! \~english
|
||||
//! Meta-information section for any entity.
|
||||
@@ -246,11 +246,6 @@
|
||||
extern char ** environ;
|
||||
#endif
|
||||
|
||||
#ifdef NDEBUG
|
||||
# undef NDEBUG
|
||||
#else
|
||||
# define USE_DEBUG
|
||||
#endif
|
||||
#ifndef assert
|
||||
# define assert(x)
|
||||
# define assertm(exp, msg)
|
||||
|
||||
@@ -80,11 +80,6 @@ PIString PIPVersion() {
|
||||
}
|
||||
|
||||
|
||||
void piqsort(void * base, size_t num, size_t size, int (*compar)(const void *, const void *)) {
|
||||
qsort(base, num, size, compar);
|
||||
}
|
||||
|
||||
|
||||
void randomize() {
|
||||
srand(PISystemTime::current(true).nanoseconds);
|
||||
}
|
||||
|
||||
@@ -64,8 +64,6 @@ PIP_EXPORT PIString errorString();
|
||||
//! Сброс последней ошибки
|
||||
PIP_EXPORT void errorClear();
|
||||
|
||||
PIP_EXPORT void piqsort(void* base, size_t num, size_t size, int (*compar)(const void*,const void*));
|
||||
|
||||
PIP_EXPORT void randomize();
|
||||
PIP_EXPORT int randomi();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user