summaryrefslogtreecommitdiff
path: root/src/mods.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-11 16:49:40 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-11 16:49:40 +0200
commitbd21f00f0a1bb23d4503d58a502a796dbe3fd5b4 (patch)
treeba1e29a21fafe612bdb05bd2a5bfbf8466f92ee0 /src/mods.h
parent012bcbcb4852c78e803485a4fc6fe6628ce0dcd3 (diff)
downloadminetest-bd21f00f0a1bb23d4503d58a502a796dbe3fd5b4.tar.gz
minetest-bd21f00f0a1bb23d4503d58a502a796dbe3fd5b4.tar.bz2
minetest-bd21f00f0a1bb23d4503d58a502a796dbe3fd5b4.zip
Add minetest.get_modpath(modname)
Diffstat (limited to 'src/mods.h')
-rw-r--r--src/mods.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mods.h b/src/mods.h
index a6beb24f2..e85ec2f4c 100644
--- a/src/mods.h
+++ b/src/mods.h
@@ -17,6 +17,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef MODS_HEADER
+#define MODS_HEADER
+
#include "irrlichttypes.h"
#include <set>
#include <string>
@@ -59,3 +62,5 @@ struct ModSpec
core::list<ModSpec> getMods(core::list<std::string> &modspaths)
throw(ModError);
+#endif
+