Changes between Initial Version and Version 1 of Ticket #918
- Timestamp:
- 08/14/09 18:52:14 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #918
- Property summary changed from Change handling of init_class functions to Change handling of class_init functions
-
Ticket #918 – description
initial v1 1 The init_class functions from pmc and dynpmc are inserted in line into the generated init_class that does internal work. This way exposes undocumented variables to the user init_class, which is confusing.1 The class_init functions from pmc and dynpmc are inserted in line into the generated class+init that does internal work. This way exposes undocumented variables to the user class_init, which is confusing. 2 2 3 The attached patch shows the proposed change: put the code in a static function and call that function from the generated init_class.3 The attached patch shows the proposed change: put the code in a static function and call that function from the generated class_init. 4 4 5 5 The only problem is that dynpmc from external modules or languages can still be using the now unneeded 'pass' variable, thus that change may need a deprecation cycle.
