mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 13:05:09 +00:00
LibGfx/TIFF: Remove an unneeded parameter
This should have been done in f00e9540
.
This commit is contained in:
parent
caf9f00456
commit
b0e5aadf1a
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ import re
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import List, Optional, Type
|
from typing import List, Type
|
||||||
|
|
||||||
|
|
||||||
class EnumWithExportName(Enum):
|
class EnumWithExportName(Enum):
|
||||||
|
@ -132,7 +132,7 @@ LICENSE = R"""/*
|
||||||
*/"""
|
*/"""
|
||||||
|
|
||||||
|
|
||||||
def export_enum_to_cpp(e: Type[EnumWithExportName], special_name: Optional[str] = None) -> str:
|
def export_enum_to_cpp(e: Type[EnumWithExportName]) -> str:
|
||||||
output = f'enum class {e.export_name()} {{\n'
|
output = f'enum class {e.export_name()} {{\n'
|
||||||
|
|
||||||
for entry in e:
|
for entry in e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue