emscripten-core / emscripten-core/emscripten

webidl: Why remove the underline of a variable or function

Open
#12,495 4 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

![image](https://user-images.githubusercontent.com/45194746/95725477-4a922f00-0caa-11eb-8393-e6d6b80a3bdf.png)

`
class Test{
public:
Test();
~Test();
void _getInnerData(){
return _innerData;
}
double _innerData;
}
`
webidl will remov '_' . convert '_getInnerData()' to 'getInnerData()', convert '_innerData' to 'innerData'.
why???

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.