Skip to content

Commit

Permalink
Fix warning about serialized type
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardalee committed Dec 7, 2024
1 parent 3381032 commit 928267d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ protected String generateSerializationIncludes(
return code.getCode();
}

@Override
public String getNetworkBufferType() {
return "PyObject*";
}

@Override
public String generateNetworkSenderBody(
VarRef sendingPort,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ private static String setUpMainTarget(
add_subdirectory(core)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR})
set(LF_MAIN_TARGET <pyModuleName>)
find_package(Python 3.10.0 REQUIRED COMPONENTS Interpreter Development)
find_package(Python 3.10.0...<3.11.0 REQUIRED COMPONENTS Interpreter Development)
Python_add_library(
${LF_MAIN_TARGET}
MODULE
Expand Down

0 comments on commit 928267d

Please sign in to comment.