Skip to content

Commit

Permalink
Merge pull request #44 from LLNL/bugfix/taylor/slic-enum
Browse files Browse the repository at this point in the history
Fix enum values in slic
  • Loading branch information
ltaylor16 committed May 23, 2019
2 parents 6d8f3cf + 895620c commit 9017f6c
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
1 change: 1 addition & 0 deletions src/axom/quest/interface/c_fortran/wrapfquest.F
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
! wrapfquest.F
! This is generated code, do not edit
!
! Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
! other Axom Project Developers. See the top-level COPYRIGHT file for details.
!
Expand Down
3 changes: 1 addition & 2 deletions src/axom/quest/interface/quest_shroud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ copyright:
- Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
- other Axom Project Developers. See the top-level COPYRIGHT file for details.
-
- SPDX-License-Identifier (BSD-3-Clause)
-
- "SPDX-License-Identifier: (BSD-3-Clause)"

library: QUEST
cxx_header: axom/quest/interface/inout.hpp axom/quest/interface/signed_distance.hpp
Expand Down
1 change: 1 addition & 0 deletions src/axom/sidre/interface/c_fortran/wrapfsidre.F
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
! wrapfsidre.F
! This is generated code, do not edit
!
! Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
! other Axom Project Developers. See the top-level COPYRIGHT file for details.
!
Expand Down
3 changes: 1 addition & 2 deletions src/axom/sidre/interface/sidre_shroud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ copyright:
- Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
- other Axom Project Developers. See the top-level COPYRIGHT file for details.
-
- SPDX-License-Identifier (BSD-3-Clause)
-
- "SPDX-License-Identifier: (BSD-3-Clause)"

library: Sidre
# cxx_header: each class has its own header file
Expand Down
1 change: 0 additions & 1 deletion src/axom/sidre/interface/yaml/sidre_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# other Axom Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (BSD-3-Clause)
#
# Types generated by Shroud for library Sidre
declarations:
- namespace: axom
Expand Down
1 change: 1 addition & 0 deletions src/axom/sidre/spio/interface/c_fortran/wrapfspio.f
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
! wrapfspio.f
! This is generated code, do not edit
!
! Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
! other Axom Project Developers. See the top-level COPYRIGHT file for details.
!
Expand Down
3 changes: 1 addition & 2 deletions src/axom/sidre/spio/interface/spio_shroud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ copyright:
- Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
- other Axom Project Developers. See the top-level COPYRIGHT file for details.
-
- SPDX-License-Identifier (BSD-3-Clause)
-
- "SPDX-License-Identifier: (BSD-3-Clause)"

library: SPIO
namespace: axom sidre
Expand Down
1 change: 0 additions & 1 deletion src/axom/sidre/spio/interface/yaml/spio_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# other Axom Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (BSD-3-Clause)
#
# Types generated by Shroud for library SPIO
declarations:
- namespace: axom
Expand Down
10 changes: 5 additions & 5 deletions src/axom/slic/interface/c_fortran/wrapSLIC.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ extern "C" {
// Level
enum SLIC_Level
{
Error,
Warning,
Info,
Debug,
Num_Levels
SLIC_Error,
SLIC_Warning,
SLIC_Info,
SLIC_Debug,
SLIC_Num_Levels
};

// splicer begin C_declarations
Expand Down
1 change: 1 addition & 0 deletions src/axom/slic/interface/c_fortran/wrapfslic.f
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
! wrapfslic.f
! This is generated code, do not edit
!
! Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
! other Axom Project Developers. See the top-level COPYRIGHT file for details.
!
Expand Down
5 changes: 3 additions & 2 deletions src/axom/slic/interface/slic_shroud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ copyright:
- Copyright (c) 2017-2019, Lawrence Livermore National Security, LLC and
- other Axom Project Developers. See the top-level COPYRIGHT file for details.
-
- SPDX-License-Identifier (BSD-3-Clause)
-
- "SPDX-License-Identifier: (BSD-3-Clause)"

library: SLIC
cxx_header: axom/slic/interface/slic.hpp
Expand All @@ -19,6 +18,8 @@ options:
# F_module_per_class: False
# Change the default template for Fortran functions to include the library name.
F_name_impl_template: "{library_lower}_{class_prefix}{underscore_name}{function_suffix}"
# XXX - This will eventually become the default in Shroud
C_enum_member_template: "{C_prefix}{enum_member_name}"

format:
C_prefix: SLIC_
Expand Down

0 comments on commit 9017f6c

Please sign in to comment.