internal static HandleRef getCPtrAndSetReference(hashTableObj obj, object parent) {
   if (obj != null)
   {
     obj.swigParentRef = parent;
     return obj.swigCPtr;
   }
   else
   {
     return new HandleRef(null, IntPtr.Zero);
   }
 }
Ejemplo n.º 2
0
    public void testmapObjHashTable()
    {
        mapObj       map           = new mapObj(mapfile);
        hashTableObj configoptions = map.configoptions;

        configoptions.set("key", "test value");

        map = null;
        gc();

        assert(configoptions.get("key", "") == "test value", "testmapObjHashTable");
    }
 internal static HandleRef getCPtr(hashTableObj obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }