Displaying 4 results from an estimated 4 matches for "attr_kind".
2019 Mar 14
4
[RFC] We are running out of slots in the Attribute::AttrKind enum
...ind enum.
We are limited to 63 slots in the AttrKind enum because it is represented in the bitcode with a 64-bit bitmask. There is only one free slot left and I don't want to use it for a target-dependent attribute. I had anticipated that only target-independent attributes would have analogous ATTR_KIND identifiers in the AtttrKind enum, yet the ARM-specific CMSE_NS_CALL and CMSE_NS_ENTRY occupy slots in the AttrKind enum.
Can someone point me to an example of a target-dependent attribute represented in the LLVM IR that does not occupy a slot in the AttrKind enum?
Thanks,
Todd Snider
----------...
2008 Jan 28
4
GridTableBase
...39;m using wxruby 1.9.4 with Grid and the model class: "GridTableBase"
like in the code below. But the method set_table of the grid does''nt
work. Can anyone help me?
require ''wx''
include Wx
class MyGridTableBase < GridTableBase
def get_attr row, col, attr_kind
##
end
def get_number_rows
0
end
def get_number_cols
0
end
def get_col_label_value col
return "empty"
end
def is_empty_cell row, col
return false
end
def get_value row, col
return "empty&q...
2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem.
In my application I have a few Grid objects in a Notebook. The Grid objects
are populated via GridTableBase. Certain Grid cells need to have a choice
interface (I''m artificially enforcing foreign key constraints). All this
works to the point where you try to edit the value for that cell. The
choice box renders (i.e. the drop down arrow appears) then the application
2010 Feb 24
3
Mouse wheel events in a grid cell editor?
I''m trying to do some advanced editing using Grids. I''ve created my own
editors and updating view and model both works fine so far. Thanks to
whoever made this possible. I like wxRuby more each day!
Now I''d like to catch mousewheel events in order to increment/decrement
a grid cell editor.
I''ve tried installing a handler in begin_edit of my editor and removing