]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/directx/dinput/constants/constants.factor
Update Windows for word renames, fix lint errors
[factor.git] / basis / windows / directx / dinput / constants / constants.factor
index 1c8e0a3087699fa524f9f70cb53f5d68671a4a90..a47a47da5afc164368d34348f19d1966007e6992 100755 (executable)
@@ -30,7 +30,7 @@ M: object array-base-type ;
 M: array array-base-type first ;
 
 : (field-spec-of) ( field struct -- field-spec )
-    c-type fields>> [ name>> = ] with find nip ;
+    lookup-c-type fields>> [ name>> = ] with find nip ;
 : (offsetof) ( field struct -- offset )
     [ (field-spec-of) offset>> ] [ drop 0 ] if* ;
 : (sizeof) ( field struct -- size )