mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
- Generates the unique number for UniqueInt using the hash of the filename
[SVN r22329]
This commit is contained in:
@@ -32,7 +32,7 @@ class EnumExporter(Exporter):
|
||||
full_name = self.enum.FullName()
|
||||
unnamed_enum = False
|
||||
if rename.startswith('$_') or rename.startswith('._'):
|
||||
unique_number = int(rename[2:])
|
||||
unique_number = hash(self.info.include)
|
||||
unnamed_enum = True
|
||||
self.ExportUniqueInt(codeunit)
|
||||
full_name = namespaces.pyste + 'UniqueInt<%d>' % unique_number
|
||||
|
||||
Reference in New Issue
Block a user