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: Fix debug.h to be aligned with assert2 (define vs function) and get rid of a warning in generator.cpp Created Nov. 21, 2017, 2: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
« compiled/filter/ElemHideEmulationFilter.cpp ('K') | « 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
hub 2017/11/21 16:48:39 I think we should just need to define ABP_NS. #de
sergei 2017/11/22 09:39:27 I just tried to keep it small and simple :) but I
+
« compiled/filter/ElemHideEmulationFilter.cpp ('K') | « compiled/traceInit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld