Closed
Bug 1914019
Opened 11 months ago
Closed 11 months ago
Rename the template helper methods
Categories
(Toolkit :: UniFFI Bindings, enhancement)
Toolkit
UniFFI Bindings
Tracking
()
RESOLVED
FIXED
131 Branch
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: bdk, Assigned: bdk)
Details
Attachments
(1 file)
Let's update the naming convention for helper functions used in the template code. rust_name
and nm
don't convey much meaning. Instead lets use:
js_name
for names used in the JS code.cpp_name
for names used in the C++ code.- Let's also rename methods like
rust_arg_list
tocpp_arg_list
to match.
Assignee | ||
Comment 1•11 months ago
|
||
The "js_" or "cpp_" prefixes help clarify the differences between
similar methods. "js_name" is the name of something in the JS code and
"cpp_name" is the name of something in the C++ code.
Updated•11 months ago
|
Assignee: nobody → bdeankawamura
Status: NEW → ASSIGNED
Pushed by bdeankawamura@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78ee73dce535
Rename UniFFI template helper methods, r=lina
Comment 3•11 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox131:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•