Sha256: e52b4898302b9adbbfb35b8d88ac221eb2e3dea9b84e52f64092e5e9a065470f

Contents?: true

Size: 451 Bytes

Versions: 5

Compression:

Stored size: 451 Bytes

Contents

/*
 * Copyright (c) 2013 Google Inc. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/*
 * This will fail to compile if TEST_DEFINE was propagated from sharedlib to
 * staticlib.
 */
#ifdef TEST_DEFINE
#error TEST_DEFINE is defined!
#endif

#ifdef _WIN32
__declspec(dllimport)
#else
extern
#endif
int sharedLibFunc();

int staticLibFunc() {
  return sharedLibFunc();
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/dependencies/sharedlib-linksettings/staticlib.c
mt-libuv-4.1.03 ext/gyp/test/dependencies/sharedlib-linksettings/staticlib.c
mt-libuv-4.1.02 ext/gyp/test/dependencies/sharedlib-linksettings/staticlib.c
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/staticlib.c
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/staticlib.c