Revision: 65574
http://sourceforge.net/p/brlcad/code/65574
Author: starseeker
Date: 2015-07-11 20:51:19 +0000 (Sat, 11 Jul 2015)
Log Message:
-----------
Swap out Tcl_SplitList with bu_argv_from_tcl_list
Modified Paths:
--------------
brlcad/trunk/src/librt/db_diff.c
Modified: brlcad/trunk/src/librt/db_diff.c
===================================================================
--- brlcad/trunk/src/librt/db_diff.c 2015-07-11 03:00:21 UTC (rev 65573)
+++ brlcad/trunk/src/librt/db_diff.c 2015-07-11 20:51:19 UTC (rev 65574)
@@ -34,8 +34,6 @@
#include <errno.h>
#include "bio.h"
-#include "tcl.h"
-
#include "vmath.h"
#include "nmg.h"
#include "rt/geom.h"
@@ -51,14 +49,14 @@
int list_c = 0;
const char **listv = (const char **)NULL;
- if (Tcl_SplitList(NULL, tcl_list, &list_c, (const char ***)&listv) !=
TCL_OK) {
+ if (bu_argv_from_tcl_list(tcl_list, &list_c, (const char ***)&listv) != 0)
{
return -1;
}
if (!BU_AVS_IS_INITIALIZED(avs)) BU_AVS_INIT(avs);
if (!list_c) {
- Tcl_Free((char *)listv);
+ bu_free((char *)listv, "listv");
return 0;
}
@@ -70,7 +68,7 @@
return -1;
}
- Tcl_Free((char *)listv);
+ bu_free((char *)listv, "listv");
return 0;
}
@@ -99,6 +97,7 @@
}
return NULL;
}
+
HIDDEN const char *
type_to_str(const struct rt_db_internal *obj, int arb_type) {
if (arb_type) return arb_type_to_str(arb_type);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits