yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
5500f1176
master
1// TEST(smoke):CPP_COMPILER_SHARED_LIBRARY: 2 3#include <iostream> 4#include <stdio.h> 5#include <stdlib.h> 6#include <string.h> 7using namespace std ; 8 9#if defined(_MSC_VER ) 10#define DLL_EXPORT __declspec(dllexport) 11#else 12#define DLL_EXPORT __attribute__((__visibility__("default"))) 13#endif 14 15extern "C" DLL_EXPORT int test (int intValue ,const char * textValue ,char * outTextValue ) 16{ 17strcpy (outTextValue ,textValue ); 18return intValue ; 19}