]> git.draconx.ca Git - upkg.git/blobdiff - src/uobject/package.c
license: Update copyright notices.
[upkg.git] / src / uobject / package.c
index 397d2638df34c2e59e024ef7e309c9c9891f2a23..3b8091bbbdd9a20a4503071d7ae49993f57f818c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  upkg: tool for manipulating Unreal Tournament packages.
- *  Copyright (C) 2009 Nick Bowler
+ *  Copyright © 2009-2011 Nick Bowler
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -157,3 +157,10 @@ GTypeModule *u_pkg_open(const char *name)
        mod->name = str_cpy_lower(pkgname, name);
        return mod;
 }
+
+bool u_pkg_is_native(GTypeModule *m)
+{
+       struct upkg_priv *priv = U_PKG_GET_PRIV(m);
+
+       return priv->native;
+}