Revision: 56762
http://sourceforge.net/p/brlcad/code/56762
Author: mohitdaga
Date: 2013-08-12 21:55:24 +0000 (Mon, 12 Aug 2013)
Log Message:
-----------
As per Sean's suggestion, Change the name of icv api (free to destroy).
Modified Paths:
--------------
brlcad/trunk/include/icv.h
brlcad/trunk/src/libged/screengrab.c
brlcad/trunk/src/libicv/fileformat.c
brlcad/trunk/src/rt/do.c
brlcad/trunk/src/util/bwrect.c
Modified: brlcad/trunk/include/icv.h
===================================================================
--- brlcad/trunk/include/icv.h 2013-08-12 21:39:57 UTC (rev 56761)
+++ brlcad/trunk/include/icv.h 2013-08-12 21:55:24 UTC (rev 56762)
@@ -219,7 +219,7 @@
* This function frees the allocated memory for a ICV Structure and
* data.
*/
-ICV_EXPORT extern void icv_free(icv_image_t *bif);
+ICV_EXPORT extern void icv_destroy(icv_image_t *bif);
/** @file libicv/color_space.c
*
Modified: brlcad/trunk/src/libged/screengrab.c
===================================================================
--- brlcad/trunk/src/libged/screengrab.c 2013-08-12 21:39:57 UTC (rev
56761)
+++ brlcad/trunk/src/libged/screengrab.c 2013-08-12 21:55:24 UTC (rev
56762)
@@ -113,7 +113,7 @@
if (bif != NULL) {
icv_write(bif, argv[1], ICV_IMAGE_AUTO);
- icv_free(bif);
+ icv_destroy(bif);
bif = NULL;
}
Modified: brlcad/trunk/src/libicv/fileformat.c
===================================================================
--- brlcad/trunk/src/libicv/fileformat.c 2013-08-12 21:39:57 UTC (rev
56761)
+++ brlcad/trunk/src/libicv/fileformat.c 2013-08-12 21:55:24 UTC (rev
56762)
@@ -332,7 +332,7 @@
void
-icv_free(icv_image_t *bif)
+icv_destroy(icv_image_t *bif)
{
bu_free(bif->data, "Image Data");
bu_free(bif, "ICV IMAGE Structure");
Modified: brlcad/trunk/src/rt/do.c
===================================================================
--- brlcad/trunk/src/rt/do.c 2013-08-12 21:39:57 UTC (rev 56761)
+++ brlcad/trunk/src/rt/do.c 2013-08-12 21:55:24 UTC (rev 56762)
@@ -921,7 +921,7 @@
}
if (bif != NULL) {
icv_write(bif, framename, ICV_IMAGE_AUTO);
- icv_free(bif);
+ icv_destroy(bif);
bif = NULL;
}
Modified: brlcad/trunk/src/util/bwrect.c
===================================================================
--- brlcad/trunk/src/util/bwrect.c 2013-08-12 21:39:57 UTC (rev 56761)
+++ brlcad/trunk/src/util/bwrect.c 2013-08-12 21:55:24 UTC (rev 56762)
@@ -123,7 +123,7 @@
icv_rect(img, xorig, yorig, outx, outy);
icv_write(img, out_file , ICV_IMAGE_BW);
- icv_free(img);
+ icv_destroy(img);
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits