Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
flext
Commits
2d783994
Commit
2d783994
authored
Aug 14, 2002
by
thomas
Browse files
no message
git-svn-id:
https://svn.grrrr.org/ext/trunk@221
4d9ac71a-51e6-0310-8455-cad1006bcd31
parent
f4b85647
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/flclass.h
View file @
2d783994
...
...
@@ -327,7 +327,7 @@ public:
static
void
SetString
(
t_atom
&
a
,
const
char
*
c
)
{
SetSymbol
(
a
,
gensym
(
const_cast
<
char
*>
(
c
)));
}
static
bool
CanbeInt
(
const
t_atom
&
a
)
{
return
IsFloat
(
a
)
||
IsInt
(
a
);
}
static
floa
t
GetAInt
(
const
t_atom
&
a
)
{
return
GetAFlint
(
a
);
}
static
in
t
GetAInt
(
const
t_atom
&
a
)
{
return
(
int
)
GetAFlint
(
a
);
}
static
bool
IsFlint
(
const
t_atom
&
a
)
{
return
IsFloat
(
a
)
||
IsInt
(
a
);
}
static
float
GetAFlint
(
const
t_atom
&
a
)
{
return
IsFloat
(
a
)
?
GetFloat
(
a
)
:
(
IsInt
(
a
)
?
GetInt
(
a
)
:
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment