Changeset 17677 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 11, 2009 11:10:39 AM (16 years ago)
- Location:
- trunk/src/VBox/Main/cbinding
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/cbinding/VBoxXPCOMCGlue.c
r17570 r17677 62 62 /** Pointer to the VBoxXPCOMC function table. */ 63 63 PCVBOXXPCOM g_pVBoxFuncs = NULL; 64 /** Pointer to VBoxGetXPCOMCFunctions for the loaded VBoxXPCOMC so/dylib/dll. */ 65 PFNVBOXGETXPCOMCFUNCTIONS g_pfnGetFunctions = NULL; 64 66 65 67 … … 114 116 g_pVBoxFuncs = pfnGetFunctions(VBOX_XPCOMC_VERSION); 115 117 if (g_pVBoxFuncs) 118 { 119 g_pfnGetFunctions = pfnGetFunctions; 116 120 rc = 0; 121 } 117 122 else 118 123 sprintf(g_szVBoxErrMsg, "%.80s: pfnGetFunctions(%#x) failed", … … 198 203 } 199 204 g_pVBoxFuncs = NULL; 205 g_pfnGetFunctions = NULL; 200 206 } 201 207 -
trunk/src/VBox/Main/cbinding/VBoxXPCOMCGlue.h
r17304 r17677 44 44 /** Pointer to the VBoxXPCOMC function table. */ 45 45 extern PCVBOXXPCOM g_pVBoxFuncs; 46 /** Pointer to VBoxGetXPCOMCFunctions for the loaded VBoxXPCOMC so/dylib/dll. */ 47 extern PFNVBOXGETXPCOMCFUNCTIONS g_pfnGetFunctions; 48 46 49 47 50 int VBoxCGlueInit(const char *pszMsgPrefix);
Note:
See TracChangeset
for help on using the changeset viewer.