https://github.com/Kitware/CMake
Raw File
Tip revision: a4774b0c10e9ce5354b9a7a721f8ff2952d1f247 authored by Brad King on 03 April 2024, 15:45:14 UTC
CMake 3.29.1
Tip revision: a4774b0
test_abi_CXX.cxx
/*
  Copyright Kitware, Inc.
  Distributed under the OSI-approved BSD 3-Clause License.
  See accompanying file Copyright.txt for details.
*/
#include "test.h"
#include "../include/kwiml/abi.h"
#include "test_abi_endian.h"
#ifndef KWIML_ABI_VERSION
# error "KWIML_ABI_VERSION not defined!"
#endif
extern "C" int test_abi_CXX(void)
{
  if(!test_abi_endian())
    {
    return 0;
    }
  return 1;
}
back to top