bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing FIELD Object To Function


From: Thomas Dickey
Subject: Re: Passing FIELD Object To Function
Date: Sun, 29 Mar 2009 11:18:29 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Mar 17, 2009 at 06:48:09PM -0600, TW wrote:
>   I have a function (populate_edit_form) declared in a header as such:
...
> 
> I'm getting a blank form.  I could put all of this in one block, but, when I
> want to delete a record, I don't want to write duplicate code, hence, passing
> the FIELD, FORM, & WINDOW objects.  The address for the form is being passed
> to the function, but, I'm not sure if I'm declaring it right.  I'm still
> getting used to pointers and array-pointers.  Thanks.

I don't _see_ the problem.  It helps to have a standlone (small...) program
to run and see the problem.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]