fiddle icon indicating copy to clipboard operation
fiddle copied to clipboard

A libffi wrapper for Ruby.

Results 26 fiddle issues
Sort by recently updated
recently updated
newest added

Hi, sorry for my english. I will show the problem with examples: #### header.h ```c typedef struct { const char* content; uint32_t len; } tc_string_data_t; typedef struct tc_string_handle_t tc_string_handle_t; tc_string_handle_t*...

this PR has been changed to use the [ruby/actions](https://github.com/ruby/actions/blob/master/.github/workflows/ruby_versions.yml) workflow for ruby versions.

The methods in `Fiddle::CParser` such as `parse_struct_signature` are useful on their own, outside of a class instance. Would it make sense to be able to call these as module methods,...

In **Fiddle::ValueUtil#wrap_arg** there is a long case-when for ``arg`` with an unreachable code path. When ``arg`` and ``ty`` are of Array type, and ``ty[0]`` is TYPE_CHAR, there is another condition,...

Well, it's pretty self-explanatory. It returns `(VALUE)(data->ptr)`, and `ptr` is obviously not marked, so can be GCed. This method is either should be removed completely (it'll still e possible to...