Skip to content
Snippets Groups Projects
Commit 26be0be4 authored by Mick Jordan's avatar Mick Jordan
Browse files

NativeCallInfo: add toString

parent 0c5db831
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
*/
package com.oracle.truffle.r.runtime.ffi;
import com.oracle.truffle.api.CompilerAsserts;
import com.oracle.truffle.api.CompilerDirectives.ValueType;
import com.oracle.truffle.r.runtime.data.RList;
import com.oracle.truffle.r.runtime.ffi.DLL.DLLInfo;
......@@ -42,4 +43,10 @@ public final class NativeCallInfo {
this.address = address;
this.dllInfo = dllInfo;
}
@Override
public String toString() {
CompilerAsserts.neverPartOfCompilation();
return String.format("dll: %s, name: %s", dllInfo.name, name);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment