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


Groups > comp.lang.c > #64848

Re: C extensions

From Noob <root@127.0.0.1>
Newsgroups comp.lang.c
Subject Re: C extensions
Date 2015-07-07 14:59 +0200
Organization A noiseless patient Spider
Message-ID <mngid3$tpg$1@dont-email.me> (permalink)
References <92323dc9-2741-4d39-ac07-6bc513114aaa@googlegroups.com>

Show all headers | View raw


On 06/07/2015 22:45, David Kleinecke wrote:

> [...] the extension I want to make - the . operator, if its left
> operand is a pointer, is equivalent to the -> operator.

For the record, GDB works like that.

https://sourceware.org/gdb/current/onlinedocs/gdb/C-Operators.html

. ->
  Structure member, and pointer-to-structure member. For convenience,
  gdb regards the two as equivalent, choosing whether to dereference
  a pointer based on the stored type information. Defined on struct
  and union data.

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


Thread

C extensions David Kleinecke <dkleinecke@gmail.com> - 2015-07-06 13:45 -0700
  Re: C extensions Richard Heathfield <rjh@cpax.org.uk> - 2015-07-06 21:59 +0100
    Re: C extensions BGB <cr88192@hotmail.com> - 2015-07-06 18:59 -0500
    Re: C extensions Ian Collins <ian-news@hotmail.com> - 2015-07-07 15:54 +1200
      Re: C extensions Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-07-06 21:05 -0700
        Re: C extensions Ian Collins <ian-news@hotmail.com> - 2015-07-07 17:52 +1200
      Re: C extensions BGB <cr88192@hotmail.com> - 2015-07-07 08:24 -0500
  Re: C extensions James Kuyper <jameskuyper@verizon.net> - 2015-07-06 18:46 -0400
    Re: C extensions David Kleinecke <dkleinecke@gmail.com> - 2015-07-07 08:20 -0700
      Re: C extensions "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-07-07 08:39 -0700
        Re: C extensions Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-07-09 05:41 -0700
          Re: C extensions Les Cargill <lcargill99@comcast.com> - 2015-07-09 22:18 -0500
      Re: C extensions James Kuyper <jameskuyper@verizon.net> - 2015-07-07 12:25 -0400
        Re: C extensions David Kleinecke <dkleinecke@gmail.com> - 2015-07-08 08:28 -0700
          Re: C extensions James Kuyper <jameskuyper@verizon.net> - 2015-07-08 12:24 -0400
            Re: C extensions David Kleinecke <dkleinecke@gmail.com> - 2015-07-09 09:25 -0700
              Re: C extensions James Kuyper <jameskuyper@verizon.net> - 2015-07-09 14:27 -0400
                Re: C extensions David Kleinecke <dkleinecke@gmail.com> - 2015-07-10 10:04 -0700
  Re: C extensions Noob <root@127.0.0.1> - 2015-07-07 14:59 +0200

csiph-web