Doxygen for haiku.h/haiku.cpp

This commit is contained in:
Thomas Bernard
2018-11-20 14:34:23 +01:00
parent 8e4abd357b
commit 6a575ed491
3 changed files with 22 additions and 10 deletions

View File

@@ -1,15 +1,21 @@
#include "struct.h"
/*
/** @file haiku.h
* Declarations of HAIKU specific functions.
*
* Haiku specific code was moved here, because the API is C++.
* It can't be compiled in the usual C files.
* So we provide a C wrapper to the functons we need.
* So we provide a C wrapper to the functions we need.
*/
#ifndef __HAIKU_H
#define __HAIKU_H
#include "struct.h"
#ifdef __cplusplus
extern "C" {
#endif
qword haiku_get_free_space(char* path);
char* haiku_get_clipboard();
#ifdef __cplusplus
}
#endif
#endif