Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Ledest:erlang:26
erlang
otp_src_24.0.1-lib-wx-wx-demo-0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otp_src_24.0.1-lib-wx-wx-demo-0.patch of Package erlang
diff -Ndurp otp_src_24.0.1/lib/wx/doc/src/wx.xml otp_src_24.0.1-lib-wx-wx-demo-0/lib/wx/doc/src/wx.xml --- otp_src_24.0.1/lib/wx/doc/src/wx.xml 2021-05-20 17:05:53.000000000 +0300 +++ otp_src_24.0.1-lib-wx-wx-demo-0/lib/wx/doc/src/wx.xml 2021-05-22 17:08:17.203914914 +0300 @@ -275,14 +275,6 @@ library.</p> <p>Sets debug level. If debug level is 'verbose' or 'trace' each call is printed on console. If Level is 'driver' each allocated object and deletion is printed on the console.</p> -</desc></func> -<func> -<name since="">demo() -> ok | {error, atom()}</name> -<fsummary>Starts a wxErlang demo if examples directory exists and is compiled.</fsummary> - -<desc><marker id="demo-0"/> - -<p>Starts a wxErlang demo if examples directory exists and is compiled</p> </desc></func></funcs> <authors> diff -Ndurp otp_src_24.0.1/lib/wx/src/wx.erl otp_src_24.0.1-lib-wx-wx-demo-0/lib/wx/src/wx.erl --- otp_src_24.0.1/lib/wx/src/wx.erl 2021-05-20 17:05:53.000000000 +0300 +++ otp_src_24.0.1-lib-wx-wx-demo-0/lib/wx/src/wx.erl 2021-05-22 17:07:04.197579321 +0300 @@ -71,8 +71,6 @@ -export([create_memory/1, get_memory_bin/1, retain_memory/1, release_memory/1]). --export([demo/0]). - -export_type([wx_object/0, wx_env/0, wx_memory/0]). -export_type([wx_colour/0, wx_colour4/0, wx_datetime/0, wx_enum/0, wx_wxMouseState/0, wx_wxHtmlLinkInfo/0]). @@ -333,18 +331,3 @@ set_debug(Level) when is_integer(Level) wxe_server:set_debug(Server,Level), ok end. - -%% @doc Starts a wxErlang demo if examples directory exists and is compiled --spec demo() -> 'ok' | {'error', atom()}. -demo() -> - Priv = code:priv_dir(wx), - Demo = filename:join([filename:dirname(Priv),examples,demo]), - Mod = list_to_atom("demo"), %% Fool xref tests - case file:set_cwd(Demo) of - ok -> - apply(Mod, start, []), - ok; - _ -> - {error, no_demo_dir} - end. -
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor