Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by jsnell

3 years ago

> The directive is well-specified, currently, in all cases to generate a comma-delimited list of integers

I.e. you most likely use it to initialize a static variable, and then refer to that variable.

2 comments

jsnell

Reply

junon  3 years ago

Ah so this basically?

    static const char d[]={
    #embed ...
    };

EDIT: ah it was showing up more like a comment which made it hard to spot.

  • jonathrg  3 years ago

    Yes. There is an example in the article

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities