KAYLukas / FoxyC

Adds class-oriented syntaxis to C, by using macro's only.
0 stars 0 forks source link

Implement static class calls #1

Open KAYLukas opened 10 years ago

KAYLukas commented 10 years ago

This should be a simple addon, once the implementation macro is in place. The static class call should be transformed as follows:

Tree* t = ...
Node* n = foxy(Tree $$ getRoot(t));

To

Tree* t = ...
Node* n = Tree_getRoot(t)