]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/linux/input-events/ffi/ffi.factor
classes.struct: moving to new/boa instead of <struct>/<struct-boa>
[factor.git] / basis / linux / input-events / ffi / ffi.factor
index b2d07d83c3b06905908fb19d92e011df2cbc556d..0691e5dfd853723cdee8e638a45059f61a44aaa8 100644 (file)
@@ -160,7 +160,7 @@ CONSTANT: IOC_DIRSHIFT 30  ! SIZESHIFT + SIZEBITS
 : ctype-ioctl-inout ( handle id bytes type -- out )
     [ call-ioctl-out ] dip deref ; inline
 : struct-ioctl ( handle id struct-class -- out )
-    <struct> call-ioctl-out ; inline
+    new call-ioctl-out ; inline
 
 ! EV IOC G/S - evdev ioctl get/set
 ! EVIOCGVERSION EVIOCGID EVIOCGREP EVIOCSREP