Skip to content

Instantly share code, notes, and snippets.

@djdrzzy
Created September 15, 2012 23:28
Show Gist options
  • Save djdrzzy/3730327 to your computer and use it in GitHub Desktop.
Save djdrzzy/3730327 to your computer and use it in GitHub Desktop.
ConsRef ConsCreate(Object car, Object cdr) {
_consMade++;
ConsRef newCons = _ObjectInitialize(ConsTypeIdentifier, &_ConsDealloc, &_ConsDescription);
ConsSetCar(newCons, car);
ConsSetCdr(newCons, cdr);
return newCons;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment