RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
| Line | |
|---|
| 1 | /* > out.h |
|---|
| 2 | * Header file for output stuff |
|---|
| 3 | * Copyright (C) Olly Betts 2000,2001 |
|---|
| 4 | * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | * it under the terms of the GNU General Public License as published by |
|---|
| 6 | * the Free Software Foundation; either version 2 of the License, or |
|---|
| 7 | * (at your option) any later version. |
|---|
| 8 | * |
|---|
| 9 | * This program is distributed in the hope that it will be useful, |
|---|
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | * GNU General Public License for more details. |
|---|
| 13 | * |
|---|
| 14 | * You should have received a copy of the GNU General Public License |
|---|
| 15 | * along with this program; if not, write to the Free Software |
|---|
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 17 | */ |
|---|
| 18 | |
|---|
| 19 | #define out_current_action(S) if(fQuiet)(void)0;else printf("\n%s...\n", (S)) |
|---|
| 20 | /* unfortunately we'll have to remember to double bracket ... */ |
|---|
| 21 | #define out_printf(X) do{printf X;putchar('\n');}while(0) |
|---|
| 22 | #define out_puts(S) puts((S)) |
|---|
| 23 | #define out_set_percentage(P) printf("%d%%\r", (int)(P)) |
|---|
| 24 | #define out_set_fnm(S) if (!fPercent) (void)0; else printf("%s:\n", (S)) |
|---|
Note: See
TracBrowser
for help on using the repository browser.