mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
20 lines
644 B
Python
20 lines
644 B
Python
import os.path
|
|
from Exporter import Exporter
|
|
|
|
#==============================================================================
|
|
# IncludeExporter
|
|
#==============================================================================
|
|
class IncludeExporter(Exporter):
|
|
'''Writes an include declaration to the module. Useful to add extra code
|
|
for use in the Wrappers.
|
|
This class just reimplements the Parse method to do nothing: the
|
|
WriteInclude in Exporter already does the work for us.
|
|
'''
|
|
|
|
def __init__(self, info, parser_tail=None):
|
|
Exporter.__init__(self, info, parser_tail)
|
|
|
|
def Parse(self, parser):
|
|
pass
|
|
|