Displaying 4 results from an estimated 4 matches for "someotherclass".
2007 Sep 26
0
activerecord multiple databases
...ActiveRecord::Base
self.establish_connection(Project::DBCONFIG[''db2''])
end
end
module ClassMethods
module SomeClassName
def long_query(name)
r = find_by_sql ["SELECT ...",name]
r.first unless r.empty?
end
end
module SomeOtherClass
def long_query(number)
r = find_by_sql ["SELECT ...",name]
r.first unless r.empty?
end
end
end
end
module DB1
class SomeClassName < Project::ConnectionFactory::DB1
set_table_name "thetable"
extend Project::ClassMethods::SomeClassN...
2009 Jun 16
1
[LLVMdev] runtime library for jitted code
...ed project? In any case I think it won't be difficult for me to write
> such a converter from mangled names to LLVM function declarations.
As long as the functions' arguments an return types are simple enough,
it seems doable. But have you something in mind for cases such as
AClass foo(SomeOtherClass other);
?
--
Óscar
2009 Jun 16
0
[LLVMdev] runtime library for jitted code
Hi,
The question about the name mangling gave me an idea that it can be used to
automate registration of DLL functions. Instead of manually creating
Function objects specifying a return type and argument types which is
error-prone and time-consuming one can get a list of functions exported from
a DLL using Windows API, demangle each name and construct a Function object
from it. Is there any
2009 Jun 15
4
[LLVMdev] runtime library for jitted code
Albert Graef <Dr.Graef at t-online.de> writes:
> Victor Zverovich wrote:
>> I am considering a possibility of using LLVM JIT for an algebraic
>> modelling language. I have already done some prototyping following the
>> Kaleidoscope tutorial and currently thinking of how to connect the
>> jitted code to a runtime library (for this language) which I would like