From 9f9b67aafdc26c775553561ec92012f5078a43c3 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 8 Jan 2025 12:43:34 +0000 Subject: [PATCH] Transpile: Remove redundenat file_suffix property --- loki/transformations/transpile/fortran_iso_c_wrapper.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/loki/transformations/transpile/fortran_iso_c_wrapper.py b/loki/transformations/transpile/fortran_iso_c_wrapper.py index 682dc8de0..819d919ba 100644 --- a/loki/transformations/transpile/fortran_iso_c_wrapper.py +++ b/loki/transformations/transpile/fortran_iso_c_wrapper.py @@ -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')