generator: expressions can generate pre-code
authorChristian Linhart <chris@DemoRecorder.com>
Sun, 2 Nov 2014 12:45:29 +0000 (13:45 +0100)
committerChristian Linhart <chris@demorecorder.com>
Mon, 3 Nov 2014 10:23:16 +0000 (11:23 +0100)
commitfda1fb4ed47a705744677a0074d83464af7aa4eb
tree107660afd63356fb0651c70788ac1d5dca6bb8e5
parent265d38882cffce597367cc8bb2160b9e2482a80f
generator: expressions can generate pre-code

This patch provides a mechanism for generating
preparatory code for expressions.

This is e.g. necessary when an expression needs computations
which cannot be done in a C-Expression, like for-loops.

This will be used for sumof expressions but may be useful
elsewhere.

Note: Patch 2 of this series has been removed during the review process.

V2: adapt to changes in previous patches

V3: some style and formatting changes according to suggestions from Ran Benita.

Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
Reviewed-by: Ran Benita <ran234@gmail.com>
Message-ID: <54562769.3090405@DemoRecorder.com>
Patch-Thread-Subject: [Xcb] [PATCHSET] ListInputDevices revision 2
Patch-Set: ListInputDevices
Patch-Number: libxcb 3/9
Patch-Version: V3
src/c_client.py