Blender V4.3
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
10
11#include "BLI_sys_types.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17using namespace Freestyle;
18
20
21//------------------------INSTANCE METHODS ----------------------------------
22
24 /* Wrap. */
25 EqualToChainingTimeStampUP1D___doc__,
26 "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > "
27 ":class:`freestyle.types.EqualToChainingTimeStampUP1D`\n"
28 "\n"
29 ".. method:: __init__(ts)\n"
30 "\n"
31 " Builds a EqualToChainingTimeStampUP1D object.\n"
32 "\n"
33 " :arg ts: A time stamp value.\n"
34 " :type ts: int\n"
35 "\n"
36 ".. method:: __call__(inter)\n"
37 "\n"
38 " Returns true if the Interface1D's time stamp is equal to a certain\n"
39 " user-defined value.\n"
40 "\n"
41 " :arg inter: An Interface1D object.\n"
42 " :type inter: :class:`freestyle.types.Interface1D`\n"
43 " :return: True if the time stamp is equal to a user-defined value.\n"
44 " :rtype: bool\n");
45
47 PyObject *args,
48 PyObject *kwds)
49{
50 static const char *kwlist[] = {"ts", nullptr};
51 uint u;
52
53 if (!PyArg_ParseTupleAndKeywords(args, kwds, "I", (char **)kwlist, &u)) {
54 return -1;
55 }
57 return 0;
58}
59
60/*-----------------------BPy_EqualToChainingTimeStampUP1D type definition -----------------------*/
61
63 /*ob_base*/ PyVarObject_HEAD_INIT(nullptr, 0)
64 /*tp_name*/ "EqualToChainingTimeStampUP1D",
65 /*tp_basicsize*/ sizeof(BPy_EqualToChainingTimeStampUP1D),
66 /*tp_itemsize*/ 0,
67 /*tp_dealloc*/ nullptr,
68 /*tp_vectorcall_offset*/ 0,
69 /*tp_getattr*/ nullptr,
70 /*tp_setattr*/ nullptr,
71 /*tp_as_async*/ nullptr,
72 /*tp_repr*/ nullptr,
73 /*tp_as_number*/ nullptr,
74 /*tp_as_sequence*/ nullptr,
75 /*tp_as_mapping*/ nullptr,
76 /*tp_hash*/ nullptr,
77 /*tp_call*/ nullptr,
78 /*tp_str*/ nullptr,
79 /*tp_getattro*/ nullptr,
80 /*tp_setattro*/ nullptr,
81 /*tp_as_buffer*/ nullptr,
82 /*tp_flags*/ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
83 /*tp_doc*/ EqualToChainingTimeStampUP1D___doc__,
84 /*tp_traverse*/ nullptr,
85 /*tp_clear*/ nullptr,
86 /*tp_richcompare*/ nullptr,
87 /*tp_weaklistoffset*/ 0,
88 /*tp_iter*/ nullptr,
89 /*tp_iternext*/ nullptr,
90 /*tp_methods*/ nullptr,
91 /*tp_members*/ nullptr,
92 /*tp_getset*/ nullptr,
93 /*tp_base*/ &UnaryPredicate1D_Type,
94 /*tp_dict*/ nullptr,
95 /*tp_descr_get*/ nullptr,
96 /*tp_descr_set*/ nullptr,
97 /*tp_dictoffset*/ 0,
98 /*tp_init*/ (initproc)EqualToChainingTimeStampUP1D___init__,
99 /*tp_alloc*/ nullptr,
100 /*tp_new*/ nullptr,
101};
102
104
105#ifdef __cplusplus
106}
107#endif
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