Skip to content

Commit

Permalink
Fix collection
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoNex committed Feb 9, 2024
1 parent 303cb38 commit 23410bc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion internal/obj/builtins.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
#include <string.h>
#include <errno.h>
#include <math.h>
#include "object.h"
#include "plugin.h"
#include "object.h"
#include "../vm/gc.h"

struct object new_builtin_obj(struct object (*builtin)(struct object *args, size_t len)) {
return (struct object) {
Expand Down
2 changes: 1 addition & 1 deletion internal/obj/bytes.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "object.h"
#include "../vm/gc.h"

char *bytes_str(struct object o) {
size_t slen = o.data.bytes->len * 5 + 3;
Expand Down
1 change: 0 additions & 1 deletion internal/obj/error.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "object.h"
Expand Down
1 change: 0 additions & 1 deletion internal/obj/pipe.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdlib.h>
#include <stdio.h>
#include "../vm/thrd.h"
#include "object.h"
#include "../vm/gc.h"

Expand Down

0 comments on commit 23410bc

Please sign in to comment.