Closed Bug 1914019 Opened 11 months ago Closed 11 months ago

Rename the template helper methods

Categories

(Toolkit :: UniFFI Bindings, enhancement)

enhancement

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 to cpp_arg_list to match.

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.

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
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: