GUID: literals for COM
parent
bc786e1552
commit
894907d84d
|
@ -16,10 +16,10 @@ COM-INTERFACE: IUnrelated IUnknown {b06ac3f4-30e4-406b-a7cd-c29cead4552c}
|
|||
int xPlus ( int y )
|
||||
int xMulAdd ( int mul, int add ) ;
|
||||
|
||||
"{216fb341-0eb2-44b1-8edb-60b76e353abc}" string>guid 1array [ ISimple-iid ] unit-test
|
||||
"{9620ecec-8438-423b-bb14-86f835aa40dd}" string>guid 1array [ IInherited-iid ] unit-test
|
||||
"{00000000-0000-0000-C000-000000000046}" string>guid 1array [ IUnknown-iid ] unit-test
|
||||
"{b06ac3f4-30e4-406b-a7cd-c29cead4552c}" string>guid 1array [ IUnrelated-iid ] unit-test
|
||||
{ GUID: {216fb341-0eb2-44b1-8edb-60b76e353abc} } [ ISimple-iid ] unit-test
|
||||
{ GUID: {9620ecec-8438-423b-bb14-86f835aa40dd} } [ IInherited-iid ] unit-test
|
||||
{ GUID: {00000000-0000-0000-C000-000000000046} } [ IUnknown-iid ] unit-test
|
||||
{ GUID: {b06ac3f4-30e4-406b-a7cd-c29cead4552c} } [ IUnrelated-iid ] unit-test
|
||||
|
||||
{ (( -- iid )) } [ \ ISimple-iid stack-effect ] unit-test
|
||||
{ (( this -- HRESULT )) } [ \ ISimple::returnOK stack-effect ] unit-test
|
||||
|
|
|
@ -2,6 +2,10 @@ USING: help.markup help.syntax io kernel math quotations
|
|||
multiline ;
|
||||
IN: windows.com.syntax
|
||||
|
||||
HELP: GUID:
|
||||
{ $syntax "GUID: {01234567-89ab-cdef-0123-456789abcdef}" }
|
||||
{ $description "\nCreate a COM globally-unique identifier (GUID) literal at parse time, and push it onto the data stack." } ;
|
||||
|
||||
HELP: COM-INTERFACE:
|
||||
{ $syntax <"
|
||||
COM-INTERFACE: <interface> <parent> <iid>
|
||||
|
|
|
@ -100,3 +100,4 @@ PRIVATE>
|
|||
define-words-for-com-interface
|
||||
; parsing
|
||||
|
||||
: GUID: scan string>guid parsed ; parsing
|
||||
|
|
Loading…
Reference in New Issue