Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add type definitions for :buffer_in and :buffer_out

  • Loading branch information...
commit 09979a1fa3e86f8d5e6c03196fb0156da5dacf46 1 parent c3dfcb3
Daniel Vartanov authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  kernel/platform/ffi.rb
2  kernel/platform/ffi.rb
View
@@ -129,6 +129,8 @@ def errno
# Converts a pointer to opaque data
add_typedef TYPE_PTR, :pointer
+ add_typedef TYPE_PTR, :buffer_in
+ add_typedef TYPE_PTR, :buffer_out
# For when a function has no return value
add_typedef TYPE_VOID, :void
Please sign in to comment.
Something went wrong with that request. Please try again.