Revision: 77531
http://sourceforge.net/p/brlcad/code/77531
Author: brlcad
Date: 2020-10-22 03:54:54 +0000 (Thu, 22 Oct 2020)
Log Message:
-----------
ws
Modified Paths:
--------------
brlcad/trunk/src/libged/ged_init.cpp
Modified: brlcad/trunk/src/libged/ged_init.cpp
===================================================================
--- brlcad/trunk/src/libged/ged_init.cpp 2020-10-22 03:52:11 UTC (rev
77530)
+++ brlcad/trunk/src/libged/ged_init.cpp 2020-10-22 03:54:54 UTC (rev
77531)
@@ -43,17 +43,16 @@
#include "./include/plugin.h"
+static char **cmd_list = NULL;
+static size_t cmd_list_len = 0;
static std::map<std::string, const struct ged_cmd *> cmd_map;
-static size_t cmd_list_len = 0;
-static char **cmd_list = NULL;
+static std::set<void *> cmd_funcs;
+static struct bu_vls init_msgs = BU_VLS_INIT_ZERO;
void *ged_cmds;
extern "C" void libged_init(void);
-static std::set<void *> cmd_funcs;
-static struct bu_vls init_msgs = BU_VLS_INIT_ZERO;
-
const char *
ged_init_msgs()
{
@@ -109,6 +108,7 @@
return 0;
}
+
/* Use bu_editdist to see if there is a command name similar to cmd
* defined. Return the closest match and the edit distance. (0 indicates
* an exact match, -1 an error) */
@@ -145,6 +145,7 @@
return (int)min_dist;
}
+
size_t
ged_cmd_list(const char * const **cl)
{
@@ -163,6 +164,7 @@
return cmd_list_len;
}
+
extern "C" void
libged_init(void)
{
@@ -273,10 +275,10 @@
}
};
+
static libged_initializer LIBGED;
-
// Local Variables:
// tab-width: 8
// mode: C++
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits