mirror of
https://github.com/xzeldon/htop.git
synced 2025-02-17 00:13:24 +03:00
![Zev Weiss](/assets/img/avatar_default.png)
Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
13 lines
266 B
C
13 lines
266 B
C
#ifndef HEADER_Battery
|
|
#define HEADER_Battery
|
|
/*
|
|
htop - freebsd/Battery.h
|
|
(C) 2015 Hisham H. Muhammad
|
|
Released under the GNU GPL, see the COPYING file
|
|
in the source distribution for its full text.
|
|
*/
|
|
|
|
void Battery_getData(double* level, ACPresence* isOnAC);
|
|
|
|
#endif
|