Re: select patch
Johannes Altmanninger <[email protected]> Thu, 19 Jun 2014 20:46:27 +0200
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
On 06/19/2014 08:27 PM, Jeff Abrahamson wrote: > Thanks! This looks good, up to my late-afternoon ability to review > code. I trust anyway that you'll eventually test it, too. ;-) > > Do you ever allocate or deallocate curname? > > > Jeff Abrahamson 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) _______________________________________________ Ratpoison-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ratpoison-devel