Program Listing for File wrapUmpire.cpp¶
↰ Return to documentation for file (umpire/interface/c_fortran/wrapUmpire.cpp
)
// wrapUmpire.cpp
// This is generated code, do not edit
// Copyright (c) 2018-2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory
//
// Created by David Beckingsale, david@llnl.gov
// LLNL-CODE-747640
//
// All rights reserved.
//
// This file is part of Umpire.
//
// For details, see https://github.com/LLNL/Umpire
// Please also see the LICENSE file for MIT license.
#include <stdlib.h>
#include "typesUmpire.h"
// splicer begin CXX_definitions
// splicer end CXX_definitions
extern "C" {
// splicer begin C_definitions
// splicer end C_definitions
// Release C++ allocated memory.
void umpire_SHROUD_memory_destructor(UMP_SHROUD_capsule_data *cap)
{
cap->addr = NULL;
cap->idtor = 0; // avoid deleting again
}
} // extern "C"