Blender V5.0
BPy_EqualToChainingTimeStampUP1D.cpp
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
10
11#include "BLI_sys_types.h"
12
13using namespace Freestyle;
14
16
17//------------------------INSTANCE METHODS ----------------------------------
18
20 /* Wrap. */
21 EqualToChainingTimeStampUP1D___doc__,
22 "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > "
23 ":class:`freestyle.types.EqualToChainingTimeStampUP1D`\n"
24 "\n"
25 ".. method:: __init__(ts)\n"
26 "\n"
27 " Builds a EqualToChainingTimeStampUP1D object.\n"
28 "\n"
29 " :arg ts: A time stamp value.\n"
30 " :type ts: int\n"
31 "\n"
32 ".. method:: __call__(inter)\n"
33 "\n"
34 " Returns true if the Interface1D's time stamp is equal to a certain\n"
35 " user-defined value.\n"
36 "\n"
37 " :arg inter: An Interface1D object.\n"
38 " :type inter: :class:`freestyle.types.Interface1D`\n"
39 " :return: True if the time stamp is equal to a user-defined value.\n"
40 " :rtype: bool\n");
42 PyObject *args,
43 PyObject *kwds)
44{
45 static const char *kwlist[] = {"ts", nullptr};
46 uint u;
47
48 if (!PyArg_ParseTupleAndKeywords(args, kwds, "I", (char **)kwlist, &u)) {
49 return -1;
50 }
52 return 0;
53}
54
55/*-----------------------BPy_EqualToChainingTimeStampUP1D type definition -----------------------*/
56
58 /*ob_base*/ PyVarObject_HEAD_INIT(nullptr, 0)
59 /*tp_name*/ "EqualToChainingTimeStampUP1D",
60 /*tp_basicsize*/ sizeof(BPy_EqualToChainingTimeStampUP1D),
61 /*tp_itemsize*/ 0,
62 /*tp_dealloc*/ nullptr,
63 /*tp_vectorcall_offset*/ 0,
64 /*tp_getattr*/ nullptr,
65 /*tp_setattr*/ nullptr,
66 /*tp_as_async*/ nullptr,
67 /*tp_repr*/ nullptr,
68 /*tp_as_number*/ nullptr,
69 /*tp_as_sequence*/ nullptr,
70 /*tp_as_mapping*/ nullptr,
71 /*tp_hash*/ nullptr,
72 /*tp_call*/ nullptr,
73 /*tp_str*/ nullptr,
74 /*tp_getattro*/ nullptr,
75 /*tp_setattro*/ nullptr,
76 /*tp_as_buffer*/ nullptr,
77 /*tp_flags*/ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
78 /*tp_doc*/ EqualToChainingTimeStampUP1D___doc__,
79 /*tp_traverse*/ nullptr,
80 /*tp_clear*/ nullptr,
81 /*tp_richcompare*/ nullptr,
82 /*tp_weaklistoffset*/ 0,
83 /*tp_iter*/ nullptr,
84 /*tp_iternext*/ nullptr,
85 /*tp_methods*/ nullptr,
86 /*tp_members*/ nullptr,
87 /*tp_getset*/ nullptr,
88 /*tp_base*/ &UnaryPredicate1D_Type,
89 /*tp_dict*/ nullptr,
90 /*tp_descr_get*/ nullptr,
91 /*tp_descr_set*/ nullptr,
92 /*tp_dictoffset*/ 0,
93 /*tp_init*/ (initproc)EqualToChainingTimeStampUP1D___init__,
94 /*tp_alloc*/ nullptr,
95 /*tp_new*/ nullptr,
96};
97
unsigned int uint
PyTypeObject EqualToChainingTimeStampUP1D_Type
static int EqualToChainingTimeStampUP1D___init__(BPy_EqualToChainingTimeStampUP1D *self, PyObject *args, PyObject *kwds)
PyDoc_STRVAR(EqualToChainingTimeStampUP1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > " ":class:`freestyle.types.EqualToChainingTimeStampUP1D`\n" "\n" ".. method:: __init__(ts)\n" "\n" " Builds a EqualToChainingTimeStampUP1D object.\n" "\n" " :arg ts: A time stamp value.\n" " :type ts: int\n" "\n" ".. method:: __call__(inter)\n" "\n" " Returns true if the Interface1D's time stamp is equal to a certain\n" " user-defined value.\n" "\n" " :arg inter: An Interface1D object.\n" " :type inter: :class:`freestyle.types.Interface1D`\n" " :return: True if the time stamp is equal to a user-defined value.\n" " :rtype: bool\n")
PyTypeObject UnaryPredicate1D_Type
PyObject * self
inherits from class Rep
Definition AppCanvas.cpp:20