Skip to content

Commit c3e647f

Browse files
Site changes [skip-ci]
1 parent b778c65 commit c3e647f

File tree

153 files changed

+78191
-66112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+78191
-66112
lines changed

_data/ref/stable/dmalign-cpp.json renamed to _data/ref/stable/align-cpp.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
"parameters": [
1313
{
1414
"doc": "value to align",
15+
"is_optional": "False",
1516
"name": "x",
1617
"types": [
1718
"int"
1819
]
1920
},
2021
{
2122
"doc": "alignment boundary",
23+
"is_optional": "False",
2224
"name": "a",
2325
"types": [
2426
"int"
@@ -42,6 +44,7 @@
4244
"parameters": [
4345
{
4446
"doc": "number of bytes to align to",
47+
"is_optional": "False",
4548
"name": "a",
4649
"types": [
4750
"int"
@@ -58,12 +61,11 @@
5861
"brief": "SDK Align API documentation",
5962
"description": "Alignment macros. Use for compiler compatibility",
6063
"file": "dmsdk/dlib/align.h",
61-
"group": "DEFOLD SDK",
6264
"language": "C++",
6365
"name": "Align",
64-
"namespace": "dmAlign",
66+
"namespace": "Align",
6567
"notes": [],
66-
"path": "engine/dlib/src/dmsdk/dlib/align.h",
68+
"path": "dmsdk/dlib/align.h",
6769
"type": "Defold C++"
6870
}
6971
}

_data/ref/stable/dmarray-cpp.json renamed to _data/ref/stable/array-cpp.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
"parameters": [
128128
{
129129
"doc": "[type:]",
130+
"is_optional": "False",
130131
"name": "Array",
131132
"types": [
132133
""
@@ -194,20 +195,23 @@
194195
"parameters": [
195196
{
196197
"doc": "User-allocated array to be used as storage.",
198+
"is_optional": "False",
197199
"name": "user_array",
198200
"types": [
199201
"T*"
200202
]
201203
},
202204
{
203205
"doc": "Initial size",
206+
"is_optional": "False",
204207
"name": "size",
205208
"types": [
206209
"uint32_t"
207210
]
208211
},
209212
{
210213
"doc": "Initial capacity",
214+
"is_optional": "False",
211215
"name": "capacity",
212216
"types": [
213217
"uint32_t"
@@ -231,27 +235,31 @@
231235
"parameters": [
232236
{
233237
"doc": "User-allocated array to be used as storage.",
238+
"is_optional": "False",
234239
"name": "user_array",
235240
"types": [
236241
"T*"
237242
]
238243
},
239244
{
240245
"doc": "Initial size",
246+
"is_optional": "False",
241247
"name": "size",
242248
"types": [
243249
"uint32_t"
244250
]
245251
},
246252
{
247253
"doc": "Initial capacity",
254+
"is_optional": "False",
248255
"name": "capacity",
249256
"types": [
250257
"uint32_t"
251258
]
252259
},
253260
{
254261
"doc": "If false, the ownership is transferred to the dmArray",
262+
"is_optional": "False",
255263
"name": "user_allocated",
256264
"types": [
257265
"bool"
@@ -344,6 +352,7 @@
344352
"parameters": [
345353
{
346354
"doc": "index of the element to remove",
355+
"is_optional": "False",
347356
"name": "index",
348357
"types": [
349358
"uint32_t"
@@ -375,6 +384,7 @@
375384
"parameters": [
376385
{
377386
"doc": "reference to the element to remove.",
387+
"is_optional": "False",
378388
"name": "element",
379389
"types": [
380390
"T&"
@@ -475,13 +485,15 @@
475485
"parameters": [
476486
{
477487
"doc": "function that will be called for each element",
488+
"is_optional": "False",
478489
"name": "fn",
479490
"types": [
480491
""
481492
]
482493
},
483494
{
484495
"doc": "user defined context that will be passed in with each callback",
496+
"is_optional": "False",
485497
"name": "ctx",
486498
"types": [
487499
""
@@ -505,6 +517,7 @@
505517
"parameters": [
506518
{
507519
"doc": "relative amount of elements to change the capacity",
520+
"is_optional": "False",
508521
"name": "offset",
509522
"types": [
510523
"uint32_t"
@@ -528,6 +541,7 @@
528541
"parameters": [
529542
{
530543
"doc": "array index",
544+
"is_optional": "False",
531545
"name": "index",
532546
"types": [
533547
"uint32_t"
@@ -559,6 +573,7 @@
559573
"parameters": [
560574
{
561575
"doc": "array index",
576+
"is_optional": "False",
562577
"name": "index",
563578
"types": [
564579
"uint32_t"
@@ -605,6 +620,7 @@
605620
"parameters": [
606621
{
607622
"doc": "element element to add",
623+
"is_optional": "False",
608624
"name": "element",
609625
"types": [
610626
"const T&"
@@ -628,13 +644,15 @@
628644
"parameters": [
629645
{
630646
"doc": "array of elements to add",
647+
"is_optional": "False",
631648
"name": "array",
632649
"types": [
633650
"const T&"
634651
]
635652
},
636653
{
637654
"doc": "amount of elements in the array",
655+
"is_optional": "False",
638656
"name": "count",
639657
"types": [
640658
"uint32_t"
@@ -681,6 +699,7 @@
681699
"parameters": [
682700
{
683701
"doc": "capacity of the array",
702+
"is_optional": "False",
684703
"name": "capacity",
685704
"types": [
686705
"uint32_t"
@@ -704,6 +723,7 @@
704723
"parameters": [
705724
{
706725
"doc": "size of the array, must be less or equal to the capacity",
726+
"is_optional": "False",
707727
"name": "size",
708728
"types": [
709729
"uint32_t"
@@ -750,6 +770,7 @@
750770
"parameters": [
751771
{
752772
"doc": "reference to array to swap content with",
773+
"is_optional": "False",
753774
"name": "rhs",
754775
"types": [
755776
"dmArray`<T>`&"
@@ -779,14 +800,13 @@
779800
],
780801
"info": {
781802
"brief": "Templatized array",
782-
"description": "Templatized array with bounds checking.\nThe backing storage is either auto-allocated (dynamically allocated) or user-allocated (supplied by user).\nWith exception of changing the size and capacity, all operations are guaranteed to be O(1).\n<div class=\"codehilite\"><pre><span></span><code><span class=\"n\">dmArray</span><span class=\"o\">&lt;</span><span class=\"kt\">int</span><span class=\"o\">&gt;</span><span class=\"w\"> </span><span class=\"n\">a</span><span class=\"p\">;</span><span class=\"w\"></span>\n<span class=\"n\">a</span><span class=\"p\">.</span><span class=\"n\">SetCapacity</span><span class=\"p\">(</span><span class=\"mi\">1</span><span class=\"p\">);</span><span class=\"w\"></span>\n<span class=\"n\">a</span><span class=\"p\">.</span><span class=\"n\">Push</span><span class=\"p\">(</span><span class=\"mi\">1</span><span class=\"p\">);</span><span class=\"w\"></span>\n<span class=\"kt\">int</span><span class=\"w\"> </span><span class=\"n\">b</span><span class=\"w\"> </span><span class=\"o\">=</span><span class=\"w\"> </span><span class=\"n\">a</span><span class=\"p\">[</span><span class=\"mi\">0</span><span class=\"p\">];</span><span class=\"w\"></span>\n</code></pre></div>",
803+
"description": "Templatized array with bounds checking.\n\nThe backing storage is either auto-allocated (dynamically allocated) or user-allocated (supplied by user).\nWith exception of changing the size and capacity, all operations are guaranteed to be O(1).\n\n```cpp\ndmArray<int> a;\na.SetCapacity(1);\na.Push(1);\nint b = a[0];\n```",
783804
"file": "dmsdk/dlib/array.h",
784-
"group": "DEFOLD SDK",
785805
"language": "C++",
786806
"name": "Array",
787-
"namespace": "dmArray",
807+
"namespace": "Array",
788808
"notes": [],
789-
"path": "engine/dlib/src/dmsdk/dlib/array.h",
809+
"path": "dmsdk/dlib/array.h",
790810
"type": "Defold C++"
791811
}
792812
}

_data/ref/stable/dmatomic-cpp.json renamed to _data/ref/stable/atomic-cpp.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
"parameters": [
1313
{
1414
"doc": "Pointer to an int32_atomic_t to add to.",
15+
"is_optional": "False",
1516
"name": "ptr",
1617
"types": [
1718
"int32_atomic_t*"
1819
]
1920
},
2021
{
2122
"doc": "Value to add.",
23+
"is_optional": "False",
2224
"name": "value",
2325
"types": [
2426
"int32_t"
@@ -50,20 +52,23 @@
5052
"parameters": [
5153
{
5254
"doc": "Pointer to an int32_atomic_t to store into.",
55+
"is_optional": "False",
5356
"name": "ptr",
5457
"types": [
5558
"int32_atomic_t*"
5659
]
5760
},
5861
{
5962
"doc": "Value to set.",
63+
"is_optional": "False",
6064
"name": "value",
6165
"types": [
6266
"int32_t"
6367
]
6468
},
6569
{
6670
"doc": "Value to compare to.",
71+
"is_optional": "False",
6772
"name": "comparand",
6873
"types": [
6974
"int32_t"
@@ -95,6 +100,7 @@
95100
"parameters": [
96101
{
97102
"doc": "Pointer to an int32_atomic_t to decrement.",
103+
"is_optional": "False",
98104
"name": "ptr",
99105
"types": [
100106
"int32_atomic_t*"
@@ -128,6 +134,7 @@
128134
"parameters": [
129135
{
130136
"doc": "Pointer to an int32_atomic_t to get from.",
137+
"is_optional": "False",
131138
"name": "ptr",
132139
"types": [
133140
"int32_atomic_t*"
@@ -159,6 +166,7 @@
159166
"parameters": [
160167
{
161168
"doc": "Pointer to an int32_atomic_t to increment.",
169+
"is_optional": "False",
162170
"name": "ptr",
163171
"types": [
164172
"int32_atomic_t*"
@@ -190,13 +198,15 @@
190198
"parameters": [
191199
{
192200
"doc": "Pointer to an int32_atomic_t to store into.",
201+
"is_optional": "False",
193202
"name": "ptr",
194203
"types": [
195204
"int32_atomic_t*"
196205
]
197206
},
198207
{
199208
"doc": "Value to set.",
209+
"is_optional": "False",
200210
"name": "value",
201211
"types": [
202212
"int32_t"
@@ -228,13 +238,15 @@
228238
"parameters": [
229239
{
230240
"doc": "Pointer to an int32_atomic_t to subtract from.",
241+
"is_optional": "False",
231242
"name": "ptr",
232243
"types": [
233244
"int32_atomic_t*"
234245
]
235246
},
236247
{
237248
"doc": "Value to subtract.",
249+
"is_optional": "False",
238250
"name": "value",
239251
"types": [
240252
"int32_t"
@@ -274,12 +286,11 @@
274286
"brief": "Atomic functions",
275287
"description": "Atomic functions",
276288
"file": "dmsdk/dlib/atomic.h",
277-
"group": "DEFOLD SDK",
278289
"language": "C++",
279290
"name": "Atomic",
280-
"namespace": "dmAtomic",
291+
"namespace": "Atomic",
281292
"notes": [],
282-
"path": "engine/dlib/src/dmsdk/dlib/atomic.h",
293+
"path": "dmsdk/dlib/atomic.h",
283294
"type": "Defold C++"
284295
}
285296
}

_data/ref/stable/b2d-lua.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"parameters": [
1313
{
1414
"doc": "the url to the game object collision component",
15+
"is_optional": "False",
1516
"name": "url",
1617
"types": [
1718
"string",
@@ -61,12 +62,11 @@
6162
"brief": "Box2D documentation",
6263
"description": "Functions for interacting with Box2D.",
6364
"file": "",
64-
"group": "SYSTEM",
6565
"language": "Lua",
6666
"name": "b2d",
6767
"namespace": "b2d",
6868
"notes": [],
69-
"path": "",
69+
"path": "scripts/box2d/script_box2d.cpp",
7070
"type": "Defold Lua"
7171
}
7272
}

0 commit comments

Comments
 (0)