Hi, Sergei! On Wed, Jan 30, 2019 at 7:33 AM Sergei Golubchik <[email protected]> wrote:
> Hi, Nikita! > > On Jan 30, Nikita Malyavin wrote: > > > > > > In a similar case I used something like > > > > > > #define SIZE 2 > > > #define uintSIZEkorr(X) uint2korr(X) > > > > > > This way there are no magically-looking numbers. You can even > > > write `uint ## SIZE ## korr`, if you're feeling adventurous. > > > > > Thanks for advice! Looks suitable enough > > I will just make #define korr2size 2. But it should be shared between > > table.cc and unireg.cc. > > Can You suggest me where to put it? > > As you like. table.h, perhaps? > > Sounds good ✅ Thanks for the review! -- Yours truly, Nikita Malyavin
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp

