| Revision: | 1.1 |
| Committed: | Tue Oct 11 22:06:24 2005 UTC (20 years, 11 months ago) by root |
| Content type: | text/plain |
| Branch: | MAIN |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | root | 1.1 | #include "cpjit.h" |
| 2 | |||
| 3 | #include <iostream> | ||
| 4 | |||
| 5 | using namespace cpjit; | ||
| 6 | using namespace std; | ||
| 7 | |||
| 8 | int main (void) | ||
| 9 | { | ||
| 10 | env e; | ||
| 11 | |||
| 12 | funbuild2<U32, F32 *, U64> fb (e); | ||
| 13 | |||
| 14 | fb << "return a1[0] + a2;"; | ||
| 15 | |||
| 16 | fun2<U32, F32 *, U64> *f = fb.get (); | ||
| 17 | |||
| 18 | cout << f->source; | ||
| 19 | return 0; | ||
| 20 | } |