Denys Smirnov

Results 360 comments of Denys Smirnov

Thank you for reporting it! I updated a few headers and you should now have an initial transpilation of that repo using [this config](https://gist.github.com/dennwc/61470952a452174e21940445f3f36ded) and cxgo [v0.3.5](https://github.com/gotranspile/cxgo/releases/tag/v0.3.5). As a rule...

I think you could workaround it temporarily by using `define` section in cxgo config, see [example](https://github.com/gotranspile/cxgo/blob/main/examples/potrace/cxgo.yml#L10).

Shortest reproducer: ```c int a = sizeof(int); ``` And the error: ``` sizeof_only.c:2:9: front-end: undefined: size_t ``` Which definitely comes from cc, so I opened an [issue](https://gitlab.com/cznic/cc/-/issues/126). For now the...

Additional `#define` is required to make Nuklear compile at least partially: ``` #define NK_INCLUDE_STANDARD_BOOL ``` Another failure on `NK_ALIGNOF` is related to #31, but can be worked around by defining...

From the chat with `cznic`: `cc/v3` can capture all semantic white space, which includes comments. Set `PreserveWhiteSpace` to `true` in https://godoc.org/modernc.org/cc/v3#Config3.

Indeed, that could be a way, but closures proved to be problematic, since the expression might appear either as lhs or rhs, so you will need to return pointer there....

You are totally right, use cases should be in the projects goals section. But having said that, my main use case for writing this tool was to actually convert one...

Definitely! I currently list as "keep output human-readable", but that might be ambiguous indeed. Will change that.

Sorry, missed the notification somehow. Yes, that's a good option. The only downside is that it breaks Go pointers, so GC can miss them. Because of this we might want...

> what to do about glfwSetErrorCallback. There is no equivalent in the go-gl/glfw library. Should I just make a function that does nothing in the adapter library? Yes, looking at...