mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-11-16 18:25:58 +01:00
tests: comment the functionality
This commit is contained in:
parent
75751ed957
commit
44d46e45a1
2 changed files with 10 additions and 0 deletions
|
@ -6,6 +6,11 @@ void logFunction(enum eHyprcursorLogLevel level, char* message) {
|
||||||
printf("[hc] %s\n", message);
|
printf("[hc] %s\n", message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
hyprlang-test in C.
|
||||||
|
Renders a cursor shape to /tmp at 48px
|
||||||
|
*/
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
struct hyprcursor_manager_t* mgr = hyprcursor_manager_create_with_logger(NULL, logFunction);
|
struct hyprcursor_manager_t* mgr = hyprcursor_manager_create_with_logger(NULL, logFunction);
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,11 @@ void logFunction(enum eHyprcursorLogLevel level, char* message) {
|
||||||
std::cout << "[hc] " << message << "\n";
|
std::cout << "[hc] " << message << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
hyprlang-test in C++.
|
||||||
|
Renders a cursor shape to /tmp at 48px
|
||||||
|
*/
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
Hyprcursor::CHyprcursorManager mgr(nullptr, logFunction);
|
Hyprcursor::CHyprcursorManager mgr(nullptr, logFunction);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue