Skip to content

Commit 1d112b3

Browse files
cleanup
1 parent f50e9a1 commit 1d112b3

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

include/PyBytesProxyHandler.hh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ public:
3434
) const override;
3535

3636
void finalize(JS::GCContext *gcx, JSObject *proxy) const override;
37-
38-
/**
39-
* @brief An array of method definitions for bytes prototype methods
40-
*
41-
*/
42-
static JSMethodDef array_methods[];
4337
};
4438

4539
#endif

src/PyBytesProxyHandler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static bool array_values(JSContext *cx, unsigned argc, JS::Value *vp) {
232232
}
233233

234234

235-
JSMethodDef PyBytesProxyHandler::array_methods[] = {
235+
static JSMethodDef array_methods[] = {
236236
{"toString", array_toString, 0},
237237
{"valueOf", array_valueOf, 0},
238238
{"entries", array_entries, 0},

0 commit comments

Comments
 (0)