emscripten-core/emscripten
Ver no GitHubWebIDL + JSImplementation + DOMString
Open
#10.705 aberto em 17 de mar. de 2020
good first bughelp wanted
Métricas do repositório
- Stars
- (27.361 stars)
- Métricas de merge de PR
- (Mesclagem média 19d 10h) (147 fundiu PRs em 30d)
Description
The following IDL does not generate correct bindings:
interface CTest
{
void CTest();
void OnStartElement([Const] DOMString pszName, [Const] DOMString[] papszAttrs);
};
[JSImplementation = "CTest"]
interface CTestJS {
void CTestJS();
void OnStartElement([Const] DOMString pszName, [Const] DOMString[] papszAttrs);
};
Specifically both pszName + papszAttrs end up in the JS code as pointers.