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

Unified Diff: compiled/bindings/generator.h

Issue 29431555: Issue 5216 - [emscripten] Use a more reliable way of retrieving mangled function name (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Use std::string for function name rather than std::vector Created May 8, 2017, 10:12 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
Index: compiled/bindings/generator.h
===================================================================
--- a/compiled/bindings/generator.h
+++ b/compiled/bindings/generator.h
@@ -114,17 +114,17 @@ namespace bindings_internal
struct FunctionInfo
{
TypeCategory returnType;
TYPEID pointerType;
std::vector<TypeCategory> args;
bool instance_function;
int effectiveArgs;
TypeCategory effectiveReturnType;
- char name[1024];
+ std::string name;
FunctionInfo();
FunctionInfo(TypeCategory returnType, TYPEID pointerType,
std::initializer_list<TypeCategory> argTypes, bool instance_function,
void* function);
template<typename ReturnType, typename... Args>

Powered by Google App Engine
This is Rietveld