Blender V4.3
bpy_app_alembic.cc File Reference
#include "BLI_utildefines.h"
#include <Python.h>
#include "bpy_app_alembic.hh"
#include "../generic/py_capi_utils.hh"

Go to the source code of this file.

Macros

#define SetStrItem(str)   PyStructSequence_SET_ITEM(alembic_info, pos++, PyUnicode_FromString(str))
 
#define SetObjItem(obj)   PyStructSequence_SET_ITEM(alembic_info, pos++, obj)
 

Functions

static PyObject * make_alembic_info ()
 
PyObject * BPY_app_alembic_struct ()
 

Variables

static PyTypeObject BlenderAppABCType
 
static PyStructSequence_Field app_alembic_info_fields []
 
static PyStructSequence_Desc app_alembic_info_desc
 

Macro Definition Documentation

◆ SetObjItem

#define SetObjItem ( obj)    PyStructSequence_SET_ITEM(alembic_info, pos++, obj)

Referenced by make_alembic_info().

◆ SetStrItem

#define SetStrItem ( str)    PyStructSequence_SET_ITEM(alembic_info, pos++, PyUnicode_FromString(str))

Referenced by make_alembic_info().

Function Documentation

◆ BPY_app_alembic_struct()

PyObject * BPY_app_alembic_struct ( )

Definition at line 78 of file bpy_app_alembic.cc.

References app_alembic_info_desc, BlenderAppABCType, make_alembic_info(), and ret.

Referenced by make_app_info().

◆ make_alembic_info()

static PyObject * make_alembic_info ( )
static

Variable Documentation

◆ app_alembic_info_desc

PyStructSequence_Desc app_alembic_info_desc
static
Initial value:
= {
"bpy.app.alembic",
"This module contains information about Alembic blender is linked against",
}
#define ARRAY_SIZE(arr)
static PyStructSequence_Field app_alembic_info_fields[]

Definition at line 29 of file bpy_app_alembic.cc.

Referenced by BPY_app_alembic_struct().

◆ app_alembic_info_fields

PyStructSequence_Field app_alembic_info_fields[]
static
Initial value:
= {
{"supported", "Boolean, True when Blender is built with Alembic support"},
{"version", "The Alembic version as a tuple of 3 numbers"},
{"version_string", "The Alembic version formatted as a string"},
{nullptr},
}

Definition at line 22 of file bpy_app_alembic.cc.

◆ BlenderAppABCType

PyTypeObject BlenderAppABCType
static

Definition at line 20 of file bpy_app_alembic.cc.

Referenced by BPY_app_alembic_struct(), and make_alembic_info().