ai_plugins.h
1 /*
2  * Arnold API header file
3  * Copyright (c) 1998-2009 Marcos Fajardo, (c) 2009-2013 Solid Angle SL
4  */
5 
11 #pragma once
12 #include "ai_api.h"
13 #include "ai_types.h"
14 #include "ai_version.h"
15 
16 #ifdef _WIN32
17 #define AI_DLL_EXPORT __declspec(dllexport)
18 #else
19 #define AI_DLL_EXPORT __attribute__ ((visibility("default")))
20 #endif
21 
29 #define AI_EXPORT_LIB AI_EXTERN_C AI_DLL_EXPORT
30 
34 typedef struct AtNodeLib {
35  int node_type;
37  const char* name;
38  void* methods;
39  char version[AI_MAXSIZE_VERSION];
40 } AtNodeLib;
41 
42 AI_API void AiLoadPlugins(const char* directory);
43 AI_API void AiLoadPlugin(const char* path);
44 
45 /*\}*/

© 2009-2013 Solid Angle SL · all rights reserved · www.solidangle.com