Changeset 101919 in vbox for trunk/src/libs/xpcom18a4
- Timestamp:
- Nov 7, 2023 9:46:40 AM (15 months ago)
- Location:
- trunk/src/libs/xpcom18a4/python/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
r73153 r101919 48 48 #include "PyXPCOM_std.h" 49 49 #include "nsReadableUtils.h" 50 #include <nsIConsoleService.h>51 50 #ifdef VBOX 52 51 # include <nsIExceptionService.h> … … 64 63 static void _PanicErrorWrite(const char *msg) 65 64 { 66 nsCOMPtr<nsIConsoleService> consoleService = do_GetService(NS_CONSOLESERVICE_CONTRACTID);67 if (consoleService)68 consoleService->LogStringMessage(NS_ConvertASCIItoUCS2(msg).get());69 65 PR_fprintf(PR_STDERR,"%s\n", msg); 70 66 } -
trunk/src/libs/xpcom18a4/python/src/module/_xpcom.cpp
r101918 r101919 52 52 #include "nsIComponentRegistrar.h" 53 53 #include "nsIComponentManagerObsolete.h" 54 #include "nsIConsoleService.h"55 54 #include "nspr.h" // PR_fprintf 56 55 #ifdef VBOX
Note:
See TracChangeset
for help on using the changeset viewer.