[Fxruby-commits] CVS: FXRuby/swig-interfaces FXHeader.i,1.28,1.29 FXIconList.i,1.32,1.33 FXList.i,1.
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <ly...@us...> - 2002-04-01 23:13:59
|
Update of /cvsroot/fxruby/FXRuby/swig-interfaces
In directory usw-pr-cvs1:/tmp/cvs-serv9108
Modified Files:
FXHeader.i FXIconList.i FXList.i FXTable.i FXTreeList.i
Log Message:
Replaced calls to FXRbNotifyDestroyed() with calls to FXRbUnregisterRubyObj().
Index: FXHeader.i
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXHeader.i,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** FXHeader.i 26 Mar 2002 22:44:03 -0000 1.28
--- FXHeader.i 1 Apr 2002 23:13:55 -0000 1.29
***************
*** 202,206 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(oldItem);
// Done
--- 202,206 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(oldItem);
// Done
***************
*** 217,221 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(oldItem);
// Done
--- 217,221 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(oldItem);
// Done
***************
*** 298,302 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(item);
}
--- 298,302 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(item);
}
***************
*** 318,322 ****
if(items){
for(FXint i=0; i<numItems; i++){
! FXRbNotifyDestroyed(items[i]);
}
FXFREE(&items);
--- 318,322 ----
if(items){
for(FXint i=0; i<numItems; i++){
! FXRbUnregisterRubyObj(items[i]);
}
FXFREE(&items);
Index: FXIconList.i
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXIconList.i,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** FXIconList.i 26 Mar 2002 22:44:03 -0000 1.32
--- FXIconList.i 1 Apr 2002 23:13:55 -0000 1.33
***************
*** 293,297 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(oldItem);
// Done
--- 293,297 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(oldItem);
// Done
***************
*** 308,312 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(oldItem);
// Done
--- 308,312 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(oldItem);
// Done
***************
*** 362,366 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(item);
}
--- 362,366 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(item);
}
***************
*** 382,386 ****
if(items){
for(FXint i=0; i<numItems; i++){
! FXRbNotifyDestroyed(items[i]);
}
FXFREE(&items);
--- 382,386 ----
if(items){
for(FXint i=0; i<numItems; i++){
! FXRbUnregisterRubyObj(items[i]);
}
FXFREE(&items);
Index: FXList.i
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXList.i,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** FXList.i 26 Mar 2002 22:44:03 -0000 1.34
--- FXList.i 1 Apr 2002 23:13:55 -0000 1.35
***************
*** 228,232 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(oldItem);
// Done
--- 228,232 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(oldItem);
// Done
***************
*** 243,247 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(oldItem);
// Done
--- 243,247 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(oldItem);
// Done
***************
*** 311,315 ****
// Now zero-out pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(item);
}
--- 311,315 ----
// Now zero-out pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(item);
}
***************
*** 331,335 ****
if(items){
for(FXint i=0; i<numItems; i++){
! FXRbNotifyDestroyed(items[i]);
}
FXFREE(&items);
--- 331,335 ----
if(items){
for(FXint i=0; i<numItems; i++){
! FXRbUnregisterRubyObj(items[i]);
}
FXFREE(&items);
Index: FXTable.i
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXTable.i,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** FXTable.i 26 Mar 2002 22:44:03 -0000 1.26
--- FXTable.i 1 Apr 2002 23:13:55 -0000 1.27
***************
*** 371,375 ****
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbNotifyDestroyed(items[i]);
}
}
--- 371,375 ----
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbUnregisterRubyObj(items[i]);
}
}
***************
*** 446,450 ****
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbNotifyDestroyed(items[i]);
}
}
--- 446,450 ----
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbUnregisterRubyObj(items[i]);
}
}
***************
*** 465,469 ****
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbNotifyDestroyed(items[i]);
}
}
--- 465,469 ----
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbUnregisterRubyObj(items[i]);
}
}
***************
*** 478,482 ****
// Now zero-out any pointers held by still-alive Ruby objects
! FXRbNotifyDestroyed(item);
}
}
--- 478,482 ----
// Now zero-out any pointers held by still-alive Ruby objects
! FXRbUnregisterRubyObj(item);
}
}
Index: FXTreeList.i
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXTreeList.i,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** FXTreeList.i 26 Mar 2002 22:44:03 -0000 1.31
--- FXTreeList.i 1 Apr 2002 23:13:55 -0000 1.32
***************
*** 41,44 ****
--- 41,46 ----
%exception FXTreeItem::FXTreeItem "$action FXRbRegisterRubyObj(self, result);";
+ %feature("freefunc") FXTreeItem "FXRbUnregisterRubyObj";
+
/// Tree list Item
class FXTreeItem : public FXObject {
***************
*** 318,322 ****
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbNotifyDestroyed(items[i]);
}
}
--- 320,324 ----
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbUnregisterRubyObj(items[i]);
}
}
***************
*** 333,337 ****
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbNotifyDestroyed(items[i]);
}
}
--- 335,339 ----
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbUnregisterRubyObj(items[i]);
}
}
***************
*** 348,352 ****
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbNotifyDestroyed(items[i]);
}
}
--- 350,354 ----
// Now zero-out pointers held by still-alive Ruby objects
for(FXint i=0;i<items.no();i++){
! FXRbUnregisterRubyObj(items[i]);
}
}
|