wxwidgets/samples/webview/cef_process_helper.cpp
Vadim Zeitlin db255db61c Use C++11 nullptr in CEF helper process in the sample
This fixes its compilation under Mac and also avoids triggering the
check forbidding the use of NULL in the new code.
2023-09-06 03:50:05 +02:00

19 lines
696 B
C++

/////////////////////////////////////////////////////////////////////////////
// Name: samples/webview_chromium/mac/process_helper_mac.cpp
// Purpose: webview_chromium launch helper
// Author: Haojian Wu <hokein.wu@gmail.com>
// Created: 2014-06-22
// Copyright: (c) 2014 - 2015 wxWidgets development team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "include/cef_app.h"
#include "include/cef_version.h"
// Process entry point.
int main(int argc, char* argv[]) {
CefMainArgs main_args(argc, argv);
// Execute the secondary process.
return CefExecuteProcess(main_args, nullptr, nullptr);
}