Files
news.gitea.happylizard.me/bin/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

12 lines
376 B
Plaintext

module FFI
class StructByReference[S < Struct[P, untyped], P < AbstractMemory]
include DataConverter[P, S, untyped]
attr_reader struct_class: Struct[P, untyped]
def initialize: (S struct_class) -> void
def from_native: (P value, untyped ctx) -> S
def native_type: (?ffi_auto_type? type) -> Type
def to_native: (S? value, untyped ctx) -> P
end
end