Skip to content

Commit

Permalink
Don't export most of File methods to interfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed Oct 26, 2014
1 parent c8f5ac9 commit b6032d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/io/File.h
Expand Up @@ -64,6 +64,7 @@ class CFile : public CSGObject
/** default destructor */
virtual ~CFile();

#ifndef SWIG // SWIG should skip this
/** close */
void close()
{
Expand Down Expand Up @@ -496,6 +497,7 @@ class CFile : public CSGObject
* @return buffer to read file - needs to be freed with SG_FREE
*/
static char* read_whole_file(char* fname, size_t& len);
#endif // #ifndef SWIG

protected:
/** file object */
Expand Down

0 comments on commit b6032d7

Please sign in to comment.