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
7d8d59e0
Commit
7d8d59e0
authored
Oct 10, 2002
by
thomas
Browse files
no message
git-svn-id:
https://svn.grrrr.org/ext/trunk@303
4d9ac71a-51e6-0310-8455-cad1006bcd31
parent
f43ebabb
Changes
2
Hide whitespace changes
Inline
Side-by-side
readme.txt
View file @
7d8d59e0
...
...
@@ -82,6 +82,7 @@ Version history:
- SndObj interface now also available for cygwin and BCC
- added Makefiles for OSX/darwin (originally done by Adam T. Lindsay)
- added prepend and append functions to AtomList class
- added CanbeBool and GetABool function
0.3.3:
- PD: fixed bug for DSP objects having no signal inlets
...
...
source/flclass.h
View file @
7d8d59e0
...
...
@@ -441,6 +441,11 @@ public:
//! Check for an integer and get its value
static
int
GetAInt
(
const
t_atom
&
a
)
{
return
(
int
)
GetAFlint
(
a
);
}
//! Check whether the atom can be represented as a boolean
static
bool
CanbeBool
(
const
t_atom
&
a
)
{
return
CanbeInt
(
a
);
}
//! Check for an boolean and get its value
static
bool
GetABool
(
const
t_atom
&
a
)
{
return
GetAInt
(
a
)
!=
0
;
}
//! Check whether the atom is a float or integer (depending on the system)
static
bool
IsFlint
(
const
t_atom
&
a
)
{
return
IsFloat
(
a
)
||
IsInt
(
a
);
}
//! Check for a float or integer and get its value
...
...
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