[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 178 - trunk/subversion/clients/win32/svn_com

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2001-09-29 00:02:35 CEST

Bill Tutt wrote:

>I'm afraid I missed what the getAll parameter does, but you almost got it right.
>
It just tells svn_wc_statuses whether to return the status of all files,
or just the modified ones.

>You should use VARIANT_BOOL instead of BOOL for COM boolean parameters that need to be IDispatch friendly.
>
>And given that you have an incoming VARIANT_BOOL, you need to convert from a VARIANT_BOOL to a normal BOOL.
>
>E.g:
>.... VARIANT_BOOL vbGetAll, ...)
>
>BOOL getAll;
>
>getAll = (vbGetAll != VARIANT_TRUE ? FALSE : TRUE);
>
>The reason you do this is because VARIANT_TRUE is -1 as opposed to TRUE which is 1.
>
Brrrr. O.K., I'll change that. Of all the weird ... oh never mind.

>FYI,
>Bill
>
Thanks,

-- 
Brane ─îibej   <brane_at_xbc.nu>            http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:42 2006

This is an archived mail posted to the Subversion Dev mailing list.