diff --git a/basis/windows/com/prettyprint/prettyprint.factor b/basis/windows/com/prettyprint/prettyprint.factor new file mode 100755 index 0000000000..c75f43f560 --- /dev/null +++ b/basis/windows/com/prettyprint/prettyprint.factor @@ -0,0 +1,7 @@ +! Copyright (C) 2009 Slava Pestov. +! See http://factorcode.org/license.txt for BSD license. +USING: windows.com windows.kernel32 windows.ole32 +prettyprint.custom prettyprint.sections sequences ; +IN: windows.com.prettyprint + +M: GUID pprint* guid>string "GUID: " prepend text ; diff --git a/basis/windows/com/syntax/syntax.factor b/basis/windows/com/syntax/syntax.factor index d380b1ba83..2100d6a215 100755 --- a/basis/windows/com/syntax/syntax.factor +++ b/basis/windows/com/syntax/syntax.factor @@ -2,7 +2,7 @@ USING: alien alien.c-types alien.accessors effects kernel windows.ole32 parser lexer splitting grouping sequences namespaces assocs quotations generalizations accessors words macros alien.syntax fry arrays layouts math classes.struct -windows.kernel32 prettyprint.custom prettyprint.sections ; +windows.kernel32 ; IN: windows.com.syntax guid parsed ; -M: GUID pprint* guid>string "GUID: " prepend text ; +USING: vocabs vocabs.loader ; + +"prettyprint" vocab [ + "windows.com.prettyprint" require +] when diff --git a/basis/windows/com/wrapper/wrapper.factor b/basis/windows/com/wrapper/wrapper.factor index 25b11a6a1d..2cf6b31cf5 100755 --- a/basis/windows/com/wrapper/wrapper.factor +++ b/basis/windows/com/wrapper/wrapper.factor @@ -3,8 +3,7 @@ init windows.com.syntax.private windows.com continuations kernel namespaces windows.ole32 libc vocabs assocs accessors arrays sequences quotations combinators math words compiler.units destructors fry math.parser generalizations sets -specialized-arrays.alien specialized-arrays.direct.alien -windows.kernel32 classes.struct ; +specialized-arrays.alien windows.kernel32 classes.struct ; IN: windows.com.wrapper TUPLE: com-wrapper < disposable callbacks vtbls ;