aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-23 15:01:49 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-23 15:01:49 +0200
commit550866620acba97407e14dbc95ad5747d64ee3d6 (patch)
treebb7fb8495968721e15317902221599ce4309bbf2 /common/nextpnr.h
parentc8e7249440c940cca6e15640809f6cb864022249 (diff)
downloadnextpnr-550866620acba97407e14dbc95ad5747d64ee3d6.tar.gz
nextpnr-550866620acba97407e14dbc95ad5747d64ee3d6.tar.bz2
nextpnr-550866620acba97407e14dbc95ad5747d64ee3d6.zip
removed all deprecated unused api calls
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r--common/nextpnr.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h
index 9c6c9d68..47b4d61a 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -81,77 +81,11 @@ struct IdString
// --- deprecated old API ---
- IdString(const std::string &s) __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- set(global_ctx, s);
- }
-
- IdString(const char *s) __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- set(global_ctx, s);
- }
-
const std::string &global_str() const __attribute__((deprecated))
{
assert(global_ctx != nullptr);
return str(global_ctx);
}
-
- const std::string &str() const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return str(global_ctx);
- }
-
- const char *c_str() const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return c_str(global_ctx);
- }
-
- operator const char *() const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return c_str(global_ctx);
- }
-
- operator const std::string &() const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return str(global_ctx);
- }
-
- bool operator==(const std::string &s) const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return str(global_ctx) == s;
- }
-
- bool operator==(const char *s) const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return str(global_ctx) == s;
- }
-
- bool operator!=(const std::string &s) const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return str(global_ctx) != s;
- }
-
- bool operator!=(const char *s) const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return str(global_ctx) != s;
- }
-
- size_t size() const __attribute__((deprecated))
- {
- assert(global_ctx != nullptr);
- return str(global_ctx).size();
- }
};
NEXTPNR_NAMESPACE_END