Sha256: 8fc9f60e83a3e4cc4c7f7a4be5a39dc971277b3e0e3426fe3e64c8118f272641
Contents?: true
Size: 393 Bytes
Versions: 7
Compression:
Stored size: 393 Bytes
Contents
puts <<-header %readonly-tables %enum %define lookup-function-name mochilo_encoding_to_id %define hash-function-name mochilo_encoding_hash %struct-type struct mochilo_enc_map { const char *name; uint8_t id; } %% header encodings = Encoding.list.reject {|e| e.name == 'ASCII-8BIT'} encodings.each do |encoding| puts "#{encoding.name}, MSGPACK_ENC_#{encoding.name.gsub('-', '_').upcase}" end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
mochilo-2.1 | genperf.rb |
mochilo-1.3.0 | genperf.rb |
mochilo-1.2.1 | genperf.rb |
mochilo-1.2 | genperf.rb |
mochilo-2.0 | genperf.rb |
mochilo-1.1 | genperf.rb |
mochilo-1.0 | genperf.rb |