equal
deleted
inserted
replaced
162 return 0; |
162 return 0; |
163 } |
163 } |
164 |
164 |
165 int initialize(const char* path, unsigned int maxgpumemusage) |
165 int initialize(const char* path, unsigned int maxgpumemusage) |
166 { |
166 { |
|
167 maxgpumemusage=maxgpumemusage; // not used, just to remove compiler warning |
167 plugindir = strdup(path); |
168 plugindir = strdup(path); |
168 return 0; |
169 return 0; |
169 } |
170 } |
170 |
171 |
171 void destroy() |
172 void destroy() |
173 free(plugindir); |
174 free(plugindir); |
174 } |
175 } |
175 |
176 |
176 int extension(int value, void* ptr) |
177 int extension(int value, void* ptr) |
177 { |
178 { |
|
179 value=value; ptr=ptr; // not used, just to remove compiler warning |
178 return 0; |
180 return 0; |
179 } |
181 } |
180 |
182 |
181 EXPORT_C void* getinterface(int version) |
183 EXPORT_C void* getinterface(int version) |
182 { |
184 { |