VirtualBox

Ignore:
Timestamp:
Aug 19, 2009 9:32:54 PM (15 years ago)
Author:
vboxsync
Message:

COM, Python: wrappers cleanup, some generic improvments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp

    r22164 r22357  
    16041604      // send address of the instance wrapper, and set the low bit to indicate
    16051605      // to the remote party that this is a remote instance wrapper.
    1606       PtrBits bits = ((PtrBits)(uintptr_t) wrapper) | PTRBITS_REMOTE_BIT;
     1606      PtrBits bits = ((PtrBits)(uintptr_t) wrapper);
     1607      NS_ASSERTION((bits & PTRBITS_REMOTE_BIT) == 0, "remote bit wrong)");
     1608      bits |= PTRBITS_REMOTE_BIT;
    16071609      writer.PutBytes(&bits, sizeof(bits));
    16081610    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette