| Index: pkg/ffi/lib/ffi.dart
|
| diff --git a/pkg/ffi/lib/ffi.dart b/pkg/ffi/lib/ffi.dart
|
| index 814d330cc31144aae222da1a20ddf452ccb3eab3..32f725ccbe2cb018ba7ba2534fd241daf7262b08 100644
|
| --- a/pkg/ffi/lib/ffi.dart
|
| +++ b/pkg/ffi/lib/ffi.dart
|
| @@ -5,17 +5,17 @@
|
| /// Higher level access to the FFI library.
|
| ///
|
| /// This package is a set of functions and classes that builds on the lower
|
| -/// level FFI library (dart:fletch.ffi).
|
| +/// level FFI library (dart:dartino.ffi).
|
| library ffi;
|
|
|
| -import 'dart:fletch.ffi';
|
| +import 'dart:dartino.ffi';
|
| import 'dart:typed_data';
|
|
|
| part 'utf.dart';
|
|
|
| final ForeignFunction _strlen = ForeignLibrary.main.lookup('strlen');
|
|
|
| -/// Converts a C string to a String in the Fletch heap.
|
| +/// Converts a C string to a String in the Dartino heap.
|
| /// This call expects a null terminated string. The string will be decoded
|
| /// using a UTF8 decoder.
|
| String cStringToString(ForeignPointer ptr) {
|
| @@ -23,7 +23,7 @@ String cStringToString(ForeignPointer ptr) {
|
| return memoryToString(ptr, length);
|
| }
|
|
|
| -/// Converts a C memory region to a String in the Fletch heap. The string
|
| +/// Converts a C memory region to a String in the Dartino heap. The string
|
| /// will be decoded using a UTF8 decoder.
|
| String memoryToString(ForeignPointer ptr, int length) {
|
| var memory = new ForeignMemory.fromAddress(ptr.address, length);
|
|
|