Skip to content

Commit

Permalink
Fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Aug 8, 2023
1 parent 0f33c6e commit 6dd4d23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ protected PickleWriter() {

private native void allocate();

public native void call(@Cast("const char *") BytePointer buf, @Cast("size_t") long nbytes);
public native void call(@Cast("const char*") BytePointer buf, @Cast("size_t") long nbytes);
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ protected StringSupplier() {

private native void allocate();

public native @StdString @Cast({"", "char *"}) String call();
public native @StdString @Cast({"", "char*"}) String call();
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ protected TensorIdGetter() {
private native void allocate();

// std::function<std::string(const at::Tensor&)>
public native @StdString @Cast({"", "char *"}) String call(@Const @ByRef Tensor tensor);
public native @StdString @Cast({"", "char*"}) String call(@Const @ByRef Tensor tensor);
}

0 comments on commit 6dd4d23

Please sign in to comment.