Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/compiled/user-config-test-namespace.h

Issue 29721697: Noissue - fix support of namespace, external user-config.h and debug configuration (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git@caf1800ce0342583de4c0320745f0fdb3b55bd01
Patch Set: get rid of the warning Created March 13, 2018, 6:17 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/compiled/library.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/compiled/user-config-test-namespace.h
diff --git a/compiled/bindings/library.h b/test/compiled/user-config-test-namespace.h
similarity index 75%
copy from compiled/bindings/library.h
copy to test/compiled/user-config-test-namespace.h
index d6255d754b8f20660c958c316162ddfae508c06d..3dcae31144507e1bf963cfd11c7c99fd8a4ffdc4 100644
--- a/compiled/bindings/library.h
+++ b/test/compiled/user-config-test-namespace.h
@@ -12,12 +12,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+ * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-extern "C"
-{
- int GetFunctionName(char* buffer, void* ptr, const char* signature);
-}
+#define ABP_NS test_abp_core
+#define ABP_NS_BEGIN namespace ABP_NS {
+#define ABP_NS_END }
+#define ABP_NS_USING using namespace ABP_NS;
+
« no previous file with comments | « test/compiled/library.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld