Commit 92961d7
authored
Expose JS_NewCFunction3 (#877)
Useful if you want to set the prototype of a constructor to its parent
constructor when creating a custom type hierarchy.
(e.g. in browsers, `Text.__proto__` == `CharacterData`, and to implement
this you can pass the `CharacterData` constructor as `proto_val`.)1 parent 26581b9 commit 92961d7
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5242 | 5242 | | |
5243 | 5243 | | |
5244 | 5244 | | |
5245 | | - | |
5246 | | - | |
5247 | | - | |
5248 | | - | |
| 5245 | + | |
| 5246 | + | |
| 5247 | + | |
| 5248 | + | |
5249 | 5249 | | |
5250 | 5250 | | |
5251 | 5251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
1009 | 1013 | | |
1010 | 1014 | | |
1011 | 1015 | | |
| |||
0 commit comments