The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,262 other subscribers

cdecl: C gibberish ↔ English

Posted by jpluimers on 2019/02/20

Cool site if I ever need to decipher C declarations again: [WayBackcdecl: C gibberish ↔ English.

You can even store the C code as a URL.

via:

–jeroen

2 Responses to “cdecl: C gibberish ↔ English”

  1. Clinton Johnson said

    The english feels a bit like gibberish as well..

    Type
    sqlite3OsDlSym = Procedure(P1,P2 : Pointer; Const P3: PChar);

    Is about the closest I can make out of the english and C….

    • Jürgen Krämer said

      Actually it’s

      type Psqlite3_vfs = ^sqlite3_vfs;

      function sqlite3OsDlSym(p1: Psqlite3_vfs; p2: Pointer; P3: PChar): TProc;

      (A function accepting three parameters which returns a pointer to a function without parameters and without a return type (a.k.a. a procedure).)

      The “const char *” cannot be expressed exactly in Delphi. In C it’s a pointer to one or more constant chars, not a constant pointer.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.