writer (C)

    # File lib/inline.rb, line 461
        def writer(method, type, member = method)
          raise "struct name not set for writer #{method} #{type}" unless
            @struct_name

          c "VALUE \#{method}_equals(VALUE value) {\n\#{@struct_name} *pointer;\n\nData_Get_Struct(self, \#{@struct_name}, pointer);\n\npointer->\#{member} = \#{ruby2c type}(value);\n\nreturn value;\n}\n"
        end