Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: webrtc/base/latebindingsymboltable.cc.def

Issue 2534593002: Get rid of webrtc/base/latebindingsymboltable* (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/latebindingsymboltable.cc ('k') | webrtc/base/latebindingsymboltable.h.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/latebindingsymboltable.cc.def
diff --git a/webrtc/base/latebindingsymboltable.cc.def b/webrtc/base/latebindingsymboltable.cc.def
deleted file mode 100644
index 6ddb2ae629f2763a62e64fd36c9836df21b805cf..0000000000000000000000000000000000000000
--- a/webrtc/base/latebindingsymboltable.cc.def
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright 2012 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-// This file is a supermacro
-// (see http://wanderinghorse.net/computing/papers/supermacros_cpp.html) to
-// expand a definition of a late-binding symbol table class.
-//
-// Arguments:
-// LATE_BINDING_SYMBOL_TABLE_CLASS_NAME: Name of the class to generate.
-// LATE_BINDING_SYMBOL_TABLE_SYMBOLS_LIST: List of symbols to load from the DLL,
-// as an X-Macro list (see http://www.drdobbs.com/blogs/cpp/228700289).
-// LATE_BINDING_SYMBOL_TABLE_DLL_NAME: String literal for the DLL file name to
-// load.
-//
-// From a .cc file, include the header file containing your call to the .h.def
-// supermacro, and then call this supermacro (optionally from inside the
-// namespace for the class to generate, if any). Example:
-//
-// #include "myclassname.h"
-//
-// namespace foo {
-//
-// #define LATE_BINDING_SYMBOL_TABLE_CLASS_NAME MY_CLASS_NAME
-// #define LATE_BINDING_SYMBOL_TABLE_SYMBOLS_LIST MY_SYMBOLS_LIST
-// #define LATE_BINDING_SYMBOL_TABLE_DLL_NAME "libdll.so.n"
-// #include "webrtc/base/latebindingsymboltable.cc.def"
-//
-// }
-
-#ifndef LATE_BINDING_SYMBOL_TABLE_CLASS_NAME
-#error You must define LATE_BINDING_SYMBOL_TABLE_CLASS_NAME
-#endif
-
-#ifndef LATE_BINDING_SYMBOL_TABLE_SYMBOLS_LIST
-#error You must define LATE_BINDING_SYMBOL_TABLE_SYMBOLS_LIST
-#endif
-
-#ifndef LATE_BINDING_SYMBOL_TABLE_DLL_NAME
-#error You must define LATE_BINDING_SYMBOL_TABLE_DLL_NAME
-#endif
-
-#define X(sym) #sym,
-const char* const LATE_BINDING_SYMBOL_TABLE_CLASS_NAME::kSymbolNames[] = {
- LATE_BINDING_SYMBOL_TABLE_SYMBOLS_LIST
-};
-#undef X
-
-const ::rtc::LateBindingSymbolTable::TableInfo
- LATE_BINDING_SYMBOL_TABLE_CLASS_NAME::kTableInfo = {
- LATE_BINDING_SYMBOL_TABLE_DLL_NAME,
- SYMBOL_TABLE_SIZE,
- LATE_BINDING_SYMBOL_TABLE_CLASS_NAME::kSymbolNames
-};
-
-LATE_BINDING_SYMBOL_TABLE_CLASS_NAME::LATE_BINDING_SYMBOL_TABLE_CLASS_NAME()
- : ::rtc::LateBindingSymbolTable(&kTableInfo, table_) {}
-
-LATE_BINDING_SYMBOL_TABLE_CLASS_NAME::~LATE_BINDING_SYMBOL_TABLE_CLASS_NAME() {}
-
-#undef LATE_BINDING_SYMBOL_TABLE_CLASS_NAME
-#undef LATE_BINDING_SYMBOL_TABLE_SYMBOLS_LIST
-#undef LATE_BINDING_SYMBOL_TABLE_DLL_NAME
« no previous file with comments | « webrtc/base/latebindingsymboltable.cc ('k') | webrtc/base/latebindingsymboltable.h.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698