13 #ifndef ML_UTILS_SYSTEM_C_H
14 #define ML_UTILS_SYSTEM_C_H
25 #include <ThirdPartyWarningsDisable.h>
33 #include <ThirdPartyWarningsRestore.h>
76 #define strcasecmp(a,b) _stricmp((a),(b))
79 #define strncasecmp(a,b,c) _strnicmp((a),(b),(c))
83 #define strtold(a,b) strtod((a),(b))
87 [[deprecated(
"Use standard snprintf instead")]]
89 [[deprecated(
"Use standard sscanf instead")]]
97 #if defined(__APPLE__)
98 [[deprecated(
"Use standard snprintf instead")]]
100 [[deprecated(
"Use standard sscanf instead")]]
105 [[deprecated(
"Use standard snprintf instead")]]
108 [[deprecated("Use standard sscanf instead")]]
115 #define MLsnprintf _MLsnprintf
116 #define MLsscanf _MLsscanf
UINT64 MLuint64
Introduce platform independent 64 bit unsigned integer type.
INT64 MLint64
Include 64 bit integer support for Windows or Unix.
#define ML_UTILS_EXPORT
Defines platform dependent DLL export macro for mlUtils.
ML_UTILS_EXPORT int MLAlwaysFalse
Variable which is always false (=0), but non constant to make it impossible for compilers to detect t...
ML_UTILS_EXPORT int _MLsscanf(const char *s, const char *format,...)
ML_UTILS_EXPORT int MLAlwaysTrue
Variable which is always true (=1), but non constant to make it impossible for compilers to detect th...
ML_UTILS_EXPORT MLuint64 MLuint64Scan(const char *source, char **endPtr)
Reads an MLuint64 from a character string source and returns scanned value as MLuint64.
ML_UTILS_EXPORT int MLAlwaysExecuted()
A do-nothing function call which cannot be optimized away to avoid that function bodies etc.
ML_UTILS_EXPORT int _MLsnprintf(char *s, size_t maxChars, const char *format,...)
Deprecated compatibility helpers to handle the missing support for standard format specifiers for lon...
ML_UTILS_EXPORT MLint64 MLint64Scan(const char *source, char **endPtr)
Reads an MLint64 from a character string source and returns scanned value as MLint64.
boost::graph_traits< ml_graph_ptr >::vertex_descriptor source(graph_traits< ml_graph_ptr >::edge_descriptor e, const ml_graph_ptr)
Returns the vertex descriptor for u of the edge (u,v) represented by e.