Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #71375

Re: just curious:Equel

From August Karlstrom <fusionfile@gmail.com>
Newsgroups comp.lang.c
Subject Re: just curious:Equel
Date 2015-09-28 18:00 +0200
Organization Aioe.org NNTP Server
Message-ID <mubo6t$3sp$1@speranza.aioe.org> (permalink)
References (13 earlier) <kfnlhcfld75.fsf@x-alumni2.alumni.caltech.edu> <msrehd$d8j$1@speranza.aioe.org> <kfna8sskc6s.fsf@x-alumni2.alumni.caltech.edu> <mt1hp5$qal$1@speranza.aioe.org> <kfn1tdkg4u0.fsf@x-alumni2.alumni.caltech.edu>

Show all headers | View raw


On 2015-09-27 01:04, Tim Rentsch wrote:
 >>>> On 2015-09-09 19:22, Tim Rentsch wrote:
>>>>> Incidentally, you probably know this, but these NEW's can be used as
>>>>> parts of declarations:
>>>>>
>>>>> int *NEW( stuff, 20 );
[...]
> Given your comments about macros NEW(), etc, how would you
> write an allocating declaration that started, eg,
>
>      struct foo *const ...
>
> ?

OK, here you seem to have a use-case for

	struct foo *const NEW(v) ...

I must admit that I have never used constant pointers in my programs.


-- August

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-09 10:22 -0700
  Re: just curious:Equel August Karlstrom <fusionfile@gmail.com> - 2015-09-10 10:21 +0200
    Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-11 12:06 -0700
      Re: just curious:Equel August Karlstrom <fusionfile@gmail.com> - 2015-09-12 17:53 +0200
        Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-26 16:04 -0700
          Re: just curious:Equel Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-09-26 16:17 -0700
            Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-10-01 12:53 -0700
          Re: just curious:Equel August Karlstrom <fusionfile@gmail.com> - 2015-09-28 18:00 +0200
            Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-10-01 12:51 -0700
    Re: just curious:Equel Philip Lantz <prl@canterey.us> - 2015-09-23 22:18 -0700
      Re: just curious:Equel August Karlstrom <fusionfile@gmail.com> - 2015-09-24 10:08 +0200
        Re: just curious:Equel Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-09-24 10:23 +0100
          Re: just curious:Equel Philip Lantz <prl@canterey.us> - 2015-09-24 10:28 -0700
            Re: just curious:Equel Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-09-24 19:56 +0100
        Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-26 16:16 -0700
          Re: just curious:Equel August Karlstrom <fusionfile@gmail.com> - 2015-09-28 08:18 +0200
      Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-26 16:10 -0700
        Re: just curious:Equel supercat@casperkitty.com - 2015-09-27 11:40 -0700
          Re: just curious:Equel Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-29 10:03 -0700

csiph-web