Commit 122797e
src: remove duplicate logic for getting buffer
We were fetching the buffer from the float array to send out the
response in js land, however that logic is being duplicated in
node_process.h. Now they will be using an inline to fetch the array
buffers and making it more generic.
PR-URL: #34553
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>1 parent fbe210b commit 122797eCopy full SHA for 122797e
File tree
Expand file treeCollapse file tree
1 file changed
+13
-12
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+13
-12
lines changedOpen diff view settings
Collapse file
src/node_process_methods.cc
Copy file name to clipboardExpand all lines: src/node_process_methods.cc+13-12Lines changed: 13 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
89 | 89 | |
90 | 90 | |
91 | 91 | |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
92 | 102 | |
93 | 103 | |
94 | 104 | |
| ||
104 | 114 | |
105 | 115 | |
106 | 116 | |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
| 117 | + |
111 | 118 | |
112 | 119 | |
113 | 120 | |
| ||
174 | 181 | |
175 | 182 | |
176 | 183 | |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
| 184 | + |
181 | 185 | |
182 | 186 | |
183 | 187 | |
| ||
263 | 267 | |
264 | 268 | |
265 | 269 | |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
| 270 | + |
270 | 271 | |
271 | 272 | |
272 | 273 | |
|
0 commit comments