Skip to content

Commit

Permalink
feat: split out quickjs.c into multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
andycall committed Sep 17, 2022
1 parent cca0433 commit 9ac5d83
Show file tree
Hide file tree
Showing 93 changed files with 60,325 additions and 59,024 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4,368 changes: 4,368 additions & 0 deletions include/quickjs/libunicode-table.h

Large diffs are not rendered by default.

File renamed without changes.
6 changes: 4 additions & 2 deletions list.h → include/quickjs/list.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Linux klist like system
*
*
* Copyright (c) 2016-2017 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -28,6 +28,8 @@
#include <stddef.h>
#endif

#include <stdio.h>

struct list_head {
struct list_head *prev;
struct list_head *next;
Expand All @@ -46,7 +48,7 @@ static inline void init_list_head(struct list_head *head)
}

/* insert 'el' between 'prev' and 'next' */
static inline void __list_add(struct list_head *el,
static inline void __list_add(struct list_head *el,
struct list_head *prev, struct list_head *next)
{
prev->next = el;
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 9ac5d83

Please sign in to comment.