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>
Tue, 9 Sep 2014 21:54:41 +0000 (23:54 +0200)
commit4bf87a5b1c7a1f19fdd79175d601c8ff5ef05153
tree456b3a012200e6c5c55d8743001aef938bcb4d19
parent60603392c3cb2e64ad1f31a3608acbf322137a65
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