Skip to content

Instantly share code, notes, and snippets.

@xdevs23
Created May 13, 2023 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xdevs23/c62261497958d325f06f780acd2f0437 to your computer and use it in GitHub Desktop.
Save xdevs23/c62261497958d325f06f780acd2f0437 to your computer and use it in GitHub Desktop.
#include "limine.h"
#define LIMINE_REQUEST(kind, init) \
volatile struct limine_##kind##_request limine_##kind##_request = init; \
const struct limine_##kind##_response* limine_##kind##_response() { return limine_##kind##_request.response; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment