Add more hello-wuffs-c commentary

This commit is contained in:
Nigel Tao committed 2022-01-01 16:36:33 +11:00
1 parent 0a8bded7f3
commit f3a7288357
5 files changed
+83 -25

No files matched your search

+2 -4
View File
@@ -12,14 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------
#include <inttypes.h>
#include <stdio.h>
#include <string.h>
// See naive-parse.c and wuffs-parse.c for implementations of this function
uint32_t parse(char *, size_t);
// See naive-parse.c and wuffs-parse.c for implementations of this function.
uint32_t parse(char*, size_t);
void run(char* p) {
size_t n = strlen(p) + 1; // +1 for the trailing NUL that ends a C string.