예제 #1
0
파일: tsk.cpp 프로젝트: uckelman/fsrip
std::string  Image::desc() const {
  return std::string(tsk_img_type_todesc(Img->itype)); // utf8?
}
예제 #2
0
파일: image.c 프로젝트: Lorrie/RubyTSK
// helper methods
VALUE image_type_to_desc(VALUE self, VALUE num) {
  const char * description;
  description = tsk_img_type_todesc((TSK_IMG_TYPE_ENUM)FIX2INT(num));
  return rb_str_new2(description);
}