Sha256: ffa25a810dede511b55d11ab3144a4baaeb288fc85e8aeab364fdd750c1361c0
Contents?: true
Size: 400 Bytes
Versions: 9
Compression:
Stored size: 400 Bytes
Contents
%module libc %{ require 'rubygems' require 'ffi' module LibC extend FFI::Library %} typedef unsigned int size_t; struct timeval { unsigned long tv_sec; unsigned long tv_usec; }; size_t strlen (const char *s); char * strcat (char *restrict to, const char *restrict from); int strcmp (const char *s1, const char *s2); int gettimeofday (struct timeval *tp, struct timezone *tzp); %{ end %}
Version data entries
9 entries across 9 versions & 3 rubygems