Blender Git Commit Log

Git Commits -> Revision 6f98557

Revision 6f98557 by Jacques Lucke (master)
May 8, 2020, 16:22 (GMT)
Cleanup: take includes out of 'extern "C"' blocks

Surrounding includes with an 'extern "C"' block is not necessary anymore.
Also that made it harder to add any C++ code to some headers, or include headers
that have "optional" C++ code like `MEM_guardedalloc.h`.

I tested compilation on linux and windows (and got help from @LazyDodo).
If this still breaks compilation due to some linker error, the header containing
the symbol in question is probably missing an 'extern "C"' block.

Differential Revision: https://developer.blender.org/D7653

Commit Details:

Full Hash: 6f985574b775882075f48f59835bc5a42b1374dd
Parent Commit: 0d0dcfd
Lines Changed: +343, -612

260 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_animsys.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_anim_data.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_armature.h (+1, -2) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+8, -0) (Diff)
/source/blender/blenkernel/BKE_context.h (+1, -2) (Diff)
/source/blender/blenkernel/BKE_curve.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_data_transfer.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_dynamicpaint.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_fcurve.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_fcurve_driver.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_image.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_library.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_lib_id.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_lib_remap.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_light.h (+3, -2) (Diff)
/source/blender/blenkernel/BKE_object.h (+5, -4) (Diff)
/source/blender/blenkernel/BKE_paint.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_report.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_text_suggestions.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_bitmap.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_blenlib.h (+0, -8) (Diff)
/source/blender/blenlib/BLI_fileops.h (+4, -4) (Diff)
/source/blender/blenlib/BLI_hash.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_heap.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_math_base.h (+8, -0) (Diff)
/source/blender/blenlib/BLI_math_bits.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_math_color.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_math_color_blend.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+4, -4) (Diff)
/source/blender/blenlib/BLI_math_matrix.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_math_solvers.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_math_statistics.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_math_vector.h (+4, -4) (Diff)
/source/blender/blenlib/BLI_memarena.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_memblock.h (+2, -2) (Diff)
/source/blender/blenlib/BLI_memiter.h (+4, -4) (Diff)
/source/blender/blenlib/BLI_mempool.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_path_util.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_string.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_string_utf8.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_string_utils.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_task.h (+3, -3) (Diff)
/source/blender/blenlib/BLI_threads.h (+4, -3) (Diff)
/source/blender/blenlib/BLI_utildefines.h (+4, -4) (Diff)
/source/blender/blenlib/intern/math_base_inline.c (+8, -0) (Diff)
/source/blender/bmesh/bmesh.h (+4, -4) (Diff)
/source/blender/bmesh/intern/bmesh_operator_api.h (+4, -4) (Diff)
/source/blender/bmesh/tools/bmesh_bevel.h (+1, -0) (Diff)
/source/blender/compositor/COM_compositor.h (+3, -3) (Diff)
/source/blender/compositor/intern/COM_compositor.cpp (+1, -3) (Diff)
/source/blender/compositor/intern/COM_Converter.cpp (+0, -2) (Diff)
/source/blender/compositor/intern/COM_ExecutionSystem.cpp (+1, -2) (Diff)
/source/blender/compositor/intern/COM_MemoryBuffer.h (+0, -2) (Diff)
/source/blender/compositor/intern/COM_Node.cpp (+0, -2) (Diff)
/source/blender/compositor/intern/COM_NodeConverter.cpp (+0, -2) (Diff)
/source/blender/compositor/intern/COM_NodeGraph.cpp (+0, -2) (Diff)
/source/blender/compositor/intern/COM_NodeGraph.h (+0, -2) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.h (+0, -2) (Diff)
/source/blender/compositor/intern/COM_NodeOperationBuilder.cpp (+0, -2) (Diff)
/source/blender/compositor/intern/COM_WorkScheduler.h (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_CornerPinNode.h (+0, -2) (Diff)
/source/blender/compositor/nodes/COM_ImageNode.h (+1, -2) (Diff)
/source/blender/compositor/nodes/COM_KeyingScreenNode.cpp (+0, -2) (Diff)
/source/blender/compositor/nodes/COM_MaskNode.cpp (+0, -2) (Diff)
/source/blender/compositor/nodes/COM_MovieClipNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.cpp (+0, -2) (Diff)
/source/blender/compositor/nodes/COM_PlaneTrackDeformNode.h (+0, -2) (Diff)
/source/blender/compositor/nodes/COM_Stabilize2dNode.cpp (+1, -2) (Diff)
/source/blender/compositor/nodes/COM_TimeNode.cpp (+2, -2) (Diff)
/source/blender/compositor/nodes/COM_TrackPositionNode.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_AntiAliasOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_BilateralBlurOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_BlurBaseOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_BokehBlurOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_CalculateMeanOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_ColorCurveOperation.cpp (+2, -7) (Diff)
/source/blender/compositor/operations/COM_ColorRampOperation.cpp (+0, -6) (Diff)
/source/blender/compositor/operations/COM_CompositorOperation.cpp (+3, -2) (Diff)
/source/blender/compositor/operations/COM_ConvertColorProfileOperation.cpp (+1, -2) (Diff)
/source/blender/compositor/operations/COM_ConvertOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_CurveBaseOperation.cpp (+0, -6) (Diff)
/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp (+3, -3) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp (+1, -2) (Diff)
/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_GlareThresholdOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_HueSaturationValueCorrectOperation.cpp (+0, -6) (Diff)
/source/blender/compositor/operations/COM_ImageOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_ImageOperation.h (+1, -2) (Diff)
/source/blender/compositor/operations/COM_KeyingScreenOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_KeyingScreenOperation.h (+0, -2) (Diff)
/source/blender/compositor/operations/COM_LuminanceMatteOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_MaskOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.cpp (+1, -2) (Diff)
/source/blender/compositor/operations/COM_MixOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_MovieClipAttributeOperation.cpp (+2, -2) (Diff)
/source/blender/compositor/operations/COM_MovieClipOperation.cpp (+3, -3) (Diff)
/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp (+1, -2) (Diff)
/source/blender/compositor/operations/COM_MovieDistortionOperation.h (+0, -2) (Diff)
/source/blender/compositor/operations/COM_MultilayerImageOperation.cpp (+1, -2) (Diff)
/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_OutputFileOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_PlaneCornerPinOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_PlaneTrackOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_PreviewOperation.cpp (+1, -2) (Diff)
/source/blender/compositor/operations/COM_RenderLayersProg.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_RenderLayersProg.h (+1, -2) (Diff)
/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp (+1, -2) (Diff)
/source/blender/compositor/operations/COM_SplitOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_TextureOperation.cpp (+2, -4) (Diff)
/source/blender/compositor/operations/COM_TextureOperation.h (+1, -2) (Diff)
/source/blender/compositor/operations/COM_TonemapOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_TrackPositionOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.cpp (+0, -2) (Diff)
/source/blender/compositor/operations/COM_VectorBlurOperation.cpp (+5, -4) (Diff)
/source/blender/compositor/operations/COM_VectorCurveOperation.cpp (+0, -6) (Diff)
/source/blender/compositor/operations/COM_ViewerOperation.cpp (+0, -2) (Diff)
/source/blender/depsgraph/DEG_depsgraph_build.h (+2, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_cache.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_rna.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_debug.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_physics.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+0, -3) (Diff)
/source/blender/depsgraph/intern/depsgraph_query_iter.cc (+1, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_flush.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/node/deg_node_component.cc (+0, -2) (Diff)
/source/blender/depsgraph/intern/node/deg_node_id.cc (+0, -2) (Diff)
/source/blender/draw/DRW_engine.h (+6, -5) (Diff)
/source/blender/editors/include/ED_keyframes_edit.h (+2, -2) (Diff)
/source/blender/editors/include/ED_keyframing.h (+3, -3) (Diff)
/source/blender/editors/include/ED_object.h (+3, -3) (Diff)
/source/blender/editors/include/UI_resources.h (+4, -4) (Diff)
/source/blender/editors/uvedit/uvedit_parametrizer.h (+2, -2) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+0, -2) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h (+0, -2) (Diff)
/source/blender/freestyle/intern/geometry/Grid.h (+0, -2) (Diff)
/source/blender/freestyle/intern/image/GaussianFilter.h (+0, -2) (Diff)
/source/blender/freestyle/intern/scene_graph/NodeViewLayer.h (+0, -2) (Diff)
/source/blender/freestyle/intern/stroke/Canvas.cpp (+0, -2) (Diff)
/source/blender/freestyle/intern/stroke/StrokeRep.h (+0, -2) (Diff)
/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp (+0, -2) (Diff)
/source/blender/gpu/GPU_context.h (+4, -4) (Diff)
/source/blender/gpu/GPU_draw.h (+3, -3) (Diff)
/source/blender/gpu/GPU_init_exit.h (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_batch_private.h (+4, -4) (Diff)
/source/blender/gpu/intern/gpu_context_private.h (+2, -2) (Diff)
/source/blender/ikplugin/intern/itasc_plugin.cpp (+0, -2) (Diff)
/source/blender/imbuf/intern/cineon/cineonlib.h (+2, -2) (Diff)
/source/blender/imbuf/intern/cineon/dpxlib.h (+2, -2) (Diff)
/source/blender/imbuf/intern/dds/dds_api.cpp (+2, -4) (Diff)
/source/blender/imbuf/intern/dds/dds_api.h (+2, -2) (Diff)
/source/blender/imbuf/intern/IMB_allocimbuf.h (+8, -0) (Diff)
/source/blender/imbuf/intern/IMB_colormanagement_intern.h (+8, -0) (Diff)
/source/blender/imbuf/intern/oiio/openimageio_api.cpp (+0, -2) (Diff)
/source/blender/imbuf/intern/oiio/openimageio_api.h (+2, -2) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+3, -7) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.h (+2, -2) (Diff)
/source/blender/io/alembic/intern/abc_customdata.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_exporter.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_archive.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_camera.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_curves.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_mesh.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_nurbs.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.h (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_points.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_transform.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_util.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_archive.cc (+1, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_camera.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_curves.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_hair.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_mball.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_mesh.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_nurbs.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_object.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_object.h (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_points.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/abc_writer_transform.cc (+0, -2) (Diff)
/source/blender/io/alembic/intern/alembic_capi.cc (+0, -2) (Diff)
/source/blender/io/collada/AnimationExporter.h (+0, -2) (Diff)
/source/blender/io/collada/AnimationImporter.h (+2, -2) (Diff)
/source/blender/io/collada/ArmatureExporter.cpp (+0, -3) (Diff)
/source/blender/io/collada/ArmatureImporter.cpp (+0, -2) (Diff)
/source/blender/io/collada/ArmatureImporter.h (+0, -2) (Diff)
/source/blender/io/collada/BCAnimationCurve.h (+1, -2) (Diff)
/source/blender/io/collada/BCAnimationSampler.cpp (+3, -2) (Diff)
/source/blender/io/collada/BCAnimationSampler.h (+2, -2) (Diff)
/source/blender/io/collada/BCMath.h (+1, -2) (Diff)
/source/blender/io/collada/BCSampleData.h (+2, -2) (Diff)
/source/blender/io/collada/BlenderContext.h (+4, -5) (Diff)
/source/blender/io/collada/CameraExporter.cpp (+1, -2) (Diff)
/source/blender/io/collada/CameraExporter.h (+0, -2) (Diff)
/source/blender/io/collada/collada.cpp (+2, -1) (Diff)
/source/blender/io/collada/collada.h (+4, -4) (Diff)
/source/blender/io/collada/collada_utils.cpp (+0, -2) (Diff)
/source/blender/io/collada/collada_utils.h (+0, -2) (Diff)
/source/blender/io/collada/ControllerExporter.cpp (+0, -3) (Diff)
/source/blender/io/collada/DocumentExporter.cpp (+3, -5) (Diff)
/source/blender/io/collada/DocumentExporter.h (+0, -2) (Diff)
/source/blender/io/collada/DocumentImporter.cpp (+0, -2) (Diff)
/source/blender/io/collada/EffectExporter.cpp (+0, -2) (Diff)
/source/blender/io/collada/ExportSettings.h (+3, -3) (Diff)
/source/blender/io/collada/GeometryExporter.cpp (+0, -2) (Diff)
/source/blender/io/collada/ImageExporter.cpp (+0, -2) (Diff)
/source/blender/io/collada/InstanceWriter.cpp (+1, -2) (Diff)
/source/blender/io/collada/MaterialExporter.h (+1, -2) (Diff)
/source/blender/io/collada/Materials.h (+0, -2) (Diff)
/source/blender/io/collada/MeshImporter.cpp (+0, -2) (Diff)
/source/blender/io/collada/MeshImporter.h (+1, -2) (Diff)
/source/blender/io/collada/SceneExporter.cpp (+0, -2) (Diff)
/source/blender/io/collada/SceneExporter.h (+0, -2) (Diff)
/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_capi.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_hierarchy_iterator.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.h (+1, -2) (Diff)
/source/blender/io/usd/intern/usd_writer_camera.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_writer_hair.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_writer_light.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_writer_mesh.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_writer_metaball.cc (+0, -2) (Diff)
/source/blender/io/usd/intern/usd_writer_transform.cc (+0, -2) (Diff)
/source/blender/io/usd/usd.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_action_types.h (+4, -4) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+4, -4) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_defaults.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_ID.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_movieclip_types.h (+4, -4) (Diff)
/source/blender/makesdna/DNA_object_force_types.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+4, -4) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+0, -2) (Diff)
/source/blender/physics/intern/hair_volume.cpp (+0, -2) (Diff)
/source/blender/python/BPY_extern.h (+2, -2) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+8, -0) (Diff)
/source/blender/render/extern/include/RE_shader_ext.h (+8, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021