To load: | (require (planet synx/sizeof:1:3)) |
Old style: | (require (planet "main.ss" ("synx" "sizeof.plt" 1 3))) |
Package description: | Size of arbitrary C types |
Downloads this week: | 0 |
Total downloads: | 72 |
Tickets: | 0 |
Open tickets: | 0 |
Primary files: | [no interface available] |
Current version |
PLaneT version | External version | Source | DLs | Docs | Req. PLT | Date added |
(1 3) | — | [browse] | 12 | [none] | [none] | 2009-03-14 |
To load: (require (planet synx/sizeof:1:3)) | ||||||
Available in repositories: 4.x, 3xx | ||||||
Sizeof arbitrary C typesThis module calculates the size of things, as understood by the C compiler. It does so by the name of the type understood by the compiler, and that can be any name, so if you need to know the size of a weird type, use this. Otherwise ctype-sizeof is probably more to your liking. SLIGHT BUG: if for some weird reason the source file isn't written right (should never happen) but it still links (yikes!) then you'll have to restart drscheme to get rid of the bad library. (ffi-lib) refuses to dlclose anything so once you (ffi-lib) a certain library file, you can't refresh it in any sensible manner. |
Old versions |
PLaneT version | External version | Source | DLs | Docs | Req. PLT | Date added |
(1 2) | — | [browse] | 1 | [none] | [none] | 2009-03-14 |
To load: (require (planet "main.ss" ("synx" "sizeof.plt" 1 (= 2)))) | ||||||
Available in repositories: 4.x, 3xx | ||||||
Sizeof arbitrary C typesThis module calculates the size of things, as understood by the C compiler. It does so by the name of the type understood by the compiler, and that can be any name, so if you need to know the size of a weird type, use this. Otherwise ctype-sizeof is probably more to your liking. SLIGHT BUG: if for some weird reason the source file isn't written right (should never happen) but it still links (yikes!) then you'll have to restart drscheme to get rid of the bad library. (ffi-lib) refuses to dlclose anything so once you (ffi-lib) a certain library file, you can't refresh it in any sensible manner. | ||||||
(1 1) | — | [browse] | 0 | [none] | [none] | 2009-03-14 |
To load: (require (planet "main.ss" ("synx" "sizeof.plt" 1 (= 1)))) | ||||||
Available in repositories: 3xx, 4.x | ||||||
Sizeof arbitrary C typesThis module calculates the size of things, as understood by the C compiler. It does so by the name of the type understood by the compiler, and that can be any name, so if you need to know the size of a weird type, use this. Otherwise ctype-sizeof is probably more to your liking. SLIGHT BUG: if for some weird reason the source file isn't written right (should never happen) but it still links (yikes!) then you'll have to restart drscheme to get rid of the bad library. (ffi-lib) refuses to dlclose anything so once you (ffi-lib) a certain library file, you can't refresh it in any sensible manner. |
Packages in other repositories |
These packages are not available in the 3xx repository, but they are available for other versions of Racket.
PLaneT version | External version | Source | DLs | Docs | Req. PLT | Date added |
(2 0) | — | [browse] | 59 | [none] | [none] | 2009-03-17 |
To load: (require (planet "main.ss" ("synx" "sizeof.plt" 2 (= 0)))) | ||||||
Available in repositories: 4.x | ||||||
Sizeof arbitrary C typesThis module calculates the size of things, as understood by the C compiler. It does so by the name of the type understood by the compiler, and that can be any name, so if you need to know the size of a weird type, use this. Otherwise ctype-sizeof is probably more to your liking. As per eli's suggestions the standard interface to sizeof now happens in the syntax phase (phase 1), so that if people on certain unfriendly operating systems use this module then send the compiled bytecode to their friends, only the person compiling needs to also have a C compiler. Their friends just have to have the exact same operating system version and address size. SLIGHT BUG: if for some weird reason the source file isn't written right (should never happen) but it still links (yikes!) then you'll have to restart drscheme to get rid of the bad library. (ffi-lib) has no interface to dlclose anything so once you (ffi-lib) a certain library file, you can't refresh it in any sensible manner. | ||||||
(1 0) | — | [browse] | 0 | [none] | [none] | 2009-03-14 |
To load: (require (planet "main.ss" ("synx" "sizeof.plt" 1 (= 0)))) | ||||||
Available in repositories: 4.x | ||||||
Sizeof arbitrary C types This module calculates the size of things, as understood by the C compiler. It does so by the name of the type understood by the compiler, and that can be any name, so if you need to know the size of a weird type, use this. Otherwise ctype-sizeof is probably more to your liking. SLIGHT BUG: if for some weird reason the source file isn't written right (should never happen) but it still links (yikes!) then you'll have to restart drscheme to get rid of the bad library. (ffi-lib) refuses to dlclose anything so once you (ffi-lib) a certain library file, you can't refresh it in any sensible manner. |