graydon/rust — Issue #1071: Allow referencing non-function symbols in native modules
Author: elly
Created: 2011-10-25 03:55:57+00:00
State: open

For example, libncurses relies heavily on a global pointer called stdscr, which has to be passed to many functions (e.g. keypad(3)). In general, it should be possible to extract non-functions from C libraries.