Re: [PATCH v2 for-next] pm: cpupower: rename raw_pylibcpupower.i
From: Min-Hua Chen
Date: Fri Sep 13 2024 - 15:59:21 EST
>On Fri, Sep 13, 2024 at 07:01:00AM +0800, Min-Hua Chen wrote:
>
>> To fix it, rename raw_pylibcpupower.i to raw_pylibcpupower.if.
>
>Would you please rename this to .swg instead?
No problem, I will send patch v3 for this.
>
>'''
>5.1.1 Input format
>
>As input, SWIG expects a file containing ISO C/C++ declarations and special
>SWIG directives. More often than not, this is a special SWIG interface file
>which is usually denoted with a special .i or .swg suffix.
>'''
Thanks for sharing the document, using .swg extension looks a better solution.
cheers,
Min-Hua
>
>https://www.swig.org/Doc4.2/SWIG.html
>
>I tested it and .swg is not removed by 'make clean' or 'make mrproper'.
>
>My apologies for the extra work Min-Hua. I can send a quick patch
>instead if you wish.