Skip to content

Commit

Permalink
Change OSL_RSOP to properly export symbol linkage
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed Jan 16, 2025
1 parent 65b98a3 commit acc759c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/OSL/rs_free_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" {

// Prefix for OSL shade op declarations.
// "C" linkage (no C++ name mangling) and local visibility
#define OSL_RSOP extern "C"
#define OSL_RSOP OSLEXECPUBLIC extern "C"

// We are choosing to use unique names encoding parameters directly
// as opposed to using overloaded functions.
Expand Down

0 comments on commit acc759c

Please sign in to comment.