VirtualBox

Changeset 17677 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 11, 2009 11:10:39 AM (16 years ago)
Author:
vboxsync
Message:

export pfnGetFunctions.

Location:
trunk/src/VBox/Main/cbinding
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/VBoxXPCOMCGlue.c

    r17570 r17677  
    6262/** Pointer to the VBoxXPCOMC function table.  */
    6363PCVBOXXPCOM g_pVBoxFuncs = NULL;
     64/** Pointer to VBoxGetXPCOMCFunctions for the loaded VBoxXPCOMC so/dylib/dll. */
     65PFNVBOXGETXPCOMCFUNCTIONS g_pfnGetFunctions = NULL;
    6466
    6567
     
    114116            g_pVBoxFuncs = pfnGetFunctions(VBOX_XPCOMC_VERSION);
    115117            if (g_pVBoxFuncs)
     118            {
     119                g_pfnGetFunctions = pfnGetFunctions;
    116120                rc = 0;
     121            }
    117122            else
    118123                sprintf(g_szVBoxErrMsg, "%.80s: pfnGetFunctions(%#x) failed",
     
    198203    }
    199204    g_pVBoxFuncs = NULL;
     205    g_pfnGetFunctions = NULL;
    200206}
    201207
  • trunk/src/VBox/Main/cbinding/VBoxXPCOMCGlue.h

    r17304 r17677  
    4444/** Pointer to the VBoxXPCOMC function table.  */
    4545extern PCVBOXXPCOM g_pVBoxFuncs;
     46/** Pointer to VBoxGetXPCOMCFunctions for the loaded VBoxXPCOMC so/dylib/dll. */
     47extern PFNVBOXGETXPCOMCFUNCTIONS g_pfnGetFunctions;
     48
    4649
    4750int VBoxCGlueInit(const char *pszMsgPrefix);
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