diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-21 17:09:32 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-21 17:09:32 +0000 |
commit | 96c2f2bc8093c1dbf729d3d0c4849eefb87b5ce1 (patch) | |
tree | d4717936f45eb873784bb8a16a91a645de68de6b /sal/inc | |
parent | 59cefd339d0c3fcde5b614d7f142a957397672d9 (diff) |
android: remove nonsensical write to file buffer during readLine
also expose in-memory file method for unit testing.
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/detail/file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sal/inc/osl/detail/file.h b/sal/inc/osl/detail/file.h index e6a6671dcb29..8e2c910f258c 100644 --- a/sal/inc/osl/detail/file.h +++ b/sal/inc/osl/detail/file.h @@ -54,6 +54,9 @@ SAL_DLLPUBLIC oslFileError SAL_CALL osl_getFileOSHandle( oslFileHandle Handle, sal_IntPtr *piFileHandle ); +/* for unit testing. */ +SAL_DLLPUBLIC oslFileError SAL_CALL osl_openMemoryAsFile( void *address, size_t size, oslFileHandle *pHandle ); + #if defined __cplusplus } #endif |