Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


/me makes easy task on /scratch/mono-uno-bridge :)


From 61737dd0737e1c729ad82948a8e69047d2e6dce0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= <hahj87@gmail.com>
Date: Thu, 28 Oct 2010 20:42:30 -0500
Subject: [PATCH 1/2] Fixed non compiling code in bridge.cs

---
 scratch/mono-uno-bridge/bridge.cs |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/scratch/mono-uno-bridge/bridge.cs b/scratch/mono-uno-bridge/bridge.cs
index 840493f..caef36e 100644
--- a/scratch/mono-uno-bridge/bridge.cs
+++ b/scratch/mono-uno-bridge/bridge.cs
@@ -487,11 +487,6 @@ public unsafe class Bridge
                     seq = SequencePtr.Allocate(length, sizeof(ushort));
                     Marshal.Copy((char [])managedData, 0, seq.elementsPtr, length);
                     break;
-/*                case TypeClass.BOOLEAN:
-                    // FIXME bool vs. byte ???
-                    seq = SequencePtr.Allocate(length, sizeof(byte));
-                    Marshal.Copy((byte [])managedData, 0, seq.elementsPtr, length);
-                    break;*/
                 case TypeClass.BYTE:
                     seq = SequencePtr.Allocate(length, sizeof(byte));
                     Marshal.Copy((byte [])managedData, 0, seq.elementsPtr, length);
@@ -500,26 +495,14 @@ public unsafe class Bridge
                     seq = SequencePtr.Allocate(length, sizeof(short));
                     Marshal.Copy((short [])managedData, 0, seq.elementsPtr, length);
                     break;
-/*                case TypeClass.UNSIGNED_SHORT:
-                    seq = SequencePtr.Allocate(length, sizeof(ushort));
-                    Marshal.Copy((short [])managedData, 0, seq.elementsPtr, length);
-                    break; */
                 case TypeClass.LONG:
                     seq = SequencePtr.Allocate(length, sizeof(int));
                     Marshal.Copy((int [])managedData, 0, seq.elementsPtr, length);
                     break;
-/*                case TypeClass.UNSIGNED_LONG:
-                    seq = SequencePtr.Allocate(length, sizeof(uint));
-                    Marshal.Copy((int [])managedData, 0, seq.elementsPtr, length);
-                    break; */
                 case TypeClass.HYPER:
                     seq = SequencePtr.Allocate(length, sizeof(long));
                     Marshal.Copy((long [])managedData, 0, seq.elementsPtr, length);
                     break;
-/*                case TypeClass.UNSIGNED_HYPER:
-                    seq = SequencePtr.Allocate(length, sizeof(ulong));
-                    Marshal.Copy((long [])managedData, 0, seq.elementsPtr, length);
-                    break; */
                 case TypeClass.FLOAT:
                     seq = SequencePtr.Allocate(length, sizeof(float));
                     Marshal.Copy((float [])managedData, 0, seq.elementsPtr, length);
-- 
1.7.3.2

From 1b1b48b09ebf32644bb91d10d94c41f13bda2dba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= <hahj87@gmail.com>
Date: Thu, 28 Oct 2010 22:58:14 -0500
Subject: [PATCH 2/2] fix non compiling code on mono-uno-bridge

---
 scratch/mono-uno-bridge/cli_environment.cs |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/scratch/mono-uno-bridge/cli_environment.cs b/scratch/mono-uno-bridge/cli_environment.cs
index 91a2970..3d6b200 100644
--- a/scratch/mono-uno-bridge/cli_environment.cs
+++ b/scratch/mono-uno-bridge/cli_environment.cs
@@ -151,11 +151,6 @@ public class Cli_environment
             oid = createKey(oid, type);
             ret = m_objects[oid];
         }
-/*        if (ret != null)
-        {
-            WeakReference weakIface = (WeakReference)ret;
-            ret = weakIface.Target;
-        } */
 
         if (ret == null)
             m_objects.Remove(oid);
-- 
1.7.3.2


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.