Closed Khhs167 closed 1 year ago
one question, why is it 1==1
instead of just 1
?
I don't know, I didn't implement it, so you'll have to ask hrszpuk 'bout that.
he blocked me on discord lol
@hrszpuk, sorry for the ping. Could you come over here and answer the question about (1 == 1)
being the value of the TRUE macro?
Code for the TRUE/FALSE macros were taken from your issue https://github.com/Khhs167/memstack/issues/7. It is a bit strange but I believe that’s what you wanted for the PR to pass.
I must've read it somewhere then, don't really know.
Anyhow, if discussion wants to continue, we'll have to do that somewhere else.
This issue is resolved in #14, so I'll be closing it now!
As mentioned in #6, the boolean macros might interfere with user-defined macros, and thus I believe they should be renamed.
My solution would be to rename them to
MSTRUE
andMSFALSE
, and I'll be opening a PR shortly implementing that.