From: Christian Linhart Date: Wed, 3 Sep 2014 11:17:55 +0000 (+0200) Subject: xml-doc: add sumof with nested expression X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87774921528b3419423318509d10d689ffbc1f5c;p=free-sw%2Fxcb%2Fproto xml-doc: add sumof with nested expression Message-ID: <1409743080-302-2-git-send-email-chris@demorecorder.com> Patch-Thread-Subject: [Xcb] xinput: make ListInputDevices work, sumof with nested expr, ... Patch-Set: ListInputDevices Patch-Number: proto 2/7 Patch-Version: V1 Signed-off-by: Christian Linhart --- diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt index 235958d..d47b12c 100644 --- a/doc/xml-xcb.txt +++ b/doc/xml-xcb.txt @@ -322,6 +322,17 @@ Expressions This element represents a sumation of the elements of the referenced list. +expression + + The expression is evaluated for each element of the referenced list, + in the context of this element. + This sumof element then represents a sumation of the results of these + evaluations. + + expression will usually be a fieldref which references a field of + a list-element or an expression containing a fieldref, + such as popcount of a fieldref. + expression This element represents the number of bits set in the expression.