Guesss what? Yeah, some documentation

2022.09-rc
Michael Vogel 2016-03-28 22:21:14 +02:00 zatwierdzone przez Roland Haeder
rodzic a7f656c041
commit 0e74dc6db3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B72F8185C6C7BD78
1 zmienionych plików z 12 dodań i 0 usunięć

12
util/createdoxygen.php 100755 → 100644
Wyświetl plik

@ -1,5 +1,10 @@
#!/usr/bin/php
<?php
/**
* @file util/createdoxygen.php
* @brief Adds a doxygen header to functions
*/
if (count($_SERVER["argv"]) < 2)
die("usage: createdoxygen.php file\n");
@ -45,6 +50,13 @@ foreach ($lines AS $line) {
$previous = $line;
}
/**
* @brief Adds a doxygen header
*
* @param string $line The current line of the document
*
* @return string added doxygen header
*/
function add_documentation($line) {
$trimmed = ltrim($line);