tests: comment the functionality

This commit is contained in:
Vaxry 2024-03-25 01:45:46 +00:00
parent 75751ed957
commit 44d46e45a1
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,11 @@ void logFunction(enum eHyprcursorLogLevel level, char* message) {
printf("[hc] %s\n", message);
}
/*
hyprlang-test in C.
Renders a cursor shape to /tmp at 48px
*/
int main(int argc, char** argv) {
struct hyprcursor_manager_t* mgr = hyprcursor_manager_create_with_logger(NULL, logFunction);

View File

@ -5,6 +5,11 @@ void logFunction(enum eHyprcursorLogLevel level, char* message) {
std::cout << "[hc] " << message << "\n";
}
/*
hyprlang-test in C++.
Renders a cursor shape to /tmp at 48px
*/
int main(int argc, char** argv) {
Hyprcursor::CHyprcursorManager mgr(nullptr, logFunction);