Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!uunet!mcsun!hp4nl!fwi.uva.nl!freek From: freek@fwi.uva.nl (Freek Wiedijk) Newsgroups: comp.lang.misc Subject: Re: On whether C has first-class composable functions Message-ID: <1611@carol.fwi.uva.nl> Date: 27 Jan 91 21:43:21 GMT References: <4408:Jan421:44:3391@kramden.acf.nyu.edu> <305@smds.UUCP> <1991Jan26.132913.11358@spool.cs.wisc.edu> Sender: news@fwi.uva.nl Lines: 14 quale@picard.cs.wisc.edu (Douglas E. Quale) writes: > How do I >dynamically allocate function objects in C?? Huh? How do you dynamically allocate NON-function objects in C?? Answer: you use a library routine called malloc. So, all you need is a routine called "falloc" in your library... While the implementation of falloc clearly can't be portable, the same holds for malloc. Freek "the Pistol Major" Wiedijk E-mail: freek@fwi.uva.nl #P:+/ = #+/P?*+/ = i<<*+/P?*+/ = +/i<<**P?*+/ = +/(i<<*P?)*+/ = +/+/(i<<*P?)**