Skip to content
Browse files

Add type definitions for :buffer_in and :buffer_out

  • Loading branch information...
1 parent c3dfcb3 commit 09979a1fa3e86f8d5e6c03196fb0156da5dacf46 @DanielVartanov committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 kernel/platform/ffi.rb
View
2 kernel/platform/ffi.rb
@@ -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

0 comments on commit 09979a1

Please sign in to comment.
Something went wrong with that request. Please try again.