Changeset 99
- Timestamp:
- 09/24/2006 16:07:16 (2 years ago)
- Location:
- trunk/ext/sand_table
- Files:
-
- 2 modified
-
sand_table.c (modified) (1 diff)
-
sand_table.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ext/sand_table/sand_table.c
r98 r99 434 434 go->argv = NULL; 435 435 go->kit = kit; 436 } 437 438 VALUE 439 sandbox_perform(kit, action, arg) 440 sandkit *kit; 441 VALUE (*action)(); 442 VALUE arg; 443 { 444 go_cart go; 445 sandbox_begin(kit, &go); 446 return rb_ensure(action, arg, sandbox_finish, (VALUE)&go); 436 447 } 437 448 -
trunk/ext/sand_table/sand_table.h
r91 r99 175 175 176 176 VALUE sandbox_module_new(sandkit *); 177 VALUE sandbox_perform(sandkit *, VALUE (*)(), VALUE); 177 178 VALUE sandbox_dummy(); 178 179 VALUE sandbox_define_module_id(sandkit *, ID);
