#include "ruby.h"
#include "sdbm.h"
#include <fcntl.h>
#include <errno.h>
Go to the source code of this file.
◆ GetDBM
#define GetDBM |
( |
|
obj, |
|
|
|
dbmp |
|
) |
| |
Value:do {\
TypedData_Get_Struct((obj),
struct dbmdata, &sdbm_type, (dbmp));\
if ((dbmp) == 0) closed_sdbm();\
if ((dbmp)->di_dbm == 0) closed_sdbm();\
} while (0)
if(len<=MAX_WORD_LENGTH &&len >=MIN_WORD_LENGTH)
Definition at line 80 of file init.c.
◆ GetDBM2
#define GetDBM2 |
( |
|
obj, |
|
|
|
dbmp, |
|
|
|
dbm |
|
) |
| |
Value:do {\
GetDBM((obj), (dbmp));\
(dbm) = (dbmp)->di_dbm;\
} while (0)
Definition at line 86 of file init.c.
◆ Init_sdbm()