|
From: <kin...@us...> - 2023-07-15 14:24:57
|
Revision: 7110
http://sourceforge.net/p/teem/code/7110
Author: kindlmann
Date: 2023-07-15 14:24:54 +0000 (Sat, 15 Jul 2023)
Log Message:
-----------
restoring block and unblock commands, but they are hidden
Modified Paths:
--------------
teem/trunk/src/unrrdu/CMakeLists.txt
teem/trunk/src/unrrdu/GNUmakefile
teem/trunk/src/unrrdu/block.c
teem/trunk/src/unrrdu/privateUnrrdu.h
teem/trunk/src/unrrdu/unblock.c
Modified: teem/trunk/src/unrrdu/CMakeLists.txt
===================================================================
--- teem/trunk/src/unrrdu/CMakeLists.txt 2023-07-15 14:15:33 UTC (rev 7109)
+++ teem/trunk/src/unrrdu/CMakeLists.txt 2023-07-15 14:24:54 UTC (rev 7110)
@@ -15,6 +15,7 @@
axinsert.c
axmerge.c
axsplit.c
+ block.c
ccadj.c
ccfind.c
ccmerge.c
@@ -77,10 +78,8 @@
unquantize.c
unrrdu.h
untile.c
- )
-# no longer used:
-# block.c
-# unblock.c
+ unblock.c
+)
target_sources(teem PRIVATE ${UNRRDU_SOURCES})
# This will group all the source files in the VS project by directory
Modified: teem/trunk/src/unrrdu/GNUmakefile
===================================================================
--- teem/trunk/src/unrrdu/GNUmakefile 2023-07-15 14:15:33 UTC (rev 7109)
+++ teem/trunk/src/unrrdu/GNUmakefile 2023-07-15 14:24:54 UTC (rev 7110)
@@ -61,8 +61,7 @@
ccsettle.o about.o axsplit.o axmerge.o mlut.o mrmap.o tile.o untile.o \
unorient.o env.o dist.o affine.o i2w.o w2i.o fft.o acrop.o dering.o \
diff.o cksum.o dnorm.o vidicon.o undos.o uncmt.o basinfo.o grid.o ilk.o \
- ninspect.o hack.o aabplot.o
-# no longer used: block.o unblock.o
+ ninspect.o hack.o aabplot.o block.o unblock.o
####
####
####
Modified: teem/trunk/src/unrrdu/block.c
===================================================================
--- teem/trunk/src/unrrdu/block.c 2023-07-15 14:15:33 UTC (rev 7109)
+++ teem/trunk/src/unrrdu/block.c 2023-07-15 14:24:54 UTC (rev 7110)
@@ -69,4 +69,4 @@
return 0;
}
-UNRRDU_CMD(block, INFO);
+UNRRDU_CMD_HIDE(block, INFO);
Modified: teem/trunk/src/unrrdu/privateUnrrdu.h
===================================================================
--- teem/trunk/src/unrrdu/privateUnrrdu.h 2023-07-15 14:15:33 UTC (rev 7109)
+++ teem/trunk/src/unrrdu/privateUnrrdu.h 2023-07-15 14:24:54 UTC (rev 7110)
@@ -107,6 +107,8 @@
F(flip) \
F(unorient) \
F(basinfo) \
+ F(block) \
+ F(unblock) \
F(axinfo) \
F(axinsert) \
F(axsplit) \
@@ -145,10 +147,6 @@
F(undos) \
F(uncmt) \
F(save)
-/* these two have been removed since no one uses them
-F(block) \
-F(unblock) \
-*/
/* xxx.c */
/* Declare the extern unrrduCmds unrrdu_xxxCmd, for all xxx. These are
Modified: teem/trunk/src/unrrdu/unblock.c
===================================================================
--- teem/trunk/src/unrrdu/unblock.c 2023-07-15 14:15:33 UTC (rev 7109)
+++ teem/trunk/src/unrrdu/unblock.c 2023-07-15 14:24:54 UTC (rev 7110)
@@ -68,4 +68,4 @@
return 0;
}
-UNRRDU_CMD(unblock, INFO);
+UNRRDU_CMD_HIDE(unblock, INFO);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|