-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update macros and regenerate for latest SWIG * Add map and documentation
- Loading branch information
Showing
16 changed files
with
2,162 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/*! | ||
* \file flc_map.i | ||
* | ||
* Copyright (c) 2019 Oak Ridge National Laboratory, UT-Battelle, LLC. | ||
* Distributed under an MIT open source license: see LICENSE for details. | ||
*/ | ||
|
||
%module "flc_map" | ||
%include "import_flc.i" | ||
%flc_add_header | ||
|
||
%include <std_map.i> | ||
|
||
/* ------------------------------------------------------------------------- | ||
* Numeric maps | ||
* ------------------------------------------------------------------------- */ | ||
|
||
%template(MapIntInt) std::map<int, int>; | ||
|
||
/* ------------------------------------------------------------------------- | ||
* String maps | ||
* ------------------------------------------------------------------------- */ | ||
|
||
%fortran_autofree_rvalue(std::map<std::string, int>); | ||
%fortran_autofree_rvalue(std::map<std::string, std::string>); | ||
|
||
%include <std_string.i> | ||
%import "flc_string.i" | ||
%template(MapStringInt) std::map<std::string, int>; | ||
%template(MapStringString) std::map<std::string, std::string>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.