Results 17 comments of Nicolas

I encountered and fixed this issue with commit: https://github.com/uucidl/bitwise/commit/688200250cfa5f7fd47cf24c187e52f86fd58a35 on my own repository.

@pervognsen this PR is more of an example of how this could be done for followers of this repository. I'm also curious how you would export this information compared to...

My alternative fix was to let `type_to_cdecl` not emit the redundant const: ```C diff --git a/deps/bitwise/ion/gen.c b/deps/bitwise/ion/gen.c index 16c18fe..c729b05 100644 --- a/deps/bitwise/ion/gen.c +++ b/deps/bitwise/ion/gen.c @@ -216,6 +216,9 @@ char *type_to_cdecl(Type...

Not reproduced on Windows, where it seems we have: ```C typedef unsigned long long uint64_t; typedef unsigned __int64 size_t; ``` Ah well. I think that `usize = uint64` is kind...

I tested the idea of having a `c_size`, it creates some friction, as now `size_t` and the return value of `sizeof` are not anymore synonymous.

The same appears to be true for ExternalLibrary, which do not let their own dependencies propagate up towards the unit that depends on them. Contrieved example: ``` ExternalLibrary { Name...

While it's in the README, people mostly skip that, so maybe a little redundant doc in the header is in order.

I can also reorder tid and pid to save on space lost due to padding

The reason I reported it as a documentation bug was that if you rely on shell expansion, you can only run the `u-root` at the top of the `u-root` tree....

Sorry I don't know enough the go standard library. I did search for it back then when filing the issue, and did not find a ready-made function to expand the...