Compare commits
2 Commits
monkeypatc
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d65a048409 | |||
| 9280495b18 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,9 +8,7 @@ cancer
|
|||||||
erl_crash.dump
|
erl_crash.dump
|
||||||
ebin/*.beam
|
ebin/*.beam
|
||||||
doc/*.html
|
doc/*.html
|
||||||
doc/*.css
|
|
||||||
doc/edoc-info
|
doc/edoc-info
|
||||||
doc/erlang.png
|
|
||||||
rel/example_project
|
rel/example_project
|
||||||
.concrete/DEV_MODE
|
.concrete/DEV_MODE
|
||||||
.rebar
|
.rebar
|
||||||
|
|||||||
BIN
doc/erlang.png
Normal file
BIN
doc/erlang.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
75
doc/stylesheet.css
Normal file
75
doc/stylesheet.css
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
/* standard EDoc style sheet */
|
||||||
|
body {
|
||||||
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
margin-left: .25in;
|
||||||
|
margin-right: .2in;
|
||||||
|
margin-top: 0.2in;
|
||||||
|
margin-bottom: 0.2in;
|
||||||
|
color: #696969;
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
a:link{
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
a:visited{
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
a:hover{
|
||||||
|
color: #d8613c;
|
||||||
|
}
|
||||||
|
h1,h2 {
|
||||||
|
margin-left: -0.2in;
|
||||||
|
}
|
||||||
|
div.navbar {
|
||||||
|
background-color: #000000;
|
||||||
|
padding: 0.2em;
|
||||||
|
}
|
||||||
|
h2.indextitle {
|
||||||
|
padding: 0.4em;
|
||||||
|
color: #dfdfdf;
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
div.navbar a:link {
|
||||||
|
color: #dfdfdf;
|
||||||
|
}
|
||||||
|
div.navbar a:visited {
|
||||||
|
color: #dfdfdf;
|
||||||
|
}
|
||||||
|
div.navbar a:hover {
|
||||||
|
color: #d8613c;
|
||||||
|
}
|
||||||
|
h3.function,h3.typedecl {
|
||||||
|
background-color: #000000;
|
||||||
|
color: #dfdfdf;
|
||||||
|
padding-left: 1em;
|
||||||
|
}
|
||||||
|
div.spec {
|
||||||
|
margin-left: 2em;
|
||||||
|
background-color: #eeeeee;
|
||||||
|
}
|
||||||
|
a.module {
|
||||||
|
text-decoration:none
|
||||||
|
}
|
||||||
|
a.module:hover {
|
||||||
|
background-color: #eeeeee;
|
||||||
|
}
|
||||||
|
ul.definitions {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
ul.index {
|
||||||
|
list-style-type: none;
|
||||||
|
background-color: #eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Minor style tweaks
|
||||||
|
*/
|
||||||
|
ul {
|
||||||
|
list-style-type: square;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
padding: 3
|
||||||
|
}
|
||||||
@ -1943,8 +1943,6 @@ coerce({O, N, char}, Str, to_fate) ->
|
|||||||
_ ->
|
_ ->
|
||||||
single_error({invalid, O, N, Str})
|
single_error({invalid, O, N, Str})
|
||||||
end;
|
end;
|
||||||
coerce({O, N, {bytes, [Count]}}, Bytes, to_fate) when is_list(Bytes) ->
|
|
||||||
coerce_bytes(O, N, Count, convert_bytes(Bytes));
|
|
||||||
coerce({O, N, {bytes, [Count]}}, Bytes, _Direction) when is_bitstring(Bytes) ->
|
coerce({O, N, {bytes, [Count]}}, Bytes, _Direction) when is_bitstring(Bytes) ->
|
||||||
coerce_bytes(O, N, Count, Bytes);
|
coerce_bytes(O, N, Count, Bytes);
|
||||||
coerce({_, _, bits}, {bits, Num}, from_fate) ->
|
coerce({_, _, bits}, {bits, Num}, from_fate) ->
|
||||||
@ -2013,13 +2011,6 @@ coerce_bytes(O, N, Count, Bytes) when byte_size(Bytes) /= Count ->
|
|||||||
coerce_bytes(_, _, _, Bytes) ->
|
coerce_bytes(_, _, _, Bytes) ->
|
||||||
{ok, Bytes}.
|
{ok, Bytes}.
|
||||||
|
|
||||||
convert_bytes([$# | Rest]) ->
|
|
||||||
convert_bytes(Rest, <<>>).
|
|
||||||
|
|
||||||
convert_bytes([A, B | T], J) -> convert_bytes(T, <<J/binary, (list_to_integer([A, B], 16))>>);
|
|
||||||
convert_bytes([], J) -> {ok, J};
|
|
||||||
convert_bytes(O, J) -> {error, {J, O}}.
|
|
||||||
|
|
||||||
coerce_chain_object(_, _, _, _, {raw, Binary}) ->
|
coerce_chain_object(_, _, _, _, {raw, Binary}) ->
|
||||||
{ok, Binary};
|
{ok, Binary};
|
||||||
coerce_chain_object(O, N, T, Tag, S) ->
|
coerce_chain_object(O, N, T, Tag, S) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user