Revision: 75406
http://sourceforge.net/p/brlcad/code/75406
Author: starseeker
Date: 2020-04-15 01:38:06 +0000 (Wed, 15 Apr 2020)
Log Message:
-----------
Add headers
Modified Paths:
--------------
brlcad/trunk/src/libbu/tests/dylib/dylib.c
brlcad/trunk/src/libbu/tests/dylib/dylib.h
brlcad/trunk/src/libbu/tests/dylib/plugin_1.cpp
brlcad/trunk/src/libbu/tests/dylib/plugin_2.cpp
brlcad/trunk/src/libbu/tests/dylib/run.c
Modified: brlcad/trunk/src/libbu/tests/dylib/dylib.c
===================================================================
--- brlcad/trunk/src/libbu/tests/dylib/dylib.c 2020-04-15 01:24:04 UTC (rev
75405)
+++ brlcad/trunk/src/libbu/tests/dylib/dylib.c 2020-04-15 01:38:06 UTC (rev
75406)
@@ -1,3 +1,16 @@
+/* D Y L I B . C
+ * BRL-CAD
+ *
+ * Published in 2020 by the United States Government.
+ * This work is in the public domain.
+ *
+ */
+/** @file dylib.c
+ *
+ * Mechanics of loading the plugins.
+ *
+ */
+
#include "common.h"
#include <string.h>
Modified: brlcad/trunk/src/libbu/tests/dylib/dylib.h
===================================================================
--- brlcad/trunk/src/libbu/tests/dylib/dylib.h 2020-04-15 01:24:04 UTC (rev
75405)
+++ brlcad/trunk/src/libbu/tests/dylib/dylib.h 2020-04-15 01:38:06 UTC (rev
75406)
@@ -1,3 +1,16 @@
+/* D Y L I B . H
+ * BRL-CAD
+ *
+ * Published in 2020 by the United States Government.
+ * This work is in the public domain.
+ *
+ */
+/** @file dylib.h
+ *
+ * Header defining data structures and functions common to plugins, as well as
+ * the libdylib API that wraps loading and unloading them.
+ */
+
#include "common.h"
#include "bu/ptbl.h"
Modified: brlcad/trunk/src/libbu/tests/dylib/plugin_1.cpp
===================================================================
--- brlcad/trunk/src/libbu/tests/dylib/plugin_1.cpp 2020-04-15 01:24:04 UTC
(rev 75405)
+++ brlcad/trunk/src/libbu/tests/dylib/plugin_1.cpp 2020-04-15 01:38:06 UTC
(rev 75406)
@@ -1,3 +1,16 @@
+/* P L U G I N _ 1 . C P P
+ * BRL-CAD
+ *
+ * Published in 2020 by the United States Government.
+ * This work is in the public domain.
+ *
+ */
+/** @file plugin_1.cpp
+ *
+ * Sample plugin
+ *
+ */
+
#include "common.h"
#include <string>
Modified: brlcad/trunk/src/libbu/tests/dylib/plugin_2.cpp
===================================================================
--- brlcad/trunk/src/libbu/tests/dylib/plugin_2.cpp 2020-04-15 01:24:04 UTC
(rev 75405)
+++ brlcad/trunk/src/libbu/tests/dylib/plugin_2.cpp 2020-04-15 01:38:06 UTC
(rev 75406)
@@ -1,3 +1,16 @@
+/* P L U G I N _ 2 . C P P
+ * BRL-CAD
+ *
+ * Published in 2020 by the United States Government.
+ * This work is in the public domain.
+ *
+ */
+/** @file plugin_2.cpp
+ *
+ * Sample plugin
+ *
+ */
+
#include "common.h"
#include <string>
Modified: brlcad/trunk/src/libbu/tests/dylib/run.c
===================================================================
--- brlcad/trunk/src/libbu/tests/dylib/run.c 2020-04-15 01:24:04 UTC (rev
75405)
+++ brlcad/trunk/src/libbu/tests/dylib/run.c 2020-04-15 01:38:06 UTC (rev
75406)
@@ -1,3 +1,17 @@
+/* R U N . C
+ * BRL-CAD
+ *
+ * Published in 2020 by the United States Government.
+ * This work is in the public domain.
+ *
+ */
+/** @file run.c
+ *
+ * Program to load libdylib plugins and test that they
+ * work correctly.
+ *
+ */
+
#include "common.h"
#include "bu.h"
#include "dylib.h"
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