fix(rename, submodule): libbase -> libbasen, aur.archlinux.org submodule removed

This commit is contained in:
2024-09-20 19:03:26 +03:00
parent 4e166d24cf
commit 4b7f01dcf6
20 changed files with 26 additions and 30 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "distrib/arch"]
path = distrib/arch
url = https://aur.archlinux.org/libbase.git

View File

@ -7,7 +7,7 @@ USRDIR ?= /usr
.PHONY: build i install uni uninstall\
tools library tests clean
LIB = base
LIB = basen
OBJS =\
hex\
baseN\

Submodule distrib/arch deleted from 6d1505565d

View File

@ -1,6 +0,0 @@
#include <base/base58.hpp>
#include <base/base64.hpp>
#include <base/baseN.hpp>
#include <base/hash/sha256.hpp>
#include <base/hex.hpp>

6
include/basen.hpp Normal file
View File

@ -0,0 +1,6 @@
#include <basen/base58.hpp>
#include <basen/base64.hpp>
#include <basen/baseN.hpp>
#include <basen/hash/sha256.hpp>
#include <basen/hex.hpp>

View File

@ -1,8 +1,8 @@
#include <stdexcept>
#include <base/base58.hpp>
#include <base/baseN.hpp>
#include <base/hash/sha256.hpp>
#include <basen/base58.hpp>
#include <basen/baseN.hpp>
#include <basen/hash/sha256.hpp>
namespace base58
{

View File

@ -2,8 +2,8 @@
#include <limits>
#include <stdexcept>
#include <base/base64.hpp>
#include <base/baseN.hpp>
#include <basen/base64.hpp>
#include <basen/baseN.hpp>
namespace base64
{

View File

@ -3,7 +3,7 @@
#include <limits>
#include <stdexcept>
#include <base/baseN.hpp>
#include <basen/baseN.hpp>
static constexpr auto log256 = std::log(256);

View File

@ -15,7 +15,7 @@
#include <memory.h>
#include <stdlib.h>
#include <base/hash/sha256.hpp>
#include <basen/hash/sha256.hpp>
#define ROTLEFT(a,b) (((a) << (b)) | ((a) >> (32-(b))))
#define ROTRIGHT(a,b) (((a) >> (b)) | ((a) << (32-(b))))

View File

@ -1,8 +1,8 @@
#include <limits>
#include <stdexcept>
#include <base/baseN.hpp>
#include <base/hex.hpp>
#include <basen/baseN.hpp>
#include <basen/hex.hpp>
namespace hex
{

View File

@ -1,5 +1,5 @@
#include <base/hash/sha256.hpp>
#include <base/hex.hpp>
#include <basen/hash/sha256.hpp>
#include <basen/hex.hpp>
#include <gtest/gtest.h>
using namespace hash;

View File

@ -1,7 +1,7 @@
#include <utility>
#include <base/base58.hpp>
#include <base/hex.hpp>
#include <basen/base58.hpp>
#include <basen/hex.hpp>
#include <gtest/gtest.h>
using namespace base58;

View File

@ -1,7 +1,7 @@
#include <utility>
#include <base/base64.hpp>
#include <base/hex.hpp>
#include <basen/base64.hpp>
#include <basen/hex.hpp>
#include <gtest/gtest.h>
using namespace base64;

View File

@ -1,8 +1,8 @@
#include <utility>
#include <base/base58.hpp>
#include <base/baseN.hpp>
#include <base/hex.hpp>
#include <basen/base58.hpp>
#include <basen/baseN.hpp>
#include <basen/hex.hpp>
#include <gtest/gtest.h>
using namespace baseN;

View File

@ -1,4 +1,4 @@
#include <base/hex.hpp>
#include <basen/hex.hpp>
#include <gtest/gtest.h>
using namespace hex;