-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: rename ctnr namespace to containers * Revert "refactor: rename ctnr namespace to containers" This reverts commit 928ef0f. * refactor: align on singular namespaces * refactor: a few missed renamings * refactor: a couple of missed test folder names
- Loading branch information
1 parent
24146bb
commit 1b924bb
Showing
113 changed files
with
1,841 additions
and
1,841 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,19 @@ | ||
/// Apache License 2.0 | ||
|
||
#include <OpenSpaceToolkitCorePy/Container/Array.cpp> | ||
#include <OpenSpaceToolkitCorePy/Container/Dictionary.cpp> | ||
#include <OpenSpaceToolkitCorePy/Container/Object.cpp> | ||
|
||
inline void OpenSpaceToolkitCorePy_Container(pybind11::module& aModule) | ||
{ | ||
// Create "container" python submodule | ||
auto container = aModule.def_submodule("container"); | ||
|
||
// Add __path__ attribute for "container" submodule | ||
container.attr("__path__") = "ostk.core.container"; | ||
|
||
// Add objects to python "container" submodules | ||
OpenSpaceToolkitCorePy_Container_Array(container); | ||
OpenSpaceToolkitCorePy_Container_Object(container); | ||
OpenSpaceToolkitCorePy_Container_Dictionary(container); | ||
} |
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
20 changes: 10 additions & 10 deletions
20
...nSpaceToolkitCorePy/Containers/Object.cpp → ...enSpaceToolkitCorePy/Container/Object.cpp
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 was deleted.
Oops, something went wrong.
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,21 @@ | ||
/// Apache License 2.0 | ||
|
||
#include <OpenSpaceToolkitCorePy/Type/Integer.cpp> | ||
#include <OpenSpaceToolkitCorePy/Type/Real.cpp> | ||
#include <OpenSpaceToolkitCorePy/Type/Sign.cpp> | ||
#include <OpenSpaceToolkitCorePy/Type/String.cpp> | ||
|
||
inline void OpenSpaceToolkitCorePy_Type(pybind11::module& aModule) | ||
{ | ||
// Create "type" python submodule | ||
auto type = aModule.def_submodule("type"); | ||
|
||
// Add __path__ attribute for "type" submodule | ||
type.attr("__path__") = "ostk.core.type"; | ||
|
||
// Add custom type to python "type" submodule | ||
OpenSpaceToolkitCorePy_Type_Sign(type); | ||
OpenSpaceToolkitCorePy_Type_Integer(type); | ||
OpenSpaceToolkitCorePy_Type_Real(type); | ||
OpenSpaceToolkitCorePy_Type_String(type); | ||
} |
Oops, something went wrong.