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.3 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.2 vendor/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.1 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.16.14.0 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.17 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.16 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.13 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.12 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/libv8-3.11.8.4/vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.11 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.10 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.9 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.8 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.7 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.4 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-freebsd-3.11.8.3 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.3 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.1 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.11.8.0 vendor/v8/build/gyp/test/rules/src/subdir4/program.c
libv8-3.10.8.0 vendor/v8/build/gyp/test/rules/src/subdir4/program.c