Skip to content

Commit

Permalink
Replace CRLF for LF
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Campmany Canes committed Jun 30, 2021
1 parent c3eca00 commit bbd146c
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions recipes/jsonnet/all/test_package/test_package.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#include <libjsonnet++.h>
#include <libjsonnet.h>

#include <iostream>

int main() {
// C++ library
jsonnet::Jsonnet j;
if (!j.init()) {
return 1;
}
std::cout << jsonnet::Jsonnet::version() << "\n";

// C library
struct JsonnetVm* vm = jsonnet_make();
jsonnet_max_stack(vm, 10);
std::cout << jsonnet_version() << "\n";
return 0;
}
#include <libjsonnet++.h>
#include <libjsonnet.h>

#include <iostream>

int main() {
// C++ library
jsonnet::Jsonnet j;
if (!j.init()) {
return 1;
}
std::cout << jsonnet::Jsonnet::version() << "\n";

// C library
struct JsonnetVm* vm = jsonnet_make();
jsonnet_max_stack(vm, 10);
std::cout << jsonnet_version() << "\n";
return 0;
}

0 comments on commit bbd146c

Please sign in to comment.