-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation? #29
Comments
Here: https://github.com/ruby/fiddle/blob/master/ext/fiddle/fiddle.c#L132-L164
Yes.
RDoc format. |
@p-mongo can you give some more concrete indication of what documentation you think is missing and we'll look at adding it. Otherwise this issue isn't very specific or actionable. |
Considering, for example, https://github.com/ffi/ffi/wiki/Features-at-a-Glance:
|
Since chris asked, I'd like to add some things to this, rather than create a new issue. It is not solely keep in mind that many ruby users do not know C. For instance, I don't really. I can read some C Still, I managed to have a use case to suddenly use Fiddle::Pointer - and, actually, duck patch Libui is a cross-platform GUI that is quite minimal. kojix2 maintains the ruby bindings for it and This is not very elegant to have to write ruby code that prevents segfaults induced by It's not so much just about static documentation but trying to explain what could be done But I also have a second use case for asking for better documentation in this In my own crappy gem add-on to libui here at In ruby-gtk I was used to:
But I can't do that with Fiddle::Pointer per se, in the sense that I don't know For instance I don't think I can easily do:
I also don't feel fine modifying Fiddle::Pointer directly, but how can I In some ways this is fun to play with fiddle, but on the other hand it This is just one example or two examples really. I am sure there are I have absolutely no idea about the internals, but perhaps the ruby |
Does any documentation exist for Fiddle beyond the content at https://ruby-doc.org/stdlib-2.7.0/libdoc/fiddle/rdoc/Fiddle.html ?
If not, is there interest in documentation contributions, and if so in what format/structure?
The text was updated successfully, but these errors were encountered: