File: compat.h

package info (click to toggle)
ruby-ncurses 1.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 704 kB
  • sloc: ansic: 4,839; ruby: 1,005; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 146 bytes parent folder | download
1
2
3
4
5
6
7
8
#ifndef _COMPAT_H
#define _COMPAT_H

#ifndef STR2CSTR
#define STR2CSTR(x) ({ VALUE *y = (x); StringValuePtr(y); })
#endif

#endif /* _COMPAT_H */