List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 29 2007 5:56pm
Subject:Rev 220: Merged devel changes. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 220
revision-id: mtaylor@stripped
parent: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Mon 2007-10-29 17:56:01 +0000
message:
  Merged devel changes.
modified:
  java/ndbj.i                    ndbj.i-20070913223244-5938mztpztyn9sry-1
    ------------------------------------------------------------
    revno: 217.1.2
    revision-id: mtaylor@stripped
    parent: mtaylor@stripped
    committer: Monty Taylor <mtaylor@stripped>
    branch nick: devel
    timestamp: Mon 2007-10-29 17:52:57 +0000
    message:
      Put in realClose() redirect.
    modified:
      java/ndbj.i                    ndbj.i-20070913223244-5938mztpztyn9sry-1
=== modified file 'java/ndbj.i'
--- a/java/ndbj.i	2007-10-28 00:05:03 +0000
+++ b/java/ndbj.i	2007-10-29 17:52:57 +0000
@@ -427,6 +427,14 @@
   %}
 */
 
+%rename(realClose) NdbTransaction::close;
+%typemap(javacode) NdbTransaction %{
+  public void close() { 
+    this.realClose();
+    this.swigCPtr=0;
+  }
+%}
+
 %include "NdbTransaction.i"
 
 %extend NdbTransaction { 

Thread
Rev 220: Merged devel changes. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor29 Oct