[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alternate window creation
From: |
Bryan Christ |
Subject: |
Re: alternate window creation |
Date: |
Tue, 24 Feb 2009 11:28:17 -0600 |
oops... traditional code should have been:
WINDOW *my_win2;
my_win=newwin(10,10,1,1);
:/
On Tue, 2009-02-24 at 17:26 +0000, Christ, Bryan wrote:
> I'm looking for a way to do this:
>
> WINDOW my_win1;
> new_win(&my_win,10,10,1,1); /* <--pseudo func */
>
> Instead of the traditional:
>
> WINDOW *my_win2;
> my_win=(newwin,10,10,1,1);
>
>
> I know that I could just memcpy() my_win2* to my_win1 but I worry that
> may cause problems and risk portability.
>
> Any thoughts?
>
>
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-ncurses