Mercurial > minori
view include/core/array.h @ 65:26721c28bf22
*: avoid usage of (to|from)StdString
in Qt5 (and probably Qt6 as well) these functions are only
available (or even usable) if Qt and Minori were built with the
*same standard headers*, which may not be the case in some
circumstances. hence, we'll use our own conversion functions,
which we probably should use anyway.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 23:26:35 -0400 |
parents | 2743011a6042 |
children |
line wrap: on
line source
#ifndef __core__array_h #define __core__array_h #ifndef ARRAYSIZE # define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) #endif #endif // __core__array_h