Skip to content

Instantly share code, notes, and snippets.

View andymatuschak's full-sized avatar

Andy Matuschak andymatuschak

View GitHub Profile
class Test
{
int s;
void foo()
{
int foo, bar;
bar.baz[4] = 4;
}
}
int *foo()
{
int x = 4;
return &x;
}
void tester()
{
int *x = foo();
*x = 8; // NOT OKAY
//
// PXImageBackground.h
// Pixen-XCode
//
// Copyright (c) 2003,2004,2005 Open Sword Group
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use,copy, modify, merge, publish, distribute, sublicense, and/or sell
//
// PXImageBackground.h
// Pixen-XCode
//
// Copyright (c) 2003,2004,2005 Open Sword Group
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use,copy, modify, merge, publish, distribute, sublicense, and/or sell

Keybase proof

I hereby claim:

  • I am andymatuschak on github.
  • I am andymatuschak (https://keybase.io/andymatuschak) on keybase.
  • I have a public key whose fingerprint is 289E CB4D BCC9 5D3A 71BD 6795 14CB 9F07 992C D348

To claim this, I am signing this object: