Sha256: 83667582133a275e3f3bf5f63f83ee13d9142dbb3ece81cca7ca6b204a9f0a11

Contents?: true

Size: 427 Bytes

Versions: 11

Compression:

Stored size: 427 Bytes

Contents

#include "lib2.h"

#include <iostream>
#include <math.h>
#include "lib1.h"
#include <dlfcn.h>
#include <zlib.h>

void lib2() {
#ifdef UNIT_TEST
  std::cout << "lib2 for UNIT_TEST defined" << std::endl;
#else
  std::cout << "lib2" << std::endl;
#endif
  lib1();
  std::cout << sin(5) << std::endl;
  void* help = dlopen("test", RTLD_LAZY);
  std::cout << (long)help << std::endl;
  Bytef b = 0;
  uLong res = crc32(0, &b, 1);
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
cxxproject-0.6.29 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxx-0.1.14 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.28 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.27 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.26 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.25 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.24 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.23 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.21 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.18 spec/testdata/multiple_levels/libs/lib2/lib2.cpp
cxxproject-0.6.17 spec/testdata/multiple_levels/libs/lib2/lib2.cpp