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
nerrons
purr-data
Commits
ceeacdfe
Commit
ceeacdfe
authored
Jul 30, 2018
by
Jonathan Wilkes
Browse files
Merge branch 'pranay_36/purr-data-pd-l2ork_double'
parents
e5631e88
c6a3bd3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/x_interface.c
View file @
ceeacdfe
...
...
@@ -12,11 +12,19 @@
#include <stdlib.h>
#include <stdio.h>
#if PD_FLOATSIZE == 32
#define FLOAT_SPECIFIER "%s%s%.6g"
#elif PD_FLOATSIZE == 64
#define FLOAT_SPECIFIER "%s%s%.14lg"
#endif
/* we need the following for [pdinfo] ... */
#define MAXNDEV 20
#define DEVDESCSIZE 80
/* -------------------------- print ------------------------------ */
t_class
*
print_class
;
...
...
@@ -86,7 +94,7 @@ static void print_pointer(t_print *x, t_gpointer *gp)
static
void
print_float
(
t_print
*
x
,
t_floatarg
f
)
{
if
(
sys_nogui
)
post
(
"%s%s%g"
,
x
->
x_sym
->
s_name
,
(
*
x
->
x_sym
->
s_name
?
": "
:
""
),
f
);
post
(
FLOAT_SPECIFIER
,
x
->
x_sym
->
s_name
,
(
*
x
->
x_sym
->
s_name
?
": "
:
""
),
f
);
else
{
gui_start_vmess
(
"gui_print"
,
"xs"
,
x
,
x
->
x_sym
->
s_name
);
...
...
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