~ubuntu-branches/ubuntu/quantal/vala/quantal

« back to all changes in this revision

Viewing changes to codegen/valatyperegisterfunction.vala

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-01-18 09:51:15 UTC
  • mfrom: (1.5.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110118095115-r2jr7c63lr0jzj0y
Tags: 0.11.4-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
                        type_init.add_statement (new CCodeExpressionStatement (add_class_private_call));
223
223
                }
224
224
 
225
 
                type_init.add_statement (get_type_interface_init_statements (plugin));
 
225
                get_type_interface_init_statements (type_init, plugin);
226
226
 
227
227
                if (!plugin) {
228
228
                        CCodeExpression condition; // the condition that guards the type initialisation
426
426
         *
427
427
         * @return C statements
428
428
         */
429
 
        public abstract CCodeFragment get_type_interface_init_statements (bool plugin);
 
429
        public virtual void get_type_interface_init_statements (CCodeBlock block, bool plugin) {
 
430
        }
430
431
        
431
432
        public CCodeFragment get_source_declaration () {
432
433
                return source_declaration_fragment;