~jamesh/go-unityscopes/go-1.6-compat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdexcept>
#include <cstring>

#include <unity/scopes/testing/Result.h>

extern "C" {
#include "_cgo_export.h"
}
#include "helpers.h"

using namespace unity::scopes;
using namespace gounityscopes::internal;

_Result *new_testing_result() {
    return reinterpret_cast<_Result*>(static_cast<Result*>(new testing::Result));
}