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: Removed bogus const modifiers Created April 26, 2017, 5:51 a.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
@@ -201,22 +201,20 @@ 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);
- const std::string generateCall(const FunctionInfo& call,
+ std::string generateCall(const FunctionInfo& call,
std::vector<std::string>& params);
- const std::string wrapCall(const FunctionInfo& call);
-
- std::string generatePropertyDescriptor(const PropertyInfo& property);
+ std::string wrapCall(const FunctionInfo& call, bool isFunction = true);
void printHelpers();
void printClass(const ClassInfo& cls);
}
template<typename ClassType,
typename BaseClass = bindings_internal::NoBaseClass,
« 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