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

Unified Diff: compiled/bindings/generator.h

Issue 29421701: Issue 5185 - [emscripten] More compact definition of class prototypes (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created April 25, 2017, 2:13 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
@@ -204,17 +204,17 @@ namespace bindings_internal
const FunctionInfo& call);
void register_differentiator(TYPEID classID, size_t offset,
std::vector<std::pair<int, std::string>>& mapping);
const std::string generateCall(const FunctionInfo& call,
std::vector<std::string>& params);
- const std::string wrapCall(const FunctionInfo& call);
+ const std::string wrapCall(const FunctionInfo& call, bool isFunction = true);
hub 2017/04/25 18:24:58 since we return a copy, do we really need the "con
Wladimir Palant 2017/04/26 05:52:55 The "const" modifier in C++ is really weird. Hey,
std::string generatePropertyDescriptor(const PropertyInfo& property);
void printHelpers();
void printClass(const ClassInfo& cls);
}
« 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