Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: elfring@users.sourceforge.net (SF Markus Elfring)
To: cocci@systeme.lip6.fr
Subject: [Cocci] minor issue: pretty printing for modified functions as arguments
Date: Fri, 03 Oct 2014 09:55:36 +0200	[thread overview]
Message-ID: <542E5678.5040804@users.sourceforge.net> (raw)
In-Reply-To: <20141001184054.GM14081@wotan.suse.de>

> Subject: [PATCH] module: add extra argument for parse_params() callback
> 
> This adds an extra argument onto parse_params() to be used
> as a way to make the unused callback a bit more useful and
> generic by allowing the caller to pass on a data structure
> of its choice.

How do you think about to reuse a type definition for such callback functions?
Was such an implementation detail also discussed on a mailing list or forum
already?

Regards,
Markus

      parent reply	other threads:[~2014-10-03  7:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01 18:40 [Cocci] minor issue: pretty printing for modified functions as arguments Luis R. Rodriguez
2014-10-01 19:49 ` SF Markus Elfring
2014-10-01 20:10   ` Luis R. Rodriguez
2014-10-01 22:03     ` Julia Lawall
2014-10-02  6:39 ` Julia Lawall
2014-10-02 20:47   ` Luis R. Rodriguez
2014-10-03  7:55 ` SF Markus Elfring [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542E5678.5040804@users.sourceforge.net \
    --to=elfring@users.sourceforge.net \
    --cc=cocci@systeme.lip6.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox