Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Dec 22, 2024
2 parents d311b9f + 49c9cb1 commit e985e03
Show file tree
Hide file tree
Showing 22 changed files with 112,318 additions and 111,658 deletions.
1,129 changes: 25 additions & 1,104 deletions _data/ref/alpha/dmGraphics.json

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions _data/ref/stable/camera.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,39 @@
"tparams": [],
"type": "FUNCTION"
},
{
"brief": "get enabled",
"description": "get enabled",
"error": "",
"examples": "",
"language": "",
"members": [],
"name": "camera.get_enabled",
"notes": [],
"parameters": [
{
"doc": "camera id",
"name": "camera",
"types": [
"url",
"handle",
"nil"
]
}
],
"replaces": "",
"returnvalues": [
{
"doc": "true if the camera is enabled",
"name": "flag",
"types": [
"bool"
]
}
],
"tparams": [],
"type": "FUNCTION"
},
{
"brief": "get far z",
"description": "get far z",
Expand Down
2 changes: 1 addition & 1 deletion _data/ref/stable/dmStringFunc.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
},
{
"brief": "Size-bounded string concatenation.",
"description": "Size-bounded string concatenation. Same as OpenBSD 2.4 <a href=\"http://www.manpagez.com/man/3/strlcat\">strlcat</a>.\nAppends src to string dst of size siz (unlike strncat, siz is the full size of dst, not space left).\nAt most siz-1 characters will be copied. Always NUL terminates (unless siz == 0).\nReturns strlen(src); if retval &gt;= siz, truncation occurred.",
"description": "Size-bounded string concatenation. Same as OpenBSD 2.4 <a href=\"http://www.manpagez.com/man/3/strlcat\">strlcat</a>.\nAppends src to string dst of size siz (unlike strncat, siz is the full size of dst, not space left).\nAt most siz-1 characters will be copied. Always NUL terminates (unless siz == 0).\nReturns strlen(dst) + strlen(src); if retval &gt;= siz, truncation occurred.",
"error": "",
"examples": "<div class=\"codehilite\"><pre><span></span><code><span class=\"k\">const</span><span class=\"w\"> </span><span class=\"kt\">char</span><span class=\"o\">*</span><span class=\"w\"> </span><span class=\"n\">src</span><span class=\"w\"> </span><span class=\"o\">=</span><span class=\"w\"> </span><span class=\"s\">&quot;foo&quot;</span><span class=\"p\">;</span><span class=\"w\"></span>\n<span class=\"kt\">char</span><span class=\"w\"> </span><span class=\"n\">dst</span><span class=\"p\">[</span><span class=\"mi\">3</span><span class=\"p\">]</span><span class=\"w\"> </span><span class=\"o\">=</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\"> </span><span class=\"mi\">0</span><span class=\"w\"> </span><span class=\"p\">};</span><span class=\"w\"></span>\n<span class=\"n\">dmStrlCat</span><span class=\"p\">(</span><span class=\"n\">dst</span><span class=\"p\">,</span><span class=\"w\"> </span><span class=\"n\">src</span><span class=\"p\">,</span><span class=\"w\"> </span><span class=\"k\">sizeof</span><span class=\"p\">(</span><span class=\"n\">dst</span><span class=\"p\">));</span><span class=\"w\"> </span><span class=\"c1\">// dst = &quot;fo&quot;</span>\n</code></pre></div>",
"language": "",
Expand Down
23 changes: 23 additions & 0 deletions _data/ref/stable/dmTime.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
{
"elements": [
{
"brief": "get monotonic time in microseconds",
"description": "Get monotonic time in microseconds since some unspecified starting point.",
"error": "",
"examples": "",
"language": "",
"members": [],
"name": "dmTime::GetMonotonicTime",
"notes": [],
"parameters": [],
"replaces": "",
"returnvalues": [
{
"doc": "Monotonic time in microseconds",
"name": "result",
"types": [
"uint64_t"
]
}
],
"tparams": [],
"type": "FUNCTION"
},
{
"brief": "get current time in microseconds",
"description": "Get current time in microseconds since Jan. 1, 1970.",
Expand Down
Loading

0 comments on commit e985e03

Please sign in to comment.