Skip to content

Commit

Permalink
Restructured repository
Browse files Browse the repository at this point in the history
  • Loading branch information
SomedudeX committed May 8, 2024
1 parent c93a1ec commit 0043875
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ set(CMAKE_CXX_STANDARD 11)

add_library(
vint
src/variable_int/constructors.cpp
src/variable_int/arithmetic.cpp
src/variable_int/methods.cpp
src/variable_math.cpp
src/vectors.cpp
src/vint/integer/constructors.cpp
src/vint/integer/arithmetic.cpp
src/vint/integer/methods.cpp
src/vint/math/math.cpp
src/utils/vectors.cpp
)

target_include_directories(vint PUBLIC include)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions include/variable_math.hpp → include/vint/math.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "variable_int.hpp"
#include "vint/integer.hpp"

namespace vint {

Int abs(const vint::Int& value);

}
}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// This file contains definition for declarations
// in variable_int.hpp

#include "variable_int.hpp"
#include "variable_math.hpp"
#include "vint/integer.hpp"
#include "vint/math.hpp"
#include <cstdint>

namespace vint {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include <cstdlib>
#include <cstdint>
#include <vector>
#include "vectors.hpp"
#include "variable_int.hpp"
#include "utils/vectors.hpp"
#include "vint/integer.hpp"

namespace vint {

Expand Down
4 changes: 2 additions & 2 deletions src/variable_int/methods.cpp → src/vint/integer/methods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include <cstdint>

#include "variable_int.hpp"
#include "vectors.hpp"
#include "vint/integer.hpp"
#include "utils/vectors.hpp"

namespace vint {

Expand Down
6 changes: 3 additions & 3 deletions src/variable_math.cpp → src/vint/math/math.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "variable_int.hpp"
#include "variable_math.hpp"
#include "vint/integer.hpp"
#include "vint/math.hpp"

namespace vint {

Expand All @@ -9,4 +9,4 @@ namespace vint {
return ret;
}

}
}

0 comments on commit 0043875

Please sign in to comment.