summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/benoit/d/ver.hh2
-rw-r--r--include/benoit/err/clsfil.hh7
-rw-r--r--include/benoit/err/wrttofil.hh7
-rw-r--r--include/benoit/print.hh1
-rw-r--r--include/benoit/t/pos.hh9
-rw-r--r--include/benoit/t/rgba.hh8
-rw-r--r--include/benoit/t/thrddat.hh3
7 files changed, 25 insertions, 12 deletions
diff --git a/include/benoit/d/ver.hh b/include/benoit/d/ver.hh
index 95e28b9..42fc054 100644
--- a/include/benoit/d/ver.hh
+++ b/include/benoit/d/ver.hh
@@ -1,6 +1,6 @@
# pragma once
namespace benoit {
namespace d {
- unsigned long long constexpr ver = 0xA;
+ unsigned long long constexpr ver = 0xB;
}
}
diff --git a/include/benoit/err/clsfil.hh b/include/benoit/err/clsfil.hh
new file mode 100644
index 0000000..ed853b9
--- /dev/null
+++ b/include/benoit/err/clsfil.hh
@@ -0,0 +1,7 @@
+# pragma once
+# include <string>
+namespace benoit {
+ namespace err {
+ void clsfil(std::string const fil) noexcept;
+ }
+}
diff --git a/include/benoit/err/wrttofil.hh b/include/benoit/err/wrttofil.hh
new file mode 100644
index 0000000..232d431
--- /dev/null
+++ b/include/benoit/err/wrttofil.hh
@@ -0,0 +1,7 @@
+# pragma once
+# include <string>
+namespace benoit {
+ namespace err {
+ void wrttofil(std::string const fil) noexcept;
+ }
+}
diff --git a/include/benoit/print.hh b/include/benoit/print.hh
index 64ad638..0f85fd3 100644
--- a/include/benoit/print.hh
+++ b/include/benoit/print.hh
@@ -1,6 +1,5 @@
# pragma once
# include <string>
namespace benoit {
- void print(char const * msg,bool stderr = false);
void print(std::string msg,bool stderr = false);
}
diff --git a/include/benoit/t/pos.hh b/include/benoit/t/pos.hh
index aa43522..697fdef 100644
--- a/include/benoit/t/pos.hh
+++ b/include/benoit/t/pos.hh
@@ -1,13 +1,12 @@
# pragma once
-# include <boost/multiprecision/mpfr.hpp>
namespace benoit {
namespace t {
class pos {
public:
- pos(boost::multiprecision::mpfr_float x = 0x0,boost::multiprecision::mpfr_float y = 0x0);
- long double x = 0x0;
- long double y = 0x0;
- long double zoom = 0x1;
+ pos(__float128 x = 0x0,__float128 y = 0x0);
+ __float128 x = 0x0;
+ __float128 y = 0x0;
+ __float128 zoom = 0x1;
};
}
}
diff --git a/include/benoit/t/rgba.hh b/include/benoit/t/rgba.hh
index e34112f..a1bdcf7 100644
--- a/include/benoit/t/rgba.hh
+++ b/include/benoit/t/rgba.hh
@@ -4,10 +4,10 @@ namespace benoit {
namespace t {
class rgba {
public:
- std::uint8_t a = 0xFF;
- std::uint8_t b = 0x0;
- std::uint8_t g = 0x0;
- std::uint8_t r = 0x0;
+ std::uint8_t a = 0xFFu;
+ std::uint8_t b = 0x0u;
+ std::uint8_t g = 0x0u;
+ std::uint8_t r = 0x0u;
};
}
}
diff --git a/include/benoit/t/thrddat.hh b/include/benoit/t/thrddat.hh
index 1318c00..85b3bfb 100644
--- a/include/benoit/t/thrddat.hh
+++ b/include/benoit/t/thrddat.hh
@@ -6,8 +6,9 @@ namespace benoit {
namespace t {
class thrddat {
public:
- pthread_t * thrd = nullptr;
benoit::t::rgba * img = nullptr;
+ bool * isrun = nullptr;
+ pthread_t * thrd = nullptr;
unsigned * id = nullptr;
unsigned long long * imgbegin = nullptr;
unsigned long long * imgend = nullptr;