diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-04-01 10:56:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-04-01 10:56:48 +0300 |
commit | 42a9f334c8f70b4785151864c1e8b833c0c134ee (patch) | |
tree | a3c0e2f92b6f340adf6e602598a964fd4bcfd85f /source/blender/python/intern/stubs.c | |
parent | 4738ae085dcfb6698c52060e3d68c83170760181 (diff) |
Update stub for recent BPY API
Diffstat (limited to 'source/blender/python/intern/stubs.c')
-rw-r--r-- | source/blender/python/intern/stubs.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/source/blender/python/intern/stubs.c b/source/blender/python/intern/stubs.c index e0508359e13..cc186be60ea 100644 --- a/source/blender/python/intern/stubs.c +++ b/source/blender/python/intern/stubs.c @@ -32,11 +32,16 @@ #include "BPY_extern.h" +#if defined(__GNUC__) +# pragma GCC diagnostic error "-Wmissing-prototypes" +# pragma GCC diagnostic ignored "-Wunused-parameter" +#endif + /* python, will come back */ //void BPY_script_exec(void) {} //void BPY_python_start(void) {} //void BPY_text_free_code(void) {} -void BPY_pyconstraint_exec(struct bPythonConstraint *UNUSED(con), struct bConstraintOb *UNUSED(cob), struct ListBase *UNUSED(targets)) {} -void BPY_pyconstraint_target(struct bPythonConstraint *UNUSED(con), struct bConstraintTarget *UNUSED(ct)) {} -int BPY_is_pyconstraint(struct Text *UNUSED(text)) { return 0;} -void BPY_pyconstraint_update(struct Object *UNUSED(owner), struct bConstraint *UNUSED(con)) {} +void BPY_pyconstraint_exec(struct bPythonConstraint *con, struct bConstraintOb *cob, struct ListBase *targets) {} +void BPY_pyconstraint_target(struct bPythonConstraint *con, struct bConstraintTarget *ct) {} +int BPY_is_pyconstraint(struct Text *text) { return 0;} +void BPY_pyconstraint_update(struct Object *owner, struct bConstraint *con) {} |