 Issue 29613616:
  Issue 6064 - Put C++ code into a configurable namespace  (Closed) 
  Base URL: https://github.com/adblockplus/adblockpluscore.git
    
  
    Issue 29613616:
  Issue 6064 - Put C++ code into a configurable namespace  (Closed) 
  Base URL: https://github.com/adblockplus/adblockpluscore.git
| 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
 | 
| + |