VirtualBox

Changeset 87447 in vbox


Ignore:
Timestamp:
Jan 26, 2021 9:45:14 PM (4 years ago)
Author:
vboxsync
Message:

xpcom: More Python 3.9 handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/python/src/module/_xpcom.cpp

    r86628 r87447  
    8585# endif
    8686# if defined(VBOX_PYXPCOM_VERSIONED) && !defined(VBOX_PYXPCOM_MAJOR_VERSIONED)
     87#  if   PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
     88#   define MODULE_NAME    MANGLE_MODULE_NAME("VBoxPython3_9")
     89#   define initVBoxPython MANGLE_MODULE_INIT(PyInit_VBoxPython3_9)
     90
    8791#  if   PY_VERSION_HEX >= 0x03080000 && PY_VERSION_HEX < 0x03090000
    8892#   define MODULE_NAME    MANGLE_MODULE_NAME("VBoxPython3_8")
     
    875879# include <iprt/stream.h>
    876880
    877 /** Set if NS_ShutdownXPCOM has been called successfully already and we don't 
    878  * need to do it again during module termination.  This avoids assertion in the 
     881/** Set if NS_ShutdownXPCOM has been called successfully already and we don't
     882 * need to do it again during module termination.  This avoids assertion in the
    879883 * VBoxCOM glue code. */
    880884static bool g_fComShutdownAlready = true;
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