mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
877 B
29 lines
877 B
10 years ago
|
--- !ditz.rubyforge.org,2008-03-06/issue
|
||
|
title: "optimize struct sizes: duk_small_(u)int_t is 32 bits"
|
||
|
desc: |-
|
||
|
Often a small type will suffice especially on 32-bit platforms.
|
||
|
For instance, it would be useful to have a type that would be
|
||
|
16-bit on memory constrained environments (or 8-bit, depending
|
||
|
on range) but would be an 'int' in non-constrained environments.
|
||
|
|
||
|
The existing C99 types don't cover this case, so a typedef is
|
||
|
needed.
|
||
|
|
||
|
This kind of type is needed e.g. in the compiler's duk_ispec/duk_ivalue
|
||
|
and other structures.
|
||
|
type: :task
|
||
|
component: duk
|
||
|
release:
|
||
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
||
|
status: :unstarted
|
||
|
disposition:
|
||
|
creation_time: 2014-07-04 09:44:53.056892 Z
|
||
|
references: []
|
||
|
|
||
|
id: eb7b1ae1235e10234590ff25a18cc1a607797a3d
|
||
|
log_events:
|
||
|
- - 2014-07-04 09:44:53.360835 Z
|
||
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
||
|
- created
|
||
|
- ""
|