Example #1
0
        internal static string[] GetVersions(string @namespace)
        {
            IntPtr native_namespace = GMarshal.StringToUtf8Ptr(@namespace);
            IntPtr raw_ret          = g_irepository_enumerate_versions(IntPtr.Zero, native_namespace);
            var    ret = GMarshal.GListToStringArray(raw_ret, freePtr: true);

            GMarshal.Free(native_namespace);
            return(ret);
        }