Jason Kankiewicz
5e37ebfed0
Add AMchangesInit()
for @rkuhn in #411 .
...
Expose `automerge::AutoCommit::with_actor()` through `AMcreate()`.
Add notes to clarify the purpose of `AMfreeStack()`, `AMpop()`,
`AMpush()`, `AMpushCallback()`, and `AMresultStack`.
2022-08-23 05:34:45 -07:00
Jason Kankiewicz
3ddde2fff2
Normalize the header include statement for all C
...
source files.
Normalize the header include statement within the documentation.
Limit `AMpush()` usage within the quickstart example to variable
assignment.
2022-08-22 22:28:23 -07:00
Jason Kankiewicz
a22bcb916b
Promoted ResultStack
/StackNode
from the
...
quickstart example up to the library as `AMresultStack` so that it can
appear in the README.md and be used to simplify the unit tests.
Promoted `free_results()` to `AMfreeStack()` and `push()` to `AMpush()`.
Added `AMpop()` because no stack should be without one.
2022-07-25 00:50:40 -07:00
Jason Kankiewicz
eb462cb228
Made free_results()
reset the stack pointer.
2022-06-20 15:55:31 -07:00
Jason Kankiewicz
770c064978
Made cosmetic changes to the quickstart example.
2022-06-20 13:45:32 -07:00
Jason Kankiewicz
7bdf726ce1
Sublimated memory management in the quickstart
...
example.
2022-06-20 02:07:33 -07:00
Jason Kankiewicz
92d6fff22f
Compensate for the removal of the AMchanges.ptr
...
member.
2022-06-05 14:28:33 -07:00
Jason Kankiewicz
92f3efd6e0
Removed the 0
argument from AMresultValue()
...
calls.
2022-06-04 22:31:15 -07:00
Jason Kankiewicz
ca383f03e4
Wrapped all newly-allocated values in an AMresult
struct.
...
Removed `AMfree()`.
Renamed `AMresultFree()` to `AMfree()`.
Removed type names from brief descriptions.
2022-06-01 23:10:23 -07:00
Jason Kankiewicz
a31a65033f
Renamed AMfreeResult()
to AMresultFree()
.
...
Renamed `AMfreeDoc()` to `AMfree()`.
Renamed `AMnextChange()` to `AMchangesNext()`.
Renamed `AMgetMessage()` to `AMchangeMessage()`.
2022-05-30 22:08:27 -07:00
Jason Kankiewicz
fdd3880bd3
Renamed AMalloc()
to AMcreate()
.
...
Renamed `AMload()` to `AMloadIncremental()`.
Added the `AMload()` function.
2022-05-07 09:55:05 -05:00
Jason Kankiewicz
b56464c2e7
Switched to C comment delimiting.
2022-05-06 04:59:47 -05:00
Jason Kankiewicz
eb3155e49b
Sorted main()
to the top. Documented test()
.
2022-05-06 04:50:02 -05:00
Jason Kankiewicz
944e5d8001
Trap and report all errors.
2022-05-05 21:21:46 -05:00
Jason Kankiewicz
729752dac2
De-emphasized the AMload()
call's result.
2022-05-04 08:27:15 -05:00
Jason Kankiewicz
3cf990eabf
Fixed some minor inconsistencies in quickstart.c
.
2022-05-04 07:45:05 -05:00
Jason Kankiewicz
30b220d9b7
Added a port of the Rust quickstart example.
2022-05-04 01:04:43 -05:00