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
c9d18004
Commit
c9d18004
authored
Oct 30, 2002
by
thomas
Browse files
no message
git-svn-id:
https://svn.grrrr.org/ext/trunk@353
4d9ac71a-51e6-0310-8455-cad1006bcd31
parent
1a7b199b
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/flattr.cpp
View file @
c9d18004
...
...
@@ -14,7 +14,6 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#include "flext.h"
#include <string.h>
#include <stdio.h>
#ifdef MAXMSP
#define STD std
...
...
@@ -46,8 +45,8 @@ void flext_base::AddAttrItem(attritem *m)
void
flext_base
::
AddAttrib
(
const
char
*
attr
,
metharg
tp
,
methfun
gfun
,
methfun
sfun
)
{
if
(
procattr
)
{
char
tmp
[
1024
]
;
STD
::
sprintf
(
tmp
,
"get%s"
,
attr
);
char
tmp
[
256
]
=
"get"
;
strcpy
(
tmp
+
3
,
attr
);
AddAttrItem
(
new
attritem
(
MakeSymbol
(
attr
),
MakeSymbol
(
tmp
),
tp
,
gfun
,
sfun
));
AddMethod
(
0
,
attr
,(
methfun
)
cb_SetAttrib
,
a_any
,
a_null
);
...
...
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