|
From: <kin...@us...> - 2025-09-21 10:22:04
|
Revision: 7461
http://sourceforge.net/p/teem/code/7461
Author: kindlmann
Date: 2025-09-21 10:22:03 +0000 (Sun, 21 Sep 2025)
Log Message:
-----------
adding little utility to call hestOptAddDeclsPrint
Modified Paths:
--------------
teem/trunk/src/hest/GNUmakefile
Added Paths:
-----------
teem/trunk/src/hest/test/decls.c
Modified: teem/trunk/src/hest/GNUmakefile
===================================================================
--- teem/trunk/src/hest/GNUmakefile 2025-09-19 08:57:32 UTC (rev 7460)
+++ teem/trunk/src/hest/GNUmakefile 2025-09-21 10:22:03 UTC (rev 7461)
@@ -48,7 +48,7 @@
$(L).Obj = $(patsubst %.c,%.o, \
adders.c argvHest.c defaultsHest.c methodsHest.c parseHest.c parsest.c usage.c \
)
-$(L).Test = argv tparse ex1 ex2 ex3 ex4 ex5 ex6 strings bday tmpl
+$(L).Test = decls argv tparse ex1 ex2 ex3 ex4 ex5 ex6 strings bday tmpl
####
####
####
Added: teem/trunk/src/hest/test/decls.c
===================================================================
--- teem/trunk/src/hest/test/decls.c (rev 0)
+++ teem/trunk/src/hest/test/decls.c 2025-09-21 10:22:03 UTC (rev 7461)
@@ -0,0 +1,30 @@
+/*
+ Teem: Tools to process and visualize scientific data and images
+ Copyright (C) 2009--2023 University of Chicago
+ Copyright (C) 2005--2008 Gordon Kindlmann
+ Copyright (C) 1998--2004 University of Utah
+
+ This library is free software; you can redistribute it and/or modify it under the terms
+ of the GNU Lesser General Public License (LGPL) as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your option) any later version.
+ The terms of redistributing and/or modifying this software also include exceptions to
+ the LGPL that facilitate static linking.
+
+ This library is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, see <https://www.gnu.org/licenses/>.
+*/
+
+#include "../hest.h"
+
+int
+main() {
+ printf("Writing decls.h and then bailing\n");
+ FILE *ff = fopen("decls.h", "w");
+ hestOptAddDeclsPrint(ff);
+ fclose(ff);
+
+ exit(0);
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|