method

parse_signature

ruby latest stable - Class: DL::CParser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

parse_signature(signature, tymap=nil)
public

Parses a C prototype signature

Example:

include DL::CParser
=> Object

parse_signature('double sum(double, double)')
=> ["sum", DL::TYPE_DOUBLE, [DL::TYPE_DOUBLE, DL::TYPE_DOUBLE]]