Sha256: 247e94ff854a3790e9b9210dbf6bfaf35ca2dc5e8fca260ab795db9e89af30ef

Contents?: true

Size: 276 Bytes

Versions: 4

Compression:

Stored size: 276 Bytes

Contents

#include <stdlib.h>

// The windows ninja generator is expecting an import library to get generated,
// but it doesn't if there are no exports.
#ifdef _MSC_VER
__declspec(dllexport) void foo() {}
#endif

void *malloc(size_t size) {
  (void)size;
  return (void*)0xdeadbeef;
}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/link-dependency/mymalloc.c
mt-libuv-4.1.03 ext/gyp/test/link-dependency/mymalloc.c
mt-libuv-4.1.02 ext/gyp/test/link-dependency/mymalloc.c
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/link-dependency/mymalloc.c