|
From: | Johannes Altmanninger |
Subject: | Re: [RP] select patch |
Date: | Thu, 19 Jun 2014 20:46:27 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 06/19/2014 08:27 PM, Jeff Abrahamson
wrote:
I have never done all this... How should I allocate curname? Is it: char curname[MAX_WINDOW_NAME_LENGTH]; Deallocating should just be `free(curname);`, right? Also I am a stuck at the function pointer. From what I understood it is a function, that takes the name and match_type and returns a comparison function Is this the right type? int (*compare_window_names)(char* name, int match_type) |
[Prev in Thread] | Current Thread | [Next in Thread] |