~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * ***** BEGIN GPL LICENSE BLOCK *****
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU General Public License
 
6
 * as published by the Free Software Foundation; either version 2
 
7
 * of the License, or (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software Foundation,
 
16
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17
 *
 
18
 * ***** END GPL LICENSE BLOCK *****
 
19
 */
 
20
 
 
21
/** \file source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.h
 
22
 *  \ingroup freestyle
 
23
 */
 
24
 
 
25
#ifndef __FREESTYLE_PYTHON_UNARYPREDICATE0D_H__
 
26
#define __FREESTYLE_PYTHON_UNARYPREDICATE0D_H__
 
27
 
 
28
#include <Python.h>
 
29
 
 
30
#include "../stroke/Predicates0D.h"
 
31
 
 
32
using namespace Freestyle;
 
33
 
 
34
#ifdef __cplusplus
 
35
extern "C" {
 
36
#endif
 
37
 
 
38
///////////////////////////////////////////////////////////////////////////////////////////
 
39
 
 
40
extern PyTypeObject UnaryPredicate0D_Type;
 
41
 
 
42
#define BPy_UnaryPredicate0D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryPredicate0D_Type))
 
43
 
 
44
/*---------------------------Python BPy_UnaryPredicate0D structure definition----------*/
 
45
typedef struct {
 
46
        PyObject_HEAD
 
47
        UnaryPredicate0D *up0D;
 
48
} BPy_UnaryPredicate0D;
 
49
 
 
50
/*---------------------------Python BPy_UnaryPredicate0D visible prototypes-----------*/
 
51
 
 
52
int UnaryPredicate0D_Init(PyObject *module);
 
53
 
 
54
///////////////////////////////////////////////////////////////////////////////////////////
 
55
 
 
56
#ifdef __cplusplus
 
57
}
 
58
#endif
 
59
 
 
60
#endif /* __FREESTYLE_PYTHON_UNARYPREDICATE0D_H__ */