Skip to content

Commit

Permalink
[swig] Fix define visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto.ferreira committed Mar 8, 2020
1 parent 02f2d28 commit a958fd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions swig/StringArray_API_extensions.i
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
#include <iostream>
#include <memory>

#define API_OK_OR_VALUE(api_return, return_value) if (api_return == -1) return return_value
#define API_OK_OR_NULL(api_return) API_OK_OR_VALUE(api_return, nullptr)


%inline %{

#define API_OK_OR_VALUE(api_return, return_value) if (api_return == -1) return return_value
#define API_OK_OR_NULL(api_return) API_OK_OR_VALUE(api_return, nullptr)

class StringArray;
typedef void* StringArrayHandle;


Expand Down

0 comments on commit a958fd6

Please sign in to comment.