lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
# Returns an Array of String representing the different flags set
Returns an Array of String representing the different flags set
Returns an Array of String representing the different flags set
def names
        fs = []
        %w( READ_WRITE WRITE_ONLY READ_ONLY USE_HOST_PTR ALLOC_HOST_PTR COPY_HOST_PTR HOST_WRITE_ONLY HOST_READ_ONLY HOST_NO_ACCESS ).each { |f|
          fs.push(f) if self.include?( self.class.const_get(f) )
        }
        return fs
      end
def names fs = [ ] %w( READ_WRITE WRITE_ONLY READ_ONLY USE_HOST_PTR ALLOC_HOST_PTR COPY_HOST_PTR HOST_WRITE_ONLY HOST_READ_ONLY HOST_NO_ACCESS ) . each { | f | fs . push ( f ) if self . include? ( self . class . const_get ( f ) ) } return fs end
Returns an Array of String representing the different flags set
Returns an Array of String representing the different flags set