Closed Bug 552525 Opened 15 years ago Closed 15 years ago

Get rid of container classes with static functions in CTypes.h/cpp

Categories

(Core :: js-ctypes, defect, P1)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dwitte, Assigned: dwitte)

References

Details

Attachments

(1 file)

Right now we have all the various CTypes functions declared in empty classes as static functions. We should use a namespace for them instead, and move static JSAPI callback declarations into CTypes.cpp directly.
P1, need this for 1.9.3. (Trivial to fix, and silly code is silly.)
Priority: -- → P1
Attached patch patch v1 (deleted) — Splinter Review
Changes definitions from 'class Foo' to 'namespace Foo', and moves JSAPI functions into CTypes.cpp. No substantive code changes.
Assignee: nobody → dwitte
Status: NEW → ASSIGNED
Attachment #435066 - Flags: review?(bnewman)
Blocks: 538324
Comment on attachment 435066 [details] [diff] [review] patch v1 Looks good.
Attachment #435066 - Flags: review?(bnewman) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: