Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Conty Estevez <conty@yafray.org>2004-01-05 17:53:56 +0300
committerAlejandro Conty Estevez <conty@yafray.org>2004-01-05 17:53:56 +0300
commit092c6fd1bb3d0a3143368d8fb7cb42ad93589a0c (patch)
treeeb30bea5dcc3251d8cf1b58dc855d5fe5dc07ab8 /source/blender/yafray/YafRay_Api.h
parent20d64f4b8d6996c187b409ce9c7e69bf5aaa7e99 (diff)
Yafray export code moved to source/blender/yafray to keep blender/src pure C
code. Now all the cpp code is in intern under yafray and the api include file is just plain C Also changed old include in initrender.c and updated Makefiles.am and configure.ac so the new dirs are taken into account.
Diffstat (limited to 'source/blender/yafray/YafRay_Api.h')
-rw-r--r--source/blender/yafray/YafRay_Api.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/yafray/YafRay_Api.h b/source/blender/yafray/YafRay_Api.h
new file mode 100644
index 00000000000..f36a0b3df0d
--- /dev/null
+++ b/source/blender/yafray/YafRay_Api.h
@@ -0,0 +1,16 @@
+#ifndef __YAFRAY_API_H
+#define __YAFRAY_API_H
+
+/* C interface for Blender */
+#ifdef __cplusplus
+extern "C" {
+#endif
+int YAF_exportScene();
+void YAF_displayImage();
+void YAF_addDupliMtx(Object* obj);
+int YAF_objectKnownData(Object* obj);
+#ifdef __cplusplus
+}
+#endif
+
+#endif