# Path: srcgen/api.py



from six.moves import zip
from .api import Component, basic
import sys
        c_footer = '''
#ifdef __cplusplus
}
#endif'''
        )
    template_options = dict(
        FileHeader = dict(separator='\n', default='<KILLLINE>'),
        Includes = dict(separator='\n', default='<KILLLINE>',
                       prefix='\n/* Includes */\n', skip_prefix_when_empty=True),
        TypeDefs = dict(separator=';\n', default='<KILLLINE>',
                        prefix='\n/* TypeDefs */\n', skip_prefix_when_empty=True,
                        suffix=';', skip_suffix_when_empty=True,
                        ),
        ProtoTypes = dict(separator=';\n', default='<KILLLINE>',
                          prefix='\n/* ProtoTypes */\n', skip_prefix_when_empty=True,
                          suffix=';', skip_suffix_when_empty=True,
                          ),
        Definitions = dict(separator='\n\n', default='<KILLLINE>',
                           prefix='\n/* Definitions */\n', skip_prefix_when_empty=True),
        MainProgram = dict(separator='\n', default='<KILLLINE>',
                           prefix='/* MainProgram */\n', skip_prefix_when_empty=True),
        FileFooter = dict(separator='\n', default='<KILLLINE>'),
        )

    request_own_data = True

    def request_data(self, subs_name, parents):
        if subs_name=='FileHeader':
            return self.get_view('c_header', parents)
        if subs_name=='FileFooter':

# Path: srcgen/api.py



# Path: srcgen/c.py
from six.moves import zip
from .api import Component, basic
import sys

        c_footer = '''
#ifdef __cplusplus
}
#endif'''
        )
    template_options = dict(
        FileHeader = dict(separator='\n', default='<KILLLINE>'),
        Includes = dict(separator='\n', default='<KILLLINE>',
                       prefix='\n/* Includes */\n', skip_prefix_when_empty=True),
        TypeDefs = dict(separator=';\n', default='<KILLLINE>',
                        prefix='\n/* TypeDefs */\n', skip_prefix_when_empty=True,
                        suffix=';', skip_suffix_when_empty=True,
                        ),
        ProtoTypes = dict(separator=';\n', default='<KILLLINE>',
                          prefix='\n/* ProtoTypes */\n', skip_prefix_when_empty=True,
                          suffix=';', skip_suffix_when_empty=True,
                          ),
        Definitions = dict(separator='\n\n', default='<KILLLINE>',
                           prefix='\n/* Definitions */\n', skip_prefix_when_empty=True),
        MainProgram = dict(separator='\n', default='<KILLLINE>',
                           prefix='/* MainProgram */\n', skip_prefix_when_empty=True),
        FileFooter = dict(separator='\n', default='<KILLLINE>'),
        )

    request_own_data = True

    def request_data(self, subs_name, parents):
        if subs_name=='FileHeader':
            return self.get_view('c_header', parents)
        if subs_name=='FileFooter':

            return self.get_view('c_footer', parents)