internal void CreatedLocalReference(JniEnvironmentInfo environment, JniObjectReference reference)
            {
                var lrefc = environment.LocalReferenceCount;

                CreatedLocalReference(reference, ref lrefc);
                environment.LocalReferenceCount = lrefc;
            }
            internal void DeleteLocalReference(JniEnvironmentInfo environment, ref JniObjectReference reference)
            {
                var lrefc = environment.LocalReferenceCount;

                DeleteLocalReference(ref reference, ref lrefc);
                environment.LocalReferenceCount = lrefc;
            }
            internal IntPtr ReleaseLocalReference(JniEnvironmentInfo environment, ref JniObjectReference reference)
            {
                var lrefc = environment.LocalReferenceCount;
                var r     = ReleaseLocalReference(ref reference, ref lrefc);

                environment.LocalReferenceCount = lrefc;
                return(r);
            }
            internal JniObjectReference CreateLocalReference(JniEnvironmentInfo environment, JniObjectReference reference)
            {
                var lrefc = environment.LocalReferenceCount;
                var r     = CreateLocalReference(reference, ref lrefc);

                environment.LocalReferenceCount = lrefc;
                return(r);
            }
示例#5
0
 internal static void    SetEnvironmentInfo(JniEnvironmentInfo info)
 {
     Info.Value = info;
 }