URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
int ggggg();
|
int ggggg();
|
struct string {
|
struct string {
|
static int _S_empty_rep_storage[];
|
static int _S_empty_rep_storage[];
|
void _M_destroy();
|
void _M_destroy();
|
char* _M_rep;
|
char* _M_rep;
|
~string()
|
~string()
|
{
|
{
|
if (_M_rep != (char*)&_S_empty_rep_storage )
|
if (_M_rep != (char*)&_S_empty_rep_storage )
|
if (ggggg() <= 0)
|
if (ggggg() <= 0)
|
_M_destroy();
|
_M_destroy();
|
}
|
}
|
};
|
};
|
extern void SDL_FreeSurface(int surface);
|
extern void SDL_FreeSurface(int surface);
|
struct scoped_resource {
|
struct scoped_resource {
|
~scoped_resource() {
|
~scoped_resource() {
|
SDL_FreeSurface(1);
|
SDL_FreeSurface(1);
|
}
|
}
|
};
|
};
|
struct surface {
|
struct surface {
|
scoped_resource surface_;
|
scoped_resource surface_;
|
};
|
};
|
struct button {
|
struct button {
|
string help_text_;
|
string help_text_;
|
string label_;
|
string label_;
|
surface image_;
|
surface image_;
|
};
|
};
|
struct scrollbar {
|
struct scrollbar {
|
string help_text_;
|
string help_text_;
|
button uparrow_;
|
button uparrow_;
|
};
|
};
|
scrollbar a;
|
scrollbar a;
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.