Skip to content

Commit 26597c1

Browse files
ntocmassiot
authored andcommitted
luajit: add type definitions for upipe-pthread
1 parent e6b733d commit 26597c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

luajit/upipe.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ ffi.cdef [[
1515

1616
// time.h
1717
typedef long time_t;
18+
19+
// pthread.h
20+
typedef unsigned long pthread_t;
21+
typedef union pthread_attr_t pthread_attr_t;
1822
]]
1923

2024
require "libupipe"

0 commit comments

Comments
 (0)