Skip to content

Commit

Permalink
Transpile: Remove redundenat file_suffix property
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange05 committed Jan 8, 2025
1 parent b1d2a68 commit 9f9b67a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions loki/transformations/transpile/fortran_iso_c_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ def __init__(self, use_c_ptr=False, language='c'):
raise ValueError(f'language "{self.language}" is not supported!'
f' (supported languages: "{self._supported_languages}")')

def file_suffix(self):
if self.language == 'cpp':
return '.cpp'
return '.c'

def transform_module(self, module, **kwargs):
if 'path' in kwargs:
path = kwargs.get('path')
Expand Down

0 comments on commit 9f9b67a

Please sign in to comment.