- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 57 for lib_func (0.16 sec)
-
platforms/documentation/docs/src/snippets/native-binaries/cpp/groovy/src/hello/headers/hello.h
#if defined(_WIN32) && defined(DLL_EXPORT) #define LIB_FUNC __declspec(dllexport) #else #define LIB_FUNC #endif class Greeter { public: void LIB_FUNC hello();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 171 bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestDependenciesIntegrationTest.groovy
int main() { lib_func(); return 0; } """ file("lib/src/main/public/lib.h") << """ #ifdef _WIN32 #define EXPORT_FUNC __declspec(dllexport) #else #define EXPORT_FUNC #endif void EXPORT_FUNC lib_func(); """ file("lib/src/main/cpp/lib.cpp") << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBinariesRelocationIntegrationTest.groovy
#endif void EXPORT_FUNC lib_func(); """ } private static String getLibrarySource() { return """ #include "lib.h" void lib_func() { } """ } private static String getApplicationSource() { return """ #include "lib.h" int main() { lib_func(); return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/c/groovy/src/hello/c/hello.c
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 92 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/variants/groovy/src/hello/cpp/hello.cpp
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 190 bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryDependenciesIntegrationTest.groovy
#else #define EXPORT_FUNC #endif void EXPORT_FUNC lib_func(); """ file("lib/src/main/cpp/lib.cpp") << """ #include <lib.h> void lib_func() { } """ } @Override protected String getProductionComponentDsl() { return "library" } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/src/hello/cpp/hello.cpp
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 111 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/custom-layout/groovy/src/source/hello.c
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 92 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/pre-compiled-headers/groovy/src/hello/cpp/hello.cpp
#include "pch.h" void LIB_FUNC Greeter::hello () { std::cout << "Hello world!" << std::endl;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 100 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cpp/groovy/src/hello/cpp/hello.cpp
#include <iostream> #include "hello.h" void LIB_FUNC Greeter::hello () { std::cout << "Hello world!" << std::endl;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 122 bytes - Viewed (0)