Skip to content

Commit b612109

Browse files
add missing weak functions
1 parent 13beec4 commit b612109

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

src/ml_status_weak.cpp

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*
2+
* Copyright (c) 2025 Marcel Licence
3+
*
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*
17+
* Dieses Programm ist Freie Software: Sie können es unter den Bedingungen
18+
* der GNU General Public License, wie von der Free Software Foundation,
19+
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder neueren
20+
* veröffentlichten Version, weiter verteilen und/oder modifizieren.
21+
*
22+
* Dieses Programm wird in der Hoffnung bereitgestellt, dass es nützlich sein wird, jedoch
23+
* OHNE JEDE GEWÄHR,; sogar ohne die implizite
24+
* Gewähr der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
25+
* Siehe die GNU General Public License für weitere Einzelheiten.
26+
*
27+
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
28+
* Programm erhalten haben. Wenn nicht, siehe <https://www.gnu.org/licenses/>.
29+
*/
30+
31+
/**
32+
*
33+
* @file ml_status_weak.cpp
34+
* @author Marcel Licence
35+
* @date 26.07.2025
36+
*/
37+
38+
39+
#include <ml_status.h>
40+
41+
42+
__attribute__((weak))
43+
void Status_ValueChangedFloatArr(const char *descr, float value, int index)
44+
{
45+
46+
}
47+
48+
__attribute__((weak))
49+
void Status_ValueChangedFloat(const char *group, const char *descr, float value)
50+
{
51+
52+
}
53+
54+
__attribute__((weak))
55+
void Status_LogMessage(const char *text)
56+
{
57+
58+
}

0 commit comments

Comments
 (0)