Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@
package org.jruby.truffle.runtime.sockets;

import jnr.ffi.Pointer;
import jnr.ffi.annotations.In;
import jnr.ffi.annotations.Out;
import jnr.ffi.byref.IntByReference;

@@ -73,7 +74,7 @@ public interface NativeSockets {
* socklen_t *restrict address_len);
*/

int accept(int socket, Pointer address, @Out IntByReference addressLength);
int accept(int socket, Pointer address, @In @Out IntByReference addressLength);

/*
* int

0 comments on commit ca1eea2

Please sign in to comment.