Changes between Initial Version and Version 1 of Ticket #918
- 08/14/09 18:52:14 (5 years ago)
- Property summary changed from Change handling of init_class functions to Change handling of class_init functions
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 , 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 . 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.