repo.or.cz
/
lispp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LispSymbol.h compiles.
[lispp.git]
/
LispFixNum.h
blob
04dc7d32159abc635ca976a9177bf99741feff84
1
2
#ifndef LISP_FIXNUM_H_INCLUDED
3
#define LISP_FIXNUM_H_INCLUDED
4
5
namespace
Lisp
6
{
7
struct
Fixnum
:
public
struct
LispObj
8
{
9
void
make
(
FixnumType v
)
10
{
11
setType
(
eFixnumObj
);
12
object
.
resize
(
1
);
13
object
[
0
] =
v
;
14
}
15
16
FixnumType
value
() {
17
return
object
[
0
];
18
}
19
};
20
21
22
}
23
24
#endif