List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 29 2007 5:53pm
Subject:Rev 219: Put in realClose() redirect. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 219
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 219: Put in realClose() redirect. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/develMonty Taylor29 Oct