Skip to content

Instantly share code, notes, and snippets.

@fredreichbier
Created April 25, 2010 10:54
Show Gist options
  • Save fredreichbier/378327 to your computer and use it in GitHub Desktop.
Save fredreichbier/378327 to your computer and use it in GitHub Desktop.
rock_tmp/./extern.c: In function 'bar':
rock_tmp/./extern.c:20: error: 'extern__CClass' has no member named 'foo'
rock_tmp/./extern.c: At top level:
rock_tmp/./extern.c:69: error: redefinition of 'bar'
rock_tmp/./extern.c:19: note: previous definition of 'bar' was here
C compiler failed, aborting compilation process
bar: unmangled func (t: C) {
}
C: class {
foo: extern(bar) func
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment