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

Unified Diff: compiled/user.h

Issue 29613616: Issue 6064 - Put C++ code into a configurable namespace (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git
Patch Set: Created Nov. 21, 2017, 1:53 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 | « compiled/traceInit.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/user.h
diff --git a/compiled/bindings/library.h b/compiled/user.h
similarity index 80%
copy from compiled/bindings/library.h
copy to compiled/user.h
index d6255d754b8f20660c958c316162ddfae508c06d..46b669b63c3afc6f6f25eafa42fd3499fd63324a 100644
--- a/compiled/bindings/library.h
+++ b/compiled/user.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
+#define ABP_NS_BEGIN
+#define ABP_NS_END
+#define ABP_NS_USING
+
« no previous file with comments | « compiled/traceInit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld