Re: [pypy-dev] Request to make `makedev`, `major` and `minor` macros

2016-12-06 Thread John Zhang
Thanks Armin! I will keep my eyes open for other cases and let you know. :) Cheers, John Zhang -- John Zhang Research Assistant Programming Languages, Design & Implementation Division Computer Systems Group ANU College of Engineering & Computer

Re: [pypy-dev] Request to make `makedev`, `major` and `minor` macros

2016-12-06 Thread Armin Rigo
Hi John, On 6 December 2016 at 08:20, John Zhang wrote: > I would like to request making the definitions of > `rpython.rlib.rposix.c_makedev/c_major/c_minor` include explicit macro > functions, i.e., passing `macro=_MACRO_ON_POSIX` to the `rffi.llexternal` > function.

Re: [pypy-dev] Request to make `makedev`, `major` and `minor` macros

2016-12-06 Thread John Zhang
Forgot the attachment, sorry! -- John Zhang Research Assistant Programming Languages, Design & Implementation Division Computer Systems Group ANU College of Engineering & Computer Science 108 North Rd The Australian National University Acton ACT

[pypy-dev] Request to make `makedev`, `major` and `minor` macros

2016-12-06 Thread John Zhang
Hi all (Armin?), I would like to request making the definitions of `rpython.rlib.rposix.c_makedev/c_major/c_minor` include explicit macro functions, i.e., passing `macro=_MACRO_ON_POSIX` to the `rffi.llexternal` function. These functions are macros on both Linux and macOS (the comment above the