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

Unified Diff: compiled/bindings/generator.h

Issue 29433621: Noissue - [emscripten] Make bindings slightly more efficient by resolving classes when mappings are… (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created May 8, 2017, 1:25 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 | « no previous file | compiled/bindings/generator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/bindings/generator.h
===================================================================
--- a/compiled/bindings/generator.h
+++ b/compiled/bindings/generator.h
@@ -199,24 +199,17 @@ namespace bindings_internal
const char* jsValue = "");
void register_method(TYPEID classID, const char* name,
const FunctionInfo& call);
void register_differentiator(TYPEID classID, size_t offset,
std::vector<std::pair<int, std::string>>& mapping);
- std::string generateCall(const FunctionInfo& call,
- std::vector<std::string>& params);
-
std::string wrapCall(const FunctionInfo& call, bool isFunction = true);
-
- void printHelpers();
-
- void printClass(const ClassInfo& cls);
}
template<typename ClassType,
typename BaseClass = bindings_internal::NoBaseClass,
typename std::enable_if<std::is_base_of<ref_counted, ClassType>::value>::type* = nullptr>
class class_
{
public:
« no previous file with comments | « no previous file | compiled/bindings/generator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld