Wrapping cpp code

2021-08-17 Thread Cnerd
Thanks

Wrapping cpp code

2021-08-17 Thread Stefan_Salewski
I think it is not that hard to guess what the macro does. First line checks if NDILIB_CPP_DEFAULT_VALUE is not defined. When you convert to Nim code this is generally true (undefined.) Next line checks if we compile in cpp mode. If that is the case (I would guess yes) then the macro call NDILIB_

Wrapping cpp code

2021-08-17 Thread Cnerd
Hello i was using c2nim to try to convert a group of header files to nim but some code where omitted. Now this is not to much of a problem because i was able to fix most of them on my own. But i am no expert in c or cpp so there are some lines of code i could not convert because i do not underst