diff options
author | Dan Gudmundsson <[email protected]> | 2012-02-21 16:05:37 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2012-02-22 09:41:06 +0100 |
commit | 217343d158afe60a5a6a15e8b894b6fd62611ad3 (patch) | |
tree | fcc6d24f7fae59e455ffbb0b2931349a63d3c599 /lib/wx/src/gen/wxFileDataObject.erl | |
parent | 2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08 (diff) | |
download | otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.tar.gz otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.tar.bz2 otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.zip |
[wx] Fix spec errors
Diffstat (limited to 'lib/wx/src/gen/wxFileDataObject.erl')
-rw-r--r-- | lib/wx/src/gen/wxFileDataObject.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wx/src/gen/wxFileDataObject.erl b/lib/wx/src/gen/wxFileDataObject.erl index 3349005821..bcb30a5ece 100644 --- a/lib/wx/src/gen/wxFileDataObject.erl +++ b/lib/wx/src/gen/wxFileDataObject.erl @@ -46,7 +46,7 @@ new() -> %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledataobject.html#wxfiledataobjectaddfile">external documentation</a>. -spec addFile(This, Filename) -> ok when - This::wxFileDataObject(), Filename::string(). + This::wxFileDataObject(), Filename::unicode:chardata(). addFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxFileDataObject), @@ -55,7 +55,7 @@ addFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) <<ThisRef:32/?UI,(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((0+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8>>). %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledataobject.html#wxfiledataobjectgetfilenames">external documentation</a>. --spec getFilenames(This) -> [[string()]] when +-spec getFilenames(This) -> [[unicode:charlist()]] when This::wxFileDataObject(). getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDataObject), @@ -63,7 +63,7 @@ getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> <<ThisRef:32/?UI>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFileDataObject) -> ok. +-spec destroy(This::wxFileDataObject()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFileDataObject), wxe_util:destroy(?wxFileDataObject_destroy,Obj), |