File: struct_by_value.rbs

package info (click to toggle)
ruby-ffi 1.17.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,988 kB
  • sloc: ruby: 9,446; ansic: 7,713; xml: 151; sh: 51; makefile: 14
file content (7 lines) | stat: -rw-r--r-- 170 bytes parent folder | download
1
2
3
4
5
6
7
module FFI
  class StructByValue[C < singleton(Struct)] < Type
    def initialize: (C) -> self
    def layout: () -> StructLayout
    def struct_class: () -> C
  end
end