2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 17:12:22 +00:00

- now warns that AllFromHeader is not working in all cases

[SVN r22316]
This commit is contained in:
Bruno da Silva de Oliveira
2004-02-18 22:32:58 +00:00
parent 15e555c7f1
commit 7b602ef607

View File

@@ -14,7 +14,7 @@ from VarExporter import VarExporter
from CodeExporter import CodeExporter
from exporterutils import FunctionWrapper
from utils import makeid
import warnings
#==============================================================================
# DeclarationInfo
@@ -149,6 +149,7 @@ class EnumInfo(DeclarationInfo):
class HeaderInfo(DeclarationInfo):
def __init__(self, include, exporter_class = HeaderExporter):
warnings.warn('AllFromHeader is not working in all cases in the current version.')
DeclarationInfo.__init__(self)
self._Attribute('include', include)
exporter = exporter_class(InfoWrapper(self))