Displaying 8 results from an estimated 8 matches for "function_1".
Did you mean:
function1
2008 Oct 06
1
Accessing Oracle Package in models
Hi All,
Just wanted to know if we can write models for the Oracle packages.
Like, if I have an oracle package named "user_pkg", and a function
function_1 in it, can I have a model under the name "UserPkg" and then
access the function "function_1", in it.
If creating a model is not the right way, how to access those packages
in the models?
Regards,
Anand.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------...
2004 Mar 31
2
[LLVMdev] Function pointers
...here!
I am trying to build a table of 2 function poiters by using an array:
%kernel = alloca [ 2 x int ()* ]
I try to access the first pointer to be able to store location of my first function like this:
%function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long 0
store int ()* %function_1, int ()* %function_pointer_1
But, I get the error message from llvm-asm:
llvm-as: 1.ll:40: Can't store 'int () *' into space of type 'int ()'!
What is my mistake?
Grateful for hints
Anders
----------------------------------------------------------------
Anders Alexandersso...
2004 Mar 31
0
[LLVMdev] Function pointers
...of 2 function poiters by using an array:
>
> %kernel = alloca [ 2 x int ()* ]
>
> I try to access the first pointer to be able to store location of my first function like this:
>
> %function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long 0
>
> store int ()* %function_1, int ()* %function_pointer_1
You just need an extra * here: ^
You're storing a pointer through a pointer to pointers... :)
-Chris
>
> But, I get the error message from llvm-asm:
> llvm-as: 1.ll:40: Can't store 'int () *' into space of type 'int ()'!
>
&g...
2004 Apr 01
1
[LLVMdev] Function pointers
...of 2 function poiters by using an array:
>
> %kernel = alloca [ 2 x int ()* ]
>
> I try to access the first pointer to be able to store location of my first
function like this:
>
> %function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long
0
>
> store int ()* %function_1, int ()* %function_pointer_1
You just need an extra * here: ^
You're storing a pointer through a pointer to pointers... :)
-Chris
>
> But, I get the error message from llvm-asm:
> llvm-as: 1.ll:40: Can't store 'int () *' into space of type 'int ()'!
>
&g...
2004 Apr 02
2
[LLVMdev] Function pointers
...> > %kernel = alloca [ 2 x int ()* ]
> >
> > I try to access the first pointer to be able to store location of my first
> function like this:
> >
> > %function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long
> 0
> >
> > store int ()* %function_1, int ()* %function_pointer_1
>
> You just need an extra * here: ^
>
> You're storing a pointer through a pointer to pointers... :)
>
> -Chris
>
> >
> > But, I get the error message from llvm-asm:
> > llvm-as: 1.ll:40: Can't store 'int () *'...
2004 Apr 02
0
[LLVMdev] Function pointers
...* ]
> > >
> > > I try to access the first pointer to be able to store location of my first
> > function like this:
> > >
> > > %function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long
> > 0
> > >
> > > store int ()* %function_1, int ()* %function_pointer_1
> >
> > You just need an extra * here: ^
> >
> > You're storing a pointer through a pointer to pointers... :)
> >
> > -Chris
> >
> > >
> > > But, I get the error message from llvm-asm:
> > > l...
2004 Apr 02
0
[LLVMdev] Function pointers
...> > %kernel = alloca [ 2 x int ()* ]
> >
> > I try to access the first pointer to be able to store location of my first
> function like this:
> >
> > %function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long
> 0
> >
> > store int ()* %function_1, int ()* %function_pointer_1
>
> You just need an extra * here: ^
>
> You're storing a pointer through a pointer to pointers... :)
>
> -Chris
>
> >
> > But, I get the error message from llvm-asm:
> > llvm-as: 1.ll:40: Can't store 'int () *'...
2004 Apr 02
0
[LLVMdev] Function pointers
...> > %kernel = alloca [ 2 x int ()* ]
> >
> > I try to access the first pointer to be able to store location of my first
> function like this:
> >
> > %function_pointer_1 = getelementptr [2 x int ()* ]* %kernel, long 0, long
> 0
> >
> > store int ()* %function_1, int ()* %function_pointer_1
>
> You just need an extra * here: ^
>
> You're storing a pointer through a pointer to pointers... :)
>
> -Chris
>
> >
> > But, I get the error message from llvm-asm:
> > llvm-as: 1.ll:40: Can't store 'int () *'...