Skip to content

Instantly share code, notes, and snippets.

View leowhitehead's full-sized avatar
💭
linking my repos to other repos or whatever it is people do on github

Leo Whitehead leowhitehead

💭
linking my repos to other repos or whatever it is people do on github
View GitHub Profile

Keybase proof

I hereby claim:

  • I am leowhitehead on github.
  • I am leowhitehead (https://keybase.io/leowhitehead) on keybase.
  • I have a public key whose fingerprint is D0A2 D1F2 5C71 2DCE 8186 7044 397A F8DE 9B24 878D

To claim this, I am signing this object:

@leowhitehead
leowhitehead / buffer.c
Last active November 13, 2018 03:05
stretchy buffer
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
#include <ctype.h>
#include <string.h>
#include <stdarg.h>
#define MAX(x, y) ((x) >= (y) ? (x) : (y))