small-c/obj.h

Use obj.h in C++

tn1997tn opened this issue · 1 comments

Is it possible @nomi-san? Or obj.h can only used on plain C?

Yes it's possible in a few C++ compilers.
Bcause some macros in obj.h are duplicated with C++ reserved keywords.

#define class(x) #x
auto some_var = class(hello); // "hello"

... and maybe cause conflicts, e.g this.