From 8b96a3c3324d0dd688a232bddce4e7b4649fea8e Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Thu, 13 Dec 2018 11:00:52 +0900 Subject: [PATCH] move bn_c_impl.hpp to public --- {src => include/mcl/impl}/bn_c_impl.hpp | 4 ++++ src/bn_c256.cpp | 2 +- src/bn_c384.cpp | 2 +- src/bn_c384_256.cpp | 2 +- src/bn_c512.cpp | 2 +- src/she_c_impl.hpp | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) rename {src => include/mcl/impl}/bn_c_impl.hpp (99%) diff --git a/src/bn_c_impl.hpp b/include/mcl/impl/bn_c_impl.hpp similarity index 99% rename from src/bn_c_impl.hpp rename to include/mcl/impl/bn_c_impl.hpp index a31b4f8..7d92fe6 100644 --- a/src/bn_c_impl.hpp +++ b/include/mcl/impl/bn_c_impl.hpp @@ -1,3 +1,7 @@ +/* + This is an internal header + Do not include this +*/ #define MCLBN_DLL_EXPORT #include diff --git a/src/bn_c256.cpp b/src/bn_c256.cpp index 5c30074..2f975a2 100644 --- a/src/bn_c256.cpp +++ b/src/bn_c256.cpp @@ -2,5 +2,5 @@ implementation of mclBn_* apis */ #define MCLBN_FP_UNIT_SIZE 4 -#include "bn_c_impl.hpp" +#include "mcl/impl/bn_c_impl.hpp" diff --git a/src/bn_c384.cpp b/src/bn_c384.cpp index 067e728..934a078 100644 --- a/src/bn_c384.cpp +++ b/src/bn_c384.cpp @@ -3,5 +3,5 @@ */ #define MCLBN_FP_UNIT_SIZE 6 #define MCLBN_FR_UNIT_SIZE 6 -#include "bn_c_impl.hpp" +#include "mcl/impl/bn_c_impl.hpp" diff --git a/src/bn_c384_256.cpp b/src/bn_c384_256.cpp index 5630e83..ecd968e 100644 --- a/src/bn_c384_256.cpp +++ b/src/bn_c384_256.cpp @@ -3,5 +3,5 @@ */ #define MCLBN_FP_UNIT_SIZE 6 #define MCLBN_FR_UNIT_SIZE 4 -#include "bn_c_impl.hpp" +#include "mcl/impl/bn_c_impl.hpp" diff --git a/src/bn_c512.cpp b/src/bn_c512.cpp index 90be2d9..7c10295 100644 --- a/src/bn_c512.cpp +++ b/src/bn_c512.cpp @@ -2,5 +2,5 @@ implementation of mclBn_* apis */ #define MCLBN_FP_UNIT_SIZE 8 -#include "bn_c_impl.hpp" +#include "mcl/impl/bn_c_impl.hpp" diff --git a/src/she_c_impl.hpp b/src/she_c_impl.hpp index 723765a..073bc2b 100644 --- a/src/she_c_impl.hpp +++ b/src/she_c_impl.hpp @@ -5,7 +5,7 @@ #include #include #include -#include "../src/bn_c_impl.hpp" +#include "mcl/impl/bn_c_impl.hpp" #define MCLSHE_DLL_EXPORT #include