Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#438 closed task (fixed)

Add a jsval wrapper type

Reported by: Philip Taylor Owned by: Philip Taylor
Priority: Should Have Milestone:
Component: UI & Simulation Keywords:
Cc: Patch:

Description

Some of the code uses jsval as a template type parameter, particularly in ToJSVal/FromJSVal. Since jsval is a typedef of unsigned long (or something like that), it conflicts with the normal integer type and things will break. (The current code doesn't even compile on 32-bit Linux).

So there should be a special type (maybe a ScriptVal or something) which just wraps a jsval, and can be used as a distinct type for templates.

Change History (2)

comment:1 by Philip Taylor, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset be3699da3314.

comment:2 by (none), 14 years ago

Milestone: Simulation stage 2

Milestone Simulation stage 2 deleted

Note: See TracTickets for help on using tickets.