commit | eefac35594980b517f92261ac8baa26d8d320e96 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Sun Jul 01 22:09:29 2001 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Sun Jul 01 22:09:29 2001 +0000 |
tree | 24dfcd3b04c602e08d3151aeab00d8cf199d57f8 | |
parent | 340d98f564ac3ce8ee46b1f2c4f382718c10effe [diff] |
Added WeakLink...Generator classes (should have done that ages ago). These check the c-function pointer for being NULL before calling it and raise UnimplementedError if it is. This allows system libs to be weak-linked, thereby allowing us to generate functions that are only available on some OS versions without getting a NULL dereference if the function isn't available.