Sha256: a84efe62b5a68e5607559d3e23b8a403a99664bde378fe906f38baeef60fd756

Contents?: true

Size: 379 Bytes

Versions: 40

Compression:

Stored size: 379 Bytes

Contents

#include <stdio.h>

// Use the assembly function in linux and mac where it is built.
#if PLATFORM_LINUX || PLATFORM_MAC
extern int asm_function(void);
#else
int asm_function() {
  return 41;
}
#endif

int main(int argc, char *argv[])
{
  fprintf(stdout, "Hello from program.c\n");
  fflush(stdout);
  fprintf(stdout, "Got %d.\n", asm_function());
  fflush(stdout);
  return 0;
}

Version data entries

40 entries across 40 versions & 6 rubygems

Version Path
libv8-3.16.14.19.1 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.19 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.18 vendor/gyp/test/rules/src/subdir4/program.c
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/rules/src/subdir4/program.c
arcabouco-0.2.13 vendor/bundle/gems/libv8-3.16.14.17/vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.17 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.16 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.15 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.14 vendor/gyp/test/rules/src/subdir4/program.c
libv8-tmpfork-3.16.14.13 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.13 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.12 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.11 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.10 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.8 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.8.rc1 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.7 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.6 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.5 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.4 vendor/gyp/test/rules/src/subdir4/program.c