summaryrefslogtreecommitdiff
path: root/c/lib_obj.c
Commit message (Collapse)AuthorAgeFilesLines
* Python3 compatArmin Rigo2016-06-051-1/+1
|
* Haaaack! Have 'lib.__class__' return &PyModule_Type. It makesArmin Rigo2016-05-251-3/+7
| | | | | | | | | help(lib) behave and display a nice module-like view of your compiled lib. Note that this is seriously unexpected, but I hope nobody should get hit by it by looking at 'lib.__class__' directly... Might be reverted if I hear about someone :-)
* fix: Lib objects didn't have the cyclic GC enabledArmin Rigo2016-05-251-3/+3
|
* Support help(lib.foo)Armin Rigo2016-04-191-36/+69
|
* Another error case missingArmin Rigo2015-12-111-0/+2
|
* Add a __class__ attribute on lib objectsArmin Rigo2015-12-111-3/+11
|
* update the code to use 'extern "Python"'Armin Rigo2015-11-181-2/+2
|
* in-progressArmin Rigo2015-11-131-1/+1
|
* tweak tweak tweak until we can at least read the function pointer out ofArmin Rigo2015-11-131-0/+10
| | | | the 'lib' object
* Explicitly protect against variables that end up resolving at address NULL,Armin Rigo2015-07-061-2/+2
| | | | which can occur in random cases like test_macro_var_callback
* Refactor the way global variables are accessed. Now, every access toArmin Rigo2015-07-031-13/+29
| | | | | "lib.var" calls a generated C function to get "&var". This fixes issue #212 and also make it work in more cases, like __thread variables.
* Test and fix: Python 3.5 (at least the current beta) is unhappyArmin Rigo2015-06-261-0/+5
| | | | with module-like objects without a '__name__'
* Redo lib.__dict__, like in the in-line mode. Figured out that it's likeArmin Rigo2015-06-191-0/+31
| | | | | lib.__all__: a special attribute that can be shadowed if necessary because it's not essential.
* "from foo.lib import *"Armin Rigo2015-06-151-18/+37
|
* Some detailsArmin Rigo2015-06-071-1/+1
|
* Issue 200: bad interaction between "ffi.typeof(function_t)" andArmin Rigo2015-05-301-12/+19
| | | | attribute access "lib.function"
* Better compatibility: detect if we have an old cffi running a new ABIArmin Rigo2015-05-281-0/+3
| | | | | mode script that makes use of the new OP_CONSTANT feature --- now renamed to OP_DLOPEN_CONST.
* ABI mode: allow constants of any type, which are looked up from the libArmin Rigo2015-05-281-12/+19
| | | | on their first access.
* Issue #198 bis: fix for constants of unknown sizeArmin Rigo2015-05-281-1/+4
|
* Issue 198: corrupted constant of type 'struct'Armin Rigo2015-05-281-1/+11
| | | | Thanks Lisandro!
* ffi.addressof(lib, "function") now returns a regular cdata function pointerArmin Rigo2015-05-261-22/+39
|
* CommentArmin Rigo2015-05-261-0/+5
|
* test and fixArmin Rigo2015-05-171-0/+2
|
* ffi.dlclose(). Global variables.Armin Rigo2015-05-161-13/+15
|
* Various tweaks until we get some more-or-less complete dlopen() supportArmin Rigo2015-05-161-24/+34
|
* Python 3 compatArmin Rigo2015-05-121-2/+2
|
* the big Moving Files Around stepArmin Rigo2015-05-121-0/+495