-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from ruby-rice/dev
Dev
- Loading branch information
Showing
8 changed files
with
1,355 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,3 @@ | ||
namespace Rice | ||
{ | ||
} | ||
|
||
namespace Rice::detail | ||
{ | ||
template<> | ||
class To_Ruby<unsigned char**> | ||
{ | ||
public: | ||
VALUE convert(unsigned char** x) | ||
{ | ||
std::runtime_error("To_Ruby unsigned char** is not implemented yet"); | ||
return Qnil; | ||
} | ||
}; | ||
|
||
template<> | ||
class From_Ruby<unsigned char**> | ||
{ | ||
public: | ||
From_Ruby() = default; | ||
|
||
explicit From_Ruby(Arg* arg) : arg_(arg) | ||
{ | ||
} | ||
|
||
Convertible is_convertible(VALUE value) | ||
{ | ||
std::runtime_error("From_Ruby unsigned char** is not implemented yet"); | ||
return Convertible::None; | ||
} | ||
|
||
unsigned char** convert(VALUE value) | ||
{ | ||
std::runtime_error("From_Ruby unsigned char** is not implemented yet"); | ||
return nullptr; | ||
} | ||
|
||
private: | ||
Arg* arg_ = nullptr; | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.