125126127128129130131132133134135136137138139140141
? ((MappedType) type).getRealType().getNativeType() : type.getNativeType(); switch (nativeType) { case STRING: case TRANSIENT_STRING: return new FunctionalCachingCallSite("to_str"); case POINTER: case BUFFER_IN: case BUFFER_OUT: case BUFFER_INOUT: return new FunctionalCachingCallSite("to_ptr"); default: return null; } }