rusty_jsc icon indicating copy to clipboard operation
rusty_jsc copied to clipboard

"rusty_jsc::" namespace inside macro

Open lizzz0523 opened this issue 1 year ago • 2 comments

Hello, when using rusty_jsc, I prefer to keep the rusty_jsc namespace (for example, rusty_jsc::JSValue). Most of the time, it works fine, but when using the callback macro, I found that I have to use use rusty_jsc::JSValue in the code. After checking the source code, I noticed that there is a part in the definition of the callback macro that directly uses JSValue (without the rusty_jsc namespace), and the constructor macro has a similar situation. Is there any specific reason for this?

lizzz0523 avatar Aug 29 '24 00:08 lizzz0523

@lizzz0523 Probably just an oversight. Feel free to send a PR to fix it up.

penberg avatar Aug 29 '24 04:08 penberg

@penberg 👌 I have submitted a pull request, please help review it.

lizzz0523 avatar Aug 29 '24 08:08 lizzz0523