Download build/_deps/catch2-src/include/internal/catch_default_main.hpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/include/internal/catch_default_main.hpp
- Command line
-
hf download hf://camenduru/thrust/build/_deps/catch2-src/include/internal/catch_default_main.hpp
-
curl -L -o catch_default_main.hpp https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/include/internal/catch_default_main.hpp
1.24 kB
| /* | |
| * Created by Phil on 20/05/2011. | |
| * Copyright 2011 Two Blue Cubes Ltd. All rights reserved. | |
| * | |
| * Distributed under the Boost Software License, Version 1.0. (See accompanying | |
| * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
| */ | |
| // Standard C/C++ Win32 Unicode wmain entry point | |
| extern "C" int wmain (int argc, wchar_t * argv[], wchar_t * []) { | |
| // Standard C/C++ main entry point | |
| int main (int argc, char * argv[]) { | |
| return Catch::Session().run( argc, argv ); | |
| } | |
| // Objective-C entry point | |
| int main (int argc, char * const argv[]) { | |
| NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; | |
| Catch::registerTestMethods(); | |
| int result = Catch::Session().run( argc, (char**)argv ); | |
| [pool drain]; | |
| return result; | |
| } | |