generator: no type-setup for eventcopies anymore
authorChristian Linhart <chris@demorecorder.com>
Thu, 4 Sep 2014 15:50:48 +0000 (17:50 +0200)
committerChristian Linhart <chris@demorecorder.com>
Thu, 30 Oct 2014 14:37:39 +0000 (15:37 +0100)
commit95c43f145b1fa9dcc11e52a5bcac62a8dcb37cec
tree2f57b8c2e6e498a0f542f86f1648397419ee368f
parentc225c8b168312cee61af2d0bea3bd36e7be65ac2
generator: no type-setup for eventcopies anymore

_c_type_setup is not called for eventcopies anymore:
Reasons:
* the type-setup of an eventcopy would overwrite members of the original
  event object such as c_type, ...
* it is needed for the next patch, i.e., generating accessors:
  type_setup would create sizeof-etc funtions which called
  undefined accessor functions.

Sizeof-functions are generated for compatibility:
Reason:
* Type-setup of eventcopies has previously generated
  sizeof-functions for eventcopies.
  So, we still need to generate these functions.
  These new sizeof-functions simply call the sizeof-function
  of the defining event of the eventcopy.

Message-ID: <1409845851-38950-1-git-send-email-chris@demorecorder.com>
Patch-Thread-Subject: [Xcb] support popcount of a list and associated xml changes
Patch-Set: PopcountList
Patch-Number: libxcb 1/4
Patch-Version: V1
Signed-off-by: Christian Linhart <chris@DemoRecorder.com>
src/c_client.py