Sutou Kouhei

Results 417 comments of Sutou Kouhei

@larskanis @hsbt Thanks for the information. I'll consider libffi bundling again in this month.

Let's remove bundled libffi in ruby/fiddle too.

+1 What should we do for it as the next step?

> I wanted to parse_signature recursively when the argument was a function (i.e. a function pointer). Could you show a signature you want to parse?

An example: `void uiSpinboxOnChanged(uiSpinbox *s, void (*f)(uiSpinbox *s, void *data), void *data)`

Idea: We use `[TYPE, SIZE]` for sized array type. e.g.: `[Fiddle::TYPE_CHAR, 80]` for `char x[80]` It may be a good idea that we use `[Fiddle::TYPE_VOIDP, RETURN_TYPE, [ARGUMENT_TYPE, ...]]` for function...

It seems that we need to wait a fix in upstream: https://github.com/libffi/libffi/issues/571 But it seems that there is a workaround for it: https://github.com/Homebrew/homebrew-core/pull/58092 We may need to upgrade our bundled...

https://github.com/libffi/libffi/pull/565 may be related too.

OK. How about 3b7b079 ? We can detect whether our `inet_pton()` is needed or not by checking `InetPtonA`. I can't test this on Windows XP but it'll work.